Commit Graph

200 Commits (c5592efeb8b8791bf43bd11497d4138815334150)

Author SHA1 Message Date
Eugene Kim d0afddf328 Factor 2f+1 calculation out as consensus.Quorum() 6 years ago
Eugene Kim cd7d5056f6 Disable DRand processing 6 years ago
chao 7cd24dae6c modify the naming of variables to make code cleaner 6 years ago
Leo Chen cd8f1cea8e [cleanup] remove offline peer handler 6 years ago
Rongjian Lan f6c1230d49 Reorg genesis block for normal shards 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
Leo Chen 313ddac6ca [utils] move GetAddressHex to utils module 6 years ago
Eugene Kim 9fc97e43b0 Store group sigs in the real header, not in a copy 6 years ago
Rongjian Lan 64d6ee80d3 add public key into consensus/drand message 6 years ago
Rongjian Lan 1dbb1a9250 remove validator IDs 6 years ago
Rongjian Lan 655bd9f73e Use genesis BLS key for beacon chain nodes 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
Leo Chen 54f35caf77 check minimal number of peers before sending pong message 6 years ago
Rongjian Lan 72f75935e7 Make the first staking transaction working on the contract 6 years ago
Leo Chen f3ffc65401 [cleanup] remove libp2p unicast support 6 years ago
Leo Chen ad41838dd6 add log messages to debug consensus issues 6 years ago
Leo Chen 656d3fdbe2 make leader field private in consensus/drand 6 years ago
Minh Doan 3b5836c950 fix typos 6 years ago
Minh Doan cf727f76fe fix tests 6 years ago
Minh Doan 6d5dd2afe3 apply new message protocol 6 years ago
Rongjian Lan 51c4b1e91b Change rnds in block to 32 bytes 6 years ago
Rongjian Lan 70cd1da9e9 Correct error checking 6 years ago
Rongjian Lan 16adbcdb8e Add pending rnd list and add available rnd into new block 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 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
Rongjian Lan edf06d1fda Add RandPreimage in block; Add pRnd into new block 6 years ago
Leo Chen 214ff491e0 check validator to avoid nil pointer access 6 years ago
Leo Chen a27cff729c use a channel to signal consensus service to start 6 years ago
Leo Chen 702e5e2f19 add leader pubkey in pong message 6 years ago
Rongjian Lan afcdb8b63d Add RandPreimage in block; Add pRnd into new block 6 years ago
Leo Chen 7b0769c651 gossip all consensus messages 6 years ago
Leo Chen a55b4514dd use gossip for all consensus messages 6 years ago
Rongjian Lan 8fae634aba Break tie of core-consensus-core import cycle; add pRnd channel for consensus 6 years ago
Rongjian Lan ffd06145ec Add message passing between drand leader/validator 6 years ago
Minh Doan a53670c4ae Maps are reference types, so they are allways passed by reference. 6 years ago
chaosma cd6475c7e5
make state syncing compatible with new BLS consensus code 6 years ago
Minh Doan c64b6e8de3 rename services to service 6 years ago
Minh Doan d9a4d650a5 undo consensus service; will fix it later 6 years ago
Minh Doan a12a72ba07 add consensus service 6 years ago
Rongjian Lan bb4a648f9c Code clean up and adding multi-sigs to block 6 years ago
Rongjian Lan 073efb6776 Refactor basic consensus message checking 6 years ago
Rongjian Lan 69fa85536c Refactor basic validator message checking 6 years ago
Rongjian Lan e46785eabd Refactor consensus message signing 6 years ago
Rongjian Lan 399b130679 Add multi-sig check on validator commit phase 6 years ago
Rongjian Lan 2fb0919946 Basic multisig checking for consensus 6 years ago
Rongjian Lan 44f52b39f8 Add error check and tests for bls signature verification 6 years ago