Commit Graph

229 Commits (a3477b6c16b2b6638dbe0652ea52901cbd6800d0)

Author SHA1 Message Date
janet-harmony 1cc2518d31 [unit-testing] Add units test for roster.go & calculate.go (#1885) 5 years ago
Rongjian Lan c6e0fc68fa Add voting power and effective stake into RPC 5 years ago
Rongjian Lan 1049bd5f24 More clear up and fixes 5 years ago
Edgar Aroutiounian a1f637f990 [staking] Undo bad merge from master 5 years ago
Edgar Aroutiounian c673bd97d9 [committee] Switch over committee for stake epoch 5 years ago
Rongjian Lan f3927bd465 Add uptime stats 5 years ago
chao 92d80a7fd4 work around rlp encoding/decoding issue for StakeMsg field type casting 5 years ago
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