Commit Graph

732 Commits (28d025fdafea22e2211ec62c19a59ca2851bea73)

Author SHA1 Message Date
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
Rongjian Lan 0a4e4d6339 update staking transaction structs (#1756) 5 years ago
Rongjian Lan cbb8659228 update staking transaction structs 5 years ago
chao 05e4c9a916 register v3 header and v2 body 5 years ago
chao bd6a9bee6c fix test error 5 years ago
chao 58448f6b23 remove old design code 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
chao 6950c450f2 add validator_test.go 5 years ago
chao db44ad08e8 WIP2 5 years ago
Edgar Aroutiounian 2e7c2b9111 [mainnet-release] Address code comments 5 years ago
chao 227d140964 WIP 5 years ago
chaosma 87d3ab231c small optimization on cross shard tx (#1714) 5 years ago
Edgar Aroutiounian 97efce2766
Further progress on staking (#1709) 5 years ago
Edgar Aroutiounian 1297623cfe
Staking dev cycle (#1689) 5 years ago
chao 63ffa3a766 add empty field check for cxreceiptproof 5 years ago
chao 6321395731 fix cross shard verification error; need to recalculate shard state instead of retrieve for cx transaction receipt verification 5 years ago