Commit Graph

36 Commits (b140f17b58b1426eccb4fcf40bb462dd3eda4da5)

Author SHA1 Message Date
Kai Lee 9e87c928f1 Replace all logs in api module to use zerolog 5 years ago
chao 815398e6ec make state sycning log uniform with [SYNC] in the beginning 6 years ago
Rongjian Lan d2e9862b91 Fix coinbase bad block issue 6 years ago
chao cf8f710b94 * add dns server for node syncing 6 years ago
chao d46263b46a refactor cleanCache into two for readability; simplify GetBlockHashes request handle logic; requestor will accept only up to batchsize blockhashes instead of reject for longer response 6 years ago
chao 155927992a * add hard limit for node syncing request to avoid grpc connection timeout 6 years ago
Rongjian Lan a1f2acb57d Improve logging readability 6 years ago
Rongjian Lan 23cdabc182 Fix consensus stability 6 years ago
Eugene Kim a7218a999a Log errors, mostly at warn (or fatal for UT) level 6 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