Commit Graph

716 Commits (0880e38ab03d184732e76d02b87468086ed3fa4c)

Author SHA1 Message Date
Rongjian Lan 4dd5039376 Add back missed code for last PR 6 years ago
Rongjian Lan 6044b76068 migrate bls identity from address to public key 6 years ago
Rongjian Lan f72cb43b83 make 1+3 sharded network work locally with deploy.sh 6 years ago
chao 2c6292c40e whole network can restart and resume from previous state 6 years ago
chao 1bedd7dc85 change archival node as a validator; it's more secure for archival node to validate before accept the blocks; 6 years ago
chao 0d5dcfcae3 refactor state syncing; unify state sync and beacon sync (i.e. depends 6 years ago
Leo Chen 78bcab7356 [pong] actively sending pong message 6 years ago
Minh Doan da316a88b1 introduce new message.proto to support demo app. 6 years ago
Minh Doan 41dd25e426 add logic of calling getPlayers and enter 6 years ago
chao ebd5b8e240 replace consensus blsAddr with new syncID for state syncing 6 years ago
chao af8139f1e3 refactor state sync; decouple from consensus 6 years ago
Leo Chen 0f175ad2db [node] fix a crash found in testnet #603 6 years ago
Minh Doan beaa0a84fe clean up technical debt 6 years ago
chao 5acf87ecf2 add stop/restart support; 6 years ago
Rongjian Lan d247eaa52f Fix state sync 6 years ago
ak d0832dbbb1 addressing leo and chao comments 6 years ago
ak dd65bf4673 Archival node setup 6 years ago
Rongjian Lan 1dbb1a9250 remove validator IDs 6 years ago
Minh Doan 5aa72168a8 add demo contract to genesis 6 years ago
Rongjian Lan 8fa84d2230 Setup genesis shard state, and fix other issues 6 years ago
Chao Ma 5496d697da combine wallet/txgen into light client node; 6 years ago
Chao Ma 84fa99008c wallet v2 fix 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
chao 51d42cc86c fix wallet not working issue 6 years ago
Minh Doan 9a2cfb9080 change BlsPubKey to ConsensusPubKey and remove unnecessary log 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 1b20f36b20 beacon chain db to node.go instead of service_setup 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 634ada791c add beacon neighbor support 6 years ago
Rongjian Lan 537c6b289c Fix invalid staking transaction 6 years ago
Leo Chen f3ffc65401 [cleanup] remove libp2p unicast support 6 years ago
Leo Chen 96d3363d27 use sync.Map to avoid concurrent map read/write error 6 years ago
chaosma e66aeb4c57
add beaconchain node state syncing (#502) 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
Rongjian Lan 4a39a7cb96 More reorg on node package 6 years ago
Rongjian Lan 4f63fe6b77 Reorg some of node's code 6 years ago
Rongjian Lan 873e37daac Move contract code to contract.go 6 years ago
Minh Doan e59b6243d6 add ConstructConsensusMessage to the message payload 6 years ago
Minh Doan ebe6a6990c Revert "clean up duplicate funcs" 6 years ago
Minh Doan 624d8c5dff clean up duplicate funcs 6 years ago
Minh Doan 3493dd1bda fix golint and import 6 years ago
Minh Doan 46f478785f fix merge conflict 6 years ago