Commit Graph

78 Commits (ad1e94b56b1bbd3742f24cde845480acd0c757d3)

Author SHA1 Message Date
Edgar Aroutiounian 74a4dd0906
[block][staking] Add staking transaction as input to hash of merkle root (#1928) 5 years ago
Rongjian Lan f59469b644 Add epoch number in shard state for use of beacon epoch sync 5 years ago
Rongjian Lan e9d481da31 Fix CopyFrom! 5 years ago
Rongjian Lan b240b7533d Many small tweaks 5 years ago
flicker-harmony 0f3a3deffc Different API update to support staking txs fetch and additional staking methods 5 years ago
Rongjian Lan fbb72622f6 Fix edit description bug 5 years ago
Rongjian Lan 1423953ffa Fix no bls key issue; fix sanity check potential issue; Preempty uesless collectReward tx 5 years ago
chao f6fc909de2 add debug log for staking msg conversion 5 years ago
chao a5ad4d8919 fix staking msg conversion crash 5 years ago
Rongjian Lan b8fa1b4d94 Fix block rewards; Add staking signer check; Allow 0 MaxTotalDelegation (#1887) 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
Chao Ma 8455c693c8 add unit test for commission rate field 5 years ago
Rongjian Lan 9cd994ecf2 Add more staking RPCs 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 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
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