Commit Graph

634 Commits (5e661d64878ef6992db1c9cf85a4ee696ccadaaa)

Author SHA1 Message Date
ak 12e4f13955 Backup Node 6 years ago
Rongjian Lan 02de04dc39 put StakeInfo into the calcualtion of shard state 6 years ago
Rongjian Lan 8bcab5539b Add Bls Key into staking contract; Let new node to read hard-coded keys 6 years ago
Rongjian Lan 2c1b0d5562 setup initial beacon chain keys 6 years ago
Minh Doan 93da989944 clean up 6 years ago
chao 51d42cc86c fix wallet not working issue 6 years ago
Rongjian Lan b3f56a5bd2 Migrate faucet contract to abi 6 years ago
Rongjian Lan 4cd9a2d101 fix lint, remove go gen 6 years ago
Minh Doan ca25ea657a fix goimports 6 years ago
Minh Doan 9a2cfb9080 change BlsPubKey to ConsensusPubKey and remove unnecessary log 6 years ago
Rongjian Lan 5ad09ffda4 add comment for StakeInfo 6 years ago
Minh Doan a4d3c13a18 rename PubKey to BlsPubKey 6 years ago
Rongjian Lan e2f1e69248 Update CurrentStake by querying stake contract 6 years ago
Rongjian Lan 2a14f5a30e Use solc generated abi and binary 6 years ago
Leo Chen 6a97a6a2f2 fix goimports errors 6 years ago
Leo Chen 742eb6d08e save role of node in nodeconfig module 6 years ago
Minh Doan 2ddff50fd7 add stop all services in service managers except the liveServices list 6 years ago
Minh Doan 885ccf190a add comments and fix imports and add mock generation 6 years ago
Minh Doan 88a1fa8704 add resharding logic 6 years ago
Minh Doan e3aeeb3f98 add stop services logic 6 years ago
Minh Doan 1b20f36b20 beacon chain db to node.go instead of service_setup 6 years ago
Leo Chen c62f15cfb7 shorten timeout for consensus 6 years ago
Rongjian Lan 194a7617c6 Support multiple newnodes 6 years ago
Leo Chen 54f35caf77 check minimal number of peers before sending pong message 6 years ago
Leo Chen 413ae2fd1e add bootnode parameter in networkinfo service 6 years ago
Minh Doan 60a10200c1 we need to pass reference as sync.Map contains mutex 6 years ago
Rongjian Lan eb0af9c05d Use hard coded account for staking 6 years ago
Rongjian Lan 72f75935e7 Make the first staking transaction working on the contract 6 years ago
Leo Chen 42fe29bbf4 implement the GetBeaconSyncingPeer function 6 years ago
Leo Chen 634ada791c add beacon neighbor support 6 years ago
Rongjian Lan ba1e8b4bd6 Add faucet call before staking tx 6 years ago
Rongjian Lan 537c6b289c Fix invalid staking transaction 6 years ago
Leo Chen f3ffc65401 [cleanup] remove libp2p unicast support 6 years ago
Rongjian Lan 18491389be minor change 6 years ago
Leo Chen 96d3363d27 use sync.Map to avoid concurrent map read/write error 6 years ago
Leo Chen 5d5d8caaea [debug] remove excessive logging on receiving messages 6 years ago
chaosma e66aeb4c57
add beaconchain node state syncing (#502) 6 years ago
Leo Chen 4c00052b0a process each message using a goroutine 6 years ago
Minh Doan 269e4f6119 fix private key constant 6 years ago
Leo Chen 9589e2b84e speed up pong messages 6 years ago
Leo Chen ad41838dd6 add log messages to debug consensus issues 6 years ago
Leo Chen d2dfbc3d52 fix travis checker errors 6 years ago
Leo Chen f02ff769d3 only enable randomness service on leader 6 years ago
Leo Chen ba02ec922a update dRand PublicKeys 6 years ago
Leo Chen 656d3fdbe2 make leader field private in consensus/drand 6 years ago
Leo Chen 4cd3415b9f increase consensus timeout 6 years ago
Leo Chen 6a316f009e ignore messages sent to leader only from validator 6 years ago
Rongjian Lan 156f2dc6ae Also move tests for staking_test.go 6 years ago
Rongjian Lan 44129b5c8e More constants to staking.go 6 years ago
Rongjian Lan 8f51d08f41 Reorg staking related code into staking.go 6 years ago