Commit Graph

174 Commits (a2bde5651b0324a2da9ec2a73f1ed15214481218)

Author SHA1 Message Date
Rongjian Lan a2bde5651b Avoid memory waste 5 years ago
Rongjian Lan 07cc574f34 Return early if found delegation 5 years ago
Rongjian Lan c16ededa3e Add delegation index to avoid looping through all delegations 5 years ago
Rongjian Lan 9cd994ecf2 Add more staking RPCs 5 years ago
Rongjian Lan bde9d38ed1 Add missing staking related core code; and add some basic rpcs 5 years ago
Rongjian Lan 77ff9d422d test code 5 years ago
Rongjian Lan b856049aad Create snapshot for all validators 5 years ago
Rongjian Lan 59059f4b46 Fix active validator DB api 5 years ago
Rongjian Lan 901785269b fix lint 5 years ago
Rongjian Lan f6ffb43277 Fix bugs and refactor NodeList 5 years ago
Rongjian Lan 92f80b0445 Add validator snapshot in local db 5 years ago
Rongjian Lan 3500f2277e Add collect rewards core transition 5 years ago
Rongjian Lan 317e587dbe Add delegator->validators index 5 years ago
Rongjian Lan e76d205e29 move other block related data DB commit into insertChain 5 years ago
Edgar Aroutiounian 55c9386e4c
[quorum] Staked quorum member (#1819) 5 years ago
Edgar Aroutiounian e6a4fbea4f
[committee] Factor out committee membership, provide entry for alternative committee membership (#1818) 5 years ago
Rongjian Lan 40f099d56b Add comment for PostChainEvents 5 years ago
Rongjian Lan 2c9f2135cd Reset tx pool when there is a new block 5 years ago
chao 5dd83cd4be comment out staking debug code which can be uncommented later for debugging; we are not done yet 5 years ago
Chao Ma 74d774de05 add more fields editing in updateEditValidator; add commission ratels in staking tx sending; 5 years ago
chao aed4b17e8a fix rlp decoding issue for validatorWrapper 5 years ago
chao 0f71a3e984 move update validator list from proposal stage to block commit stage 5 years ago
chao 99ab46c6ef fix block encoding/decoding issue for blockV2 and headerV3 5 years ago
chao 1ee2ab5866 debugging 5 years ago
flicker-harmony f02b9fbdbd Hardcode staking.Validator 5 years ago
flicker-harmony 4ab439b987 Add empty not nil structs 5 years ago
Dennis Won 7d68c7cc01 add verifyHeaders option to blockchain.insertChain() 5 years ago
chaosma 942456f564 Staking part2 (#1755) 5 years ago
chao 0c020d8f6a add staking transaction field in v2 body; add v3 header for future fork 5 years ago
chao 96cb8d095a add validatorList read/write 5 years ago
chaosma 6b0959c01f add api for requesting validator and delegators information (#1744) 5 years ago
chao 19b34b49dd add database access 5 years ago
Edgar Aroutiounian 9f00923ac3
Factor out quorum logic from consensus, undo prior consolidation of values under core (#1717) 5 years ago
Edgar Aroutiounian 97efce2766
Further progress on staking (#1709) 5 years ago
Rongjian Lan e74a2f1bdf fix lint 5 years ago
Rongjian Lan 19b1c03888 Refactor shard state related func and avoid recomputing shard state unnecessarily 5 years ago
flicker-harmony 809d77ebf7 Fix travis 5 years ago
chao f3a89211c8 Add CXReceipt RPC call; Add indexing for CXReceipt by TxHash 5 years ago
chao 00c2356b5e add tx type check; improve several efficiency issues 5 years ago
chao c78b8fa352 add http rpc call to resend missing cross shard receipt 5 years ago
Rongjian Lan 8376c2a3a0 Add all cross-shard txn fork checks 5 years ago
Eugene Kim c996f22f7a Avoid fetching entire block to use just its header 5 years ago
Dennis Won 479c9ad60f consolidate and use block validator functions properly 5 years ago
chao d624e3c46a remove crosslink checking in cross tx receipt verification 5 years ago
Rongjian Lan 7837169fbe Add todo and fix comments 5 years ago
Rongjian Lan 54111b60d7 Update EpochLastBlock to use big int 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
Eugene Kim d26525af63 shard.ShardState → shard.State to reduce stutter 5 years ago