Commit Graph

335 Commits (2a930b28a8d0a3739717d1e39d23f28a0147aa77)

Author SHA1 Message Date
chao f9071da236 factor consensus functions into consensus_utils, make consensus.go cleaner 6 years ago
Rongjian Lan c20cd8a8d4 resharding on new nodes 6 years ago
Leo Chen cd8f1cea8e [cleanup] remove offline peer handler 6 years ago
Leo Chen 9a785f9638 [consensus] add set consensus ID function 6 years ago
Leo Chen d31ee7d366 [cleanup] remove peers variable from consensus New function 6 years ago
Richard Liu bcb608109e update /shard to return libp2p.ID 6 years ago
Richard Liu c0b691cefc
add api /shard for explorer. (#667) 6 years ago
Richard Liu 7e2bcf6413 add /shard API. 6 years ago
johnwhitton 6e5c3e7264 Handle NewMask errors 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 53317c5204 [log] print a message in validator if consensus reached 6 years ago
Leo Chen 313ddac6ca [utils] move GetAddressHex to utils module 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
Rongjian Lan 64d6ee80d3 add public key into consensus/drand message 6 years ago
Minh Doan beaa0a84fe clean up technical debt 6 years ago
Leo Chen 16c526af34 [misc] reduce number of logs 6 years ago
Rongjian Lan 1dbb1a9250 remove validator IDs 6 years ago
Richard Liu cb066b9edd
add /nodes API for explorer (#585) 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
Rongjian Lan 72f75935e7 Make the first staking transaction working on the contract 6 years ago
Rongjian Lan f1a03942e9 merge 6 years ago
Leo Chen f3ffc65401 [cleanup] remove libp2p unicast support 6 years ago
Rongjian Lan 4f578bd4ed migrate to use chain reader instead of BlockVerifier 6 years ago
Rongjian Lan 562ae5078d Delete some unused consensus code 6 years ago
Leo Chen 5d5d8caaea [debug] remove excessive logging on receiving messages 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
Leo Chen e92fdc7b33 reduce the number of message 6 years ago
Minh Doan 6d5dd2afe3 apply new message protocol 6 years ago
Rongjian Lan 16adbcdb8e Add pending rnd list and add available rnd into new block 6 years ago
Rongjian Lan d71ee04eae Connect drand with consensus for final randomness channel 6 years ago
Leo Chen 702e5e2f19 add leader pubkey in pong message 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
ak c30acdfa2f adding tests for updating staking list 6 years ago
Rongjian Lan 86486fa054 Add init nad commit message construct/process/passing 6 years ago
alok ffd82d035c BeaconLeader adds IDs 6 years ago
Leo Chen 7b16b3ceda add more debug log 6 years ago
Minh Doan a53670c4ae Maps are reference types, so they are allways passed by reference. 6 years ago
Minh Doan 0cfa7cf3ff cleanup syncing logging which prints very long debug code in deploy.sh 6 years ago
ak 598d740e09 fixing style issues 6 years ago
ak 9c377ce08e Add deposit contract as a smart contract transaction on every node 6 years ago
chaosma cd6475c7e5
make state syncing compatible with new BLS consensus code 6 years ago
Rongjian Lan d8c46c61d2 Say goodbye to Schnorr sig and kyber package and mark BLS done 6 years ago
Leo Chen 9340ef4f86 move proto/pingping to discovery module 6 years ago