Commit Graph

57 Commits (24a40baf1878f2acb8cbe2f797be553f0b874be2)

Author SHA1 Message Date
flicker-harmony 49b94e7bbb # This is a combination of 16 commits. 5 years ago
chao 1a3267e9df use lastMileMux to protect lastMileBlock queue to avoid potential blocking; use sleep instead of ticker 5 years ago
chao 3420bbe03c fix beacon sync channel blocking issue 5 years ago
Dennis Won 479c9ad60f consolidate and use block validator functions properly 5 years ago
chao 8398901913 disable state syncing debug log 5 years ago
chao c813fed369 refactoring block header signature verification 5 years ago
chao faf48eb574 add debug log for beacon syncing 5 years ago
Nye Liu 1499169d40 [#1505] Log byte arrays as Hex Strings (#1506) 5 years ago
charleszqwang aa2e800575 Change Byte Output in Zerolog to Hex 5 years ago
Eugene Kim 8cc2543c9e Move header fields into private struct; expose them using getters/setters 5 years ago
Dennis Won daf4767a51 close peer sync config connections to prevent duplicate peer sync config creation 5 years ago
Eugene Kim 30b63fc552 Revert "Merge pull request #1413 from rlan35/cross-shard-rj" 5 years ago
chao 3e5ab0d12e fix syncLoop trap bug 5 years ago
chao 4c46b1bd1f fix several small bugs and security issues on cross shard transaction 5 years ago
chao e3bcc88e67 improve log and syncing loop cpu 100% issue 5 years ago
Rongjian Lan 261acf852f fix incomingReceipts storage; cherry pick from RJ's branch 5 years ago
Rongjian Lan 964a7671a9 Fix incomingReceipts storage and some build failure 5 years ago
Rongjian Lan 2406442f00 Fix beacon sync 5 years ago
Rongjian Lan af6cb79db0 Add state sync sig validation and fix travis test 5 years ago
coolcottontail 46f292be25 created different consensysratio for localnet/mainnet 5 years ago
Chao Ma c80d196e47 initial setup of shard information use latest epoch info to replace genesis epoch info 5 years ago
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