Commit Graph

563 Commits (ec3f266cda66d5e7cea1d0b347e509551578270b)

Author SHA1 Message Date
Leo Chen 6a97a6a2f2 fix goimports errors 6 years ago
Leo Chen 742eb6d08e save role of node in nodeconfig module 6 years ago
Leo Chen 54f35caf77 check minimal number of peers before sending pong message 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
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
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
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 ba02ec922a update dRand PublicKeys 6 years ago
Leo Chen 656d3fdbe2 make leader field private in consensus/drand 6 years ago
Minh Doan 1f8cd8c5b7 fix typos 6 years ago
Minh Doan 6d5dd2afe3 apply new message protocol 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 0589f07431 add logic to receive staking txns 6 years ago
Rongjian Lan e298bc572a Clean up some code 6 years ago
Leo Chen e546b9a807 set leader pubkey for drand 6 years ago
Leo Chen 7a1ac90a5b add shard client support 6 years ago
Leo Chen 1436dc19e5 remove excessive log messages 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 464527a99a fix a nil pointer issue cased program crash 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
Eugene Kim 2680b7cc7d Fix gometalinter warnings 6 years ago
Leo Chen 7b0769c651 gossip all consensus messages 6 years ago
Leo Chen 25485c655c add stop servie in discovery service 6 years ago
Leo Chen f2a5e5c5c9 1st attempt to replace broadcast with pubsub 6 years ago
Leo Chen 175e43fed7 add a goroutine to send pong message periodically 6 years ago
Leo Chen 3ffb7bdea9 do not handle duplicated ping message 6 years ago
chaosma 5eb3684d89
fix shard state update bug (#439) 6 years ago
Rongjian Lan e9732bc3ff address comments from last PR 6 years ago
Rongjian Lan ffd06145ec Add message passing between drand leader/validator 6 years ago
chaosma ef7c2e147c
add resharding code (#404) 6 years ago
Rongjian Lan 8142b11aa7 Add channel for confirmed blocks and add that between node and drand 6 years ago
ak db243c1676 update staking list 6 years ago
Leo Chen 98596f4f21 add connecthostpeer function 6 years ago
Leo Chen 7b16b3ceda add more debug log 6 years ago
Leo Chen 8820c257a6 add list of incoming/outgoing peers 6 years ago
Leo Chen 98a15022f7 strip off the first 5 bytes from message content 6 years ago
Leo Chen ec5102708e [libp2p] init integration of group message by pubsub 6 years ago
Leo Chen f3b0432e2d only send pong message from leader 6 years ago
Leo Chen 68a65488a0 [FIX] integer divide by zero error 6 years ago