Commit Graph

127 Commits (f338c9a8fae14a7e7699bccb74ea3bbe53204e78)

Author SHA1 Message Date
Edgar Aroutiounian 2e27e1b845
[availability] Count availability for shard chain, more log, remove error of div by zero as error condition (#2342) 5 years ago
Edgar Aroutiounian b5b6fdb035
[staking] Fix mistaken type cast (#2344) 5 years ago
Ganesha Upadhyaya 5a708983da
fix gas cost check for tx pool (#2324) 5 years ago
Edgar Aroutiounian efd6a47b8a
[availabililty] Move when reset of counters occurs, more log on bumping sign counts, remove leftover test… (#2339) 5 years ago
Edgar Aroutiounian dcfffa8e49
[availability] Pass over newly created validators (#2329) 5 years ago
Edgar Aroutiounian 80cd349ab1
[availability] Fix regression to skip over harmony run nodes (#2327) 5 years ago
Edgar Aroutiounian c4d744e376
[double-sign] Provide proof of double sign in slash record sent to beaconchain (#2253) 5 years ago
Rongjian Lan bbab20442c
Change active to elected for validator status (#2320) 5 years ago
Ganesha Upadhyaya 1a14dce41e
use current state for validator information query (#2314) 5 years ago
Daniel Van Der Maden d51823599c
[staking] Make staking tx shardID use common val (#2303) 5 years ago
Daniel Van Der Maden e7c4ef37d5
Add shard checking to Tx-Pool & correct blacklist (#2301) 5 years ago
Daniel Van Der Maden 376178a91e
Abstract transactions in tx pool and add staking transaction to pool with error report (#2236) 5 years ago
Ganesha Upadhyaya e0aaa6b0b1
making min/max delegations string instead of uint64 (#2240) 5 years ago
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