Commit Graph

28 Commits (af815eb8505af903a7dc5a66053c971ae33968f4)

Author SHA1 Message Date
Eugene Kim a7218a999a Log errors, mostly at warn (or fatal for UT) level 5 years ago
ak 35ede709aa addressing RJs comments 6 years ago
ak f1d333ddbe high thrughput txgen| WIP 6 years ago
chao c4cf98cbc6 debug beacon sync not stable issue 6 years ago
chao cce175b74b add debug info to distinguish beacon sync from normal sync 6 years ago
chao 61acdc41cb beacon syncing; use p2p to broadcast new blocks 6 years ago
u5surf 8d38f12425 [lint] fix misspell #708 6 years ago
Leo Chen a98ead38fa [crash] fix issue #703 6 years ago
Eugene Kim fc0ddebc1a Hold SyncConfig mutex for accessing peers 6 years ago
Eugene Kim 4011ede7ea Make GetBlockHashesConsensusAndCleanUp a SyncConfig method 6 years ago
Eugene Kim d9eb985c36 Now that client cannot be nil, remove nil checks 6 years ago
Eugene Kim acd0351e9d Simplify peer count processing 6 years ago
Eugene Kim 943081e2f5 Add only peerConfigs with non-nil clients 6 years ago
Eugene Kim 5d5fe918ae Merge the two loops in CreateSyncConfig 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
chao 6c7ae4cb64 fix state sync response message flooding 6 years ago
Ubuntu 43d39bc5bd fix initial blockheight checking when restart the node 6 years ago
chao 0d5dcfcae3 refactor state syncing; unify state sync and beacon sync (i.e. depends 6 years ago
chao ebd5b8e240 replace consensus blsAddr with new syncID for state syncing 6 years ago
chao af8139f1e3 refactor state sync; decouple from consensus 6 years ago
Rongjian Lan d247eaa52f Fix state sync 6 years ago
Rongjian Lan 1dbb1a9250 remove validator IDs 6 years ago
chaosma e66aeb4c57
add beaconchain node state syncing (#502) 6 years ago
Minh Doan 6eb8d7ea96 new logic of creating staking transaction 6 years ago
Minh Doan 0cfa7cf3ff cleanup syncing logging which prints very long debug code in deploy.sh 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
chaosma 3161a42e49
state syncing integration (#283) 6 years ago
Eugene Kim 5ad4d5a8f0 Adjust import paths and also goimports 6 years ago
Minh Doan 02e7e9f4a0 fix for golint 6 years ago
Minh Doan d4dd545967 add comment 6 years ago
Minh Doan abe4e55ebc add some tests for syncing. not fully completed yet as syncing need to be rewored with account model. 6 years ago
ak 3bedff9d86 moving services folder 6 years ago
Rongjian Lan 2e48f66a57 Fix build error by removing legacy reference 6 years ago
Rongjian Lan a73a9a9f09 Remove UTXO model 6 years ago
Minh Doan 25ca704f89 move syncing under services 6 years ago
Minh Doan 47056552dc add submit check 6 years ago
Minh Doan 734d2106b0 fix golint 6 years ago
Minh Doan 284a765fd9 change logic of syncing 6 years ago
Leo Chen 76375a2425 HAR-84: golint fix of p2p/peer.go 6 years ago
Minh Doan 7870edae6f add more tests when bad node participarting in syncing 6 years ago
Minh Doan fa3729ffb5 fix syncing assumption that all peers in syncing are honest. hashes consensus are reached when 2/3 nodes agree on the hashes 6 years ago
Minh Doan 8b94362bd6 add more tests when bad node participarting in syncing 6 years ago
Minh Doan ceeb019bac fix syncing assumption that all peers in syncing are honest. hashes consensus are reached when 2/3 nodes agree on the hashes 6 years ago
Minh Doan d69985dff3 add more tests when bad node participarting in syncing 6 years ago
Minh Doan 2f13e46543 fix syncing assumption that all peers in syncing are honest. hashes consensus are reached when 2/3 nodes agree on the hashes 6 years ago
Minh Doan a0a4656315 add more tests when bad node participarting in syncing 6 years ago
Minh Doan 14d130566d fix syncing assumption that all peers in syncing are honest. hashes consensus are reached when 2/3 nodes agree on the hashes 6 years ago
Minh Doan 7094d5d530 make sure syncing package can keep syncing in case the new hashes are updated 6 years ago