Commit Graph

265 Commits (e93bb38abff79f2f3d3433948ee2a728eea4fda0)

Author SHA1 Message Date
Rongjian Lan 4c9ec7329e
Small fixes on staking log and error (#2158) 5 years ago
Edgar Aroutiounian 801b4b83e2
[slash][consensus] Notice double sign & broadcast, factor out tech debt of consensus (#2152) 5 years ago
Edgar Aroutiounian 3559ca8ea4
[network] Factor out reward, prepare data structure for RPC (#2186) 5 years ago
Edgar Aroutiounian cae94683a4
[state][staking][availability] Handle availability only in finalize (#2185) 5 years ago
Rongjian Lan 721611a949
Report duplicate bls keys on the same validator as error (#2179) 5 years ago
Rongjian Lan c9072fc1b6
Make 0 value no-op for minself and maxtotal in edit validator (#2174) 5 years ago
Edgar Aroutiounian 0a0a6336bc
[node][availability] Move validator staking update in writeblockwithstate earlier in body, temp disable availability (#2175) 5 years ago
Rongjian Lan 96814d3361
Update description fields individually; Cleanup staking txn fields (#2173) 5 years ago
Edgar Aroutiounian 44c5704fc3
[slash][quorum][consensus] Extend existing data structures for slashing needs (#2148) 5 years ago
Edgar Aroutiounian 6435f4060c
[availability] Implement inactive toggle for validators that miss threshold of signing required; (66%) of epoch (#2077) 5 years ago
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