Commit Graph

104 Commits (a872f29fa30f3852573358590a0962002a8f7865)

Author SHA1 Message Date
Rongjian Lan e7cd387677 Fix create validator balance reduce bug; Add LastEpochInCommittee (#2029) 5 years ago
Edgar Aroutiounian 887eeaef75
[rpc][staking] Simplify validator information RPC, expose ValidatorMetrics RPC (#2024) 5 years ago
Edgar Aroutiounian df1ec49859
[staking] Richer errors (#2012) 5 years ago
Rongjian Lan 3403395398 Fix undelegation non-pointer modification bug (#2004) 5 years ago
Edgar Aroutiounian b995bb02f2
[rpc][staking] Quick way to add an staking transaction error sink for… (#1986) 5 years ago
Edgar Aroutiounian a85a7d4a88
[effective] Flatten map to slice, then sort (#1960) 5 years ago
Edgar Aroutiounian 2a797b0262
[effective] Ensure stable sort of median (#1959) 5 years ago
Edgar Aroutiounian 67f2e4f57f
[log] More log (#1958) 5 years ago
Rongjian Lan 44bc550916 Make validator default to be active 5 years ago
Edgar Aroutiounian c8c9c8d594
[votingpower] Extend vote power snapshot, use existing roster data structure (#1935) 5 years ago
Ganesha Upadhyaya fcbf78a9d6 using BlsVerificationStr instead of hard-coded string 5 years ago
Ganesha Upadhyaya dafe876746 minor fix and lint checks 5 years ago
Ganesha Upadhyaya a172a3e7bb updating field names 5 years ago
Ganesha Upadhyaya b6ad632dc1 changing from string to BlsSignature type 5 years ago
Ganesha Upadhyaya 19b5083ee7 add fields in create/edit validator to send bls sigs, also verify 5 years ago
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
Edgar Aroutiounian 450f0d0a1f
[effective] Guard median call site against zero length SlotList (#1900) 5 years ago
Rongjian Lan b8fa1b4d94 Fix block rewards; Add staking signer check; Allow 0 MaxTotalDelegation (#1887) 5 years ago
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