Commit Graph

432 Commits (d5a3fc0396183d958cdc7da49f7cbc0a70dbdf20)

Author SHA1 Message Date
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
Minh Doan 09eaa8862a fix import and add mock gen code 6 years ago
Minh Doan 3d81d71a03 set up message channels 6 years ago
chaosma 02aa3d6477
add beaconchain database support for normal shard nodes (#480) 6 years ago
Minh Doan d84e65889d fix typos and add check nil condition for beaconchain in staking service. fix comments 6 years ago
Minh Doan 5ef17c9bae fix comments, typos, add TODO. 6 years ago
Minh Doan df1ce42ba1 send staking transaction to beacon chain 6 years ago
Minh Doan 8e745f4d90 add beacon chain for syncing as place holder 6 years ago
Rongjian Lan 8267607b16 Remove unintentinally commited code 6 years ago
Rongjian Lan 51c4b1e91b Change rnds in block to 32 bytes 6 years ago
Minh Doan 80b6cfa1ac clean up and move syncing code into separate files 6 years ago
Leo Chen 074480ea1e add ClientNode role for txgen/wallet 6 years ago
Leo Chen d3498160b1 fix consensus after reorg the code 6 years ago
Minh Doan 1bf7d8be14 add constants 6 years ago
Minh Doan 385075d6a1 decouple logic of new node into separate logic 6 years ago
Leo Chen 6f2016b324 consolidate functions in node.go 6 years ago
Rongjian Lan 0bd637639c Implement vdf execution and timing 6 years ago
Leo Chen b53409f24d fix go test error 6 years ago
Leo Chen ba4d27db6f txgen send/recv tx/block to beacon shard 6 years ago
Leo Chen f765160360 wait for startChannel for first time only 6 years ago
Leo Chen 7a1ac90a5b add shard client support 6 years ago
Rongjian Lan edf06d1fda Add RandPreimage in block; Add pRnd into new block 6 years ago
Leo Chen d682064202 set the right GroupID in node 6 years ago
Leo Chen dd99219ee3 add NotifyService function in the service interface 6 years ago
Leo Chen 464527a99a fix a nil pointer issue cased program crash 6 years ago
Leo Chen 57ee1d6018 support multiple groups in discovery service 6 years ago
Leo Chen a27cff729c use a channel to signal consensus service to start 6 years ago
Leo Chen 81877a149a add service to regular shard 6 years ago
Rongjian Lan afcdb8b63d Add RandPreimage in block; Add pRnd into new block 6 years ago
chaosma 3f6bb9e19b
modify deploy with state sync; add more info in debug log (#450) 6 years ago
ak daff387369 Adding Comments to explain decoding of function signature 6 years ago
ak cbea168a5f comment about function singature 6 years ago
ak fe7e8d69e3 responding to review changes 6 years ago
ak ab9fe9ebf1 modify tests add switch case change contract binary 6 years ago
Leo Chen f2a5e5c5c9 1st attempt to replace broadcast with pubsub 6 years ago