Commit Graph

654 Commits (3d0f5c1f34be337a4c25426f97251b08ff5eb966)

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
Edgar Aroutiounian e3802cd31b [slashing][reward][committee] Begin wrap up for merge with master, focus on rewards 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 3b7b70cb1c Fix a bug on 14 epoch comp and refactor undelegation withdrawal 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 f08decbbb4 Fix condition check 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
Edgar Aroutiounian f1cf151ba1 [slashing] Checkpoint to verify changing of committee works 5 years ago
Edgar Aroutiounian c1baaeaa06 Revert "[epos] Remove test code generation - use commit for testing later" 5 years ago
Edgar Aroutiounian 095be41b56 [epos] Remove test code generation - use commit for testing later 5 years ago
Edgar Aroutiounian ea7a4927e2 [EPoS] Implement EPoS at slot level 5 years ago
Edgar Aroutiounian 09c427f080 [EPoS] Checkpoint w/RJ 5 years ago
Edgar Aroutiounian 78c0cf030c [staking] Stumble out test case for validator information 5 years ago
Rongjian Lan 323a3a0b56 Add check on commission rate change; also fix key-to-add bug 5 years ago
Rongjian Lan c5f4fc1ce1 Add validator sanity check 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
Rongjian Lan cc4a520f6c Ensure the order of undelegate entries 5 years ago
Rongjian Lan 5342907e85 Add undelegated token withdrawal 5 years ago
Rongjian Lan 3e9b34adb6 Fix lint 5 years ago
Rongjian Lan 740aeac3e7 Add low-level validator/delegator block reward logic 5 years ago
Rongjian Lan b013e1fea3 Add state db apis for block rewards 5 years ago
Rongjian Lan 6c8fe922b4 Add logic to use undelegated token for delegate (i.e. redelegate) 5 years ago
Rongjian Lan 8ed9b7d637 fix lint 5 years ago
Rongjian Lan ff1396d5ff Add delegate and undelegate core state transition 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 6dbfcf1d65 remove debug code 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
Edgar Aroutiounian 825a5f0f43
[staking] Provide correct Encoding/Decoding of Directive in StakingTransaction (#1773) 5 years ago
Eugene Kim 860badfb09 Simplify Pangaea/testnet epoch schedule 5 years ago
Dennis Won 7d68c7cc01 add verifyHeaders option to blockchain.insertChain() 5 years ago
chaosma 942456f564 Staking part2 (#1755) 5 years ago