Commit Graph

118 Commits (57343d8e0e96b5ef019c3e7d6267c77b108124da)

Author SHA1 Message Date
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
chao 53fc2819b9 close connection after pushnewblock error 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
Dennis Won 518f98ee5e add block header download api to grpc 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
Nye Liu fe09f62035
Add target to errors so we know the misbehaving endpoint 5 years ago
Nye Liu 8f1f2726b7
Increase download register timeout 5 years ago
Nye Liu 534bbf9c15 Increase download register timeout 5 years ago
Nye Liu 59569ba6b8 Add target to errors so we know the misbehaving endpoint 5 years ago
Christopher Liu 597e561b46
[Metrics] Fix Travis and undo zerolog changes 5 years ago
flicker-harmony bbf06f901f Add generated pb files 5 years ago
flicker-harmony 7806cd25c7 Fix travis 5 years ago
flicker-harmony d149c0ccb1 Add metrics service 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 e469ec822a add grpc connection log when grpc dail failed 6 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
u5surf 4d09b63dff [lint] fix gofmt #708 6 years ago
Leo Chen a98ead38fa [crash] fix issue #703 6 years ago
Rongjian Lan f6c1230d49 Reorg genesis block for normal shards 6 years ago
Eugene Kim fc0ddebc1a Hold SyncConfig mutex for accessing peers 6 years ago