Commit Graph

438 Commits (1df16f637435b7bd221e608f534595459b6ee657)

Author SHA1 Message Date
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 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
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