Commit Graph

684 Commits (9796df0dd90b27d45637418a7de3895a9c5d7cd7)

Author SHA1 Message Date
Eugene Kim e9d1324ecc Add account address to StakeInfo 6 years ago
Eugene Kim 75a92d7b10 Add field names to StakeInfo field init 6 years ago
Leo Chen 1bc6f52d4a [p2p] use beacon client topic as global topic 6 years ago
chao c4cf98cbc6 debug beacon sync not stable issue 6 years ago
Leo Chen 24a7922970 [p2p] use right client group for communication 6 years ago
Leo Chen cd8f1cea8e [cleanup] remove offline peer handler 6 years ago
chao cce175b74b add debug info to distinguish beacon sync from normal sync 6 years ago
Leo Chen 9d11ed79d5 [sc] enable faucet for all shards 6 years ago
Leo Chen 42cf3d59ac [crash] fix nil pointer deference 6 years ago
chao 61acdc41cb beacon syncing; use p2p to broadcast new blocks 6 years ago
Leo Chen d31ee7d366 [cleanup] remove peers variable from consensus New function 6 years ago
Leo Chen 81abaaa922 [log] disable huge debug log in leader 6 years ago
u5surf a835435b4a [lint] fix ineffassign #708 6 years ago
u5surf 8d38f12425 [lint] fix misspell #708 6 years ago
u5surf 4d09b63dff [lint] fix gofmt #708 6 years ago
Leo Chen 8dda71c662 [crash] fix index out of range crash 6 years ago
Rongjian Lan 22d605a2fc Only process shard state if non-beacon node 6 years ago
Rongjian Lan 73d863cf63 Disable program restart 6 years ago
Rongjian Lan 19be79a48f Restart program after resharding 6 years ago
Rongjian Lan 847bd8d83f Broadcast shard state from beacon chain 6 years ago
Rongjian Lan 4b018ec276 Broadcast epoch shard state after beacon consensus 6 years ago
Rongjian Lan f6c1230d49 Reorg genesis block for normal shards 6 years ago
Eugene Kim 56f1c60928 Roll MakeConnectionToPeers into CreateSyncConfig 6 years ago
Eugene Kim 1aa2d9bbd6 Log CreateSyncConfig errors from the caller side 6 years ago
Richard Liu bcb608109e update /shard to return libp2p.ID 6 years ago
Leo Chen 58b054f8cd [log] adding log to debug #680 6 years ago
Rongjian Lan 4dd5039376 Add back missed code for last PR 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
chao c6350bb0c7 fix nil pointer error for calculate reponse in state sync 6 years ago
Minh Doan aa91c07843 getting players is called from smart contract 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 47d4d89bf3 [consensus] wait for more tx in one consensus 6 years ago
chao 6c7ae4cb64 fix state sync response message flooding 6 years ago
Minh Doan 6dee372d20 call to get balances from native calls instead of calling smart contract 6 years ago
Ubuntu 43d39bc5bd fix initial blockheight checking when restart the node 6 years ago
Ubuntu d2d08cdd50 start sync when a new node join instead of waiting for consensus 6 years ago
Leo Chen 69b76d6df5 [pong] send regular pong message to new peers 6 years ago
Leo Chen 313ddac6ca [utils] move GetAddressHex to utils module 6 years ago
Leo Chen 7b77208451 [sync] fix getNeighborPeers return 0 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
Eugene Kim 12d5e9f669 Abort QueryStakeInfo on early errors 6 years ago
Eugene Kim 15706b3b9e Do not update staking list if StakeInfo query failed 6 years ago
Minh Doan 24d36d2bbb fix comments and cleanup 6 years ago