Commit Graph

272 Commits (f14d8401a1ac86b37edc5e0c153b2b7f54c62d7d)

Author SHA1 Message Date
Rongjian Lan c16ededa3e Add delegation index to avoid looping through all delegations 5 years ago
janet-harmony 6c32d569e7 [staking-testing] Fix staking median logic (#1839) 5 years ago
Chao Ma 8455c693c8 add unit test for commission rate field 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
Chao Ma 4a185825a5 add StakeMsg interface to deep copy 5 years ago
Rongjian Lan 73f60b5c58 fix lint 5 years ago
Rongjian Lan 3106c87bb5 Fix a bigInt cmp bug 5 years ago
Chao Ma 2586f16899 add staking transaction unit test for tx copy; fix panic error 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 92f80b0445 Add validator snapshot in local db 5 years ago
Edgar Aroutiounian 91285cb0c3 [slash] UpdateConsensusInformation has Staked based Quorum Decider, provide abstraction for inavailability count 5 years ago
Edgar Aroutiounian ac579e81d8 [slashing] Create Slasher interface, thread through to Accumulate in reward 5 years ago
Edgar Aroutiounian 8d76bf13ee [epos] Remove debug code, address lint 5 years ago
Edgar Aroutiounian 3947adf366 [shard] Remove two-value loop 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 867fdb1f8d
Implementation of EPoS (#1826) 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 cc4a520f6c Ensure the order of undelegate entries 5 years ago
Rongjian Lan 740aeac3e7 Add low-level validator/delegator block reward logic 5 years ago
Rongjian Lan 6c8fe922b4 Add logic to use undelegated token for delegate (i.e. redelegate) 5 years ago
Rongjian Lan ff1396d5ff Add delegate and undelegate core state transition 5 years ago
Chao Ma 74d774de05 add more fields editing in updateEditValidator; add commission ratels in staking tx sending; 5 years ago
Chao Ma 71e4914bbf modify cmd for better staking tx sending; fix editvalidator call 5 years ago
Chao Ma c58e47512b beautify validator String method 5 years ago
chao aed4b17e8a fix rlp decoding issue for validatorWrapper 5 years ago
coolcottontail 0bf5c0925d fixed goimports 5 years ago
coolcottontail 8a534ee88c switch the order of validatoraddress in staking messages 5 years ago
Edgar Aroutiounian 825a5f0f43
[staking] Provide correct Encoding/Decoding of Directive in StakingTransaction (#1773) 5 years ago
chao 6ceede98f5 add crash protection for staking msg type cast 5 years ago
chao 2c1819a4e2 remove unused const 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 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
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
Edgar Aroutiounian 97efce2766
Further progress on staking (#1709) 5 years ago
Edgar Aroutiounian 1297623cfe
Staking dev cycle (#1689) 5 years ago