Commit Graph

63 Commits (8458f581eacb568122a5692382e5b9a6aaa8ad79)

Author SHA1 Message Date
chao 685f61cd88 fix state syncing ticker leak; adjust syncing loop parameters 5 years ago
Rongjian Lan 81729f6b72 refactor to one liner 5 years ago
Rongjian Lan 9be5b9e163 Verify sig every 100 blocks during state sync 5 years ago
Nye Liu 3f922af9eb Unify json tags for IP 5 years ago
Rongjian Lan 397f88269a Cleanup state sync logic; fix explorer node sync wrong committee issue 5 years ago
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