flicker-harmony
f58f22c5e1
Add missed input field
5 years ago
flicker-harmony
9c43424919
0x format to decimal format
5 years ago
Edgar Aroutiounian
868c4c896c
Extend failure sink ( #2045 )
...
* [project] Rename specs to specifications b/c gcc thinks specs is a special file
* [rpc][node] Refactor failed stking txn buffer as container/ring, track failed plain txn as well
* [rpc] Expose RPC for staking, plain txn error sink
5 years ago
Daniel Van Der Maden
637216f51e
[config] Add localnet config
5 years ago
Edgar Aroutiounian
c37a89455e
[rpc] Expose median raw stake for explorer nodes only, remove dead st… ( #2035 )
...
* [rpc] Expose median raw stake for explorer nodes only, remove dead staking field
* [rpc] Only pick 320, only beaconchain explorer
5 years ago
Eugene Kim
f455056d25
Add utils.Fatal, a print-to-stderr-and-exit helper
5 years ago
Rongjian Lan
e7cd387677
Fix create validator balance reduce bug; Add LastEpochInCommittee ( #2029 )
...
* Fix undelegation non-pointer modification bug
* Fix lint
* fix import
* Fix create validator balance reduce bug; Add LastEpochInCommittee
5 years ago
chaosma
56dc8e04d8
add debug flag to avoid too much log info in crosslink verification ( #2021 )
5 years ago
Edgar Aroutiounian
887eeaef75
[rpc][staking] Simplify validator information RPC, expose ValidatorMetrics RPC ( #2024 )
5 years ago
Eugene Kim
c9febf402a
Emit fatal init error details to stderr w/o panics
5 years ago
flicker-harmony
a7b2617f10
Fix jenkins
5 years ago
flicker-harmony
4aad0e20a9
Fix travis
5 years ago
flicker-harmony
01c76abacd
Add timestamp to transactions json
5 years ago
Edgar Aroutiounian
37935bb29f
[engine] Set ShardID Provider in VerifyWithSignature ( #2005 )
5 years ago
Rongjian Lan
3403395398
Fix undelegation non-pointer modification bug ( #2004 )
...
* Fix undelegation non-pointer modification bug
* Fix lint
* fix import
5 years ago
Edgar Aroutiounian
b995bb02f2
[rpc][staking] Quick way to add an staking transaction error sink for… ( #1986 )
...
* [rpc][staking] Quick way to add an staking transaction error sink for rpc consumption
* [staking] Satisfy Travis
* [rpc][staking] Expose staking transaction errors using slice, protect mutex
* [staking][rpc] Use string name of Directive
* [staking][rpc] Change func signature in tests
* [staking][rpc] Protect read with lock
5 years ago
Edgar Aroutiounian
f17e76fe1b
[engine] Verify quorum achieved by mask in VerifySeal ( #2003 )
...
* [engine] Verify quorum achieved by mask in VerifySeal
* [engine] Use RJs PR comment on how to pull slotList, move parentQuorum inside else
* [node] Use votingpower logic check in node explorer message handler
* [explorer][node] Simplify explorer quorum by mask
* [engine] Additional check for quorum voting power in VerifyHeaderWithSignature
5 years ago
Rongjian Lan
931601c773
Fix shard state epoch number after staking
5 years ago
Rongjian Lan
09ffce3960
add flag to revert only beacon chain; also fix a epoch calc bug
5 years ago
Rongjian Lan
290cc51b72
fix crosslink bugs
5 years ago
Leo Chen
a9a4d624c5
Revert "Merge pull request #1862 from harmony-ek/pubsub_discovery"
...
This reverts commit 93dade6a72
, reversing
changes made to b8456dd83d
.
5 years ago
Eugene Kim
89f4db859a
Bump Pangaea CrossLink epoch from 2 to 5256
...
Epoch 2 has already passed on Pangaea.
5 years ago
Eugene Kim
f590b30f73
Reduce Harmony seats from 80 → 68 at staking epoch
5 years ago
Eugene Kim
858739d01c
Schedule Pangaea staking epochs
...
- Pre-staking starts at epoch 5256, around 2019-12-05T17:46:17Z
- Staking starts at epoch 5328, around 2019-12-06T05:46:17Z
5 years ago
Eugene Kim
ef389aa9b5
IsCrossTx → AcceptsCrossTx
...
This clarifies the intended use of the predicate.
5 years ago
Eugene Kim
02ba0b309c
Fix cross-TX header introduction glitch
...
Commit e79ba5fe88
introduced an off-by-one
error which caused CX-enabled header to be introduced one epoch later
than expected, i.e. at CrossTxEpoch + 1, where it should be
CrossTxEpoch. This was caused by a vague, confusing naming of
IsCrossTx(epoch) function of ChainConfig: The name did not clarify
whether it meant introduction of CX-enabled header and processing of
ingress receipts (which occurs at CrossTxEpoch) or acceptance of
cross-shard transactions (which occurs at CrossTxEpoch+1).
Introduce and use params.(*ChainConfig).HasCrossTxFields which handles
the former case.
5 years ago
Edgar Aroutiounian
67f2e4f57f
[log] More log ( #1958 )
5 years ago
chao
05dd350906
address comments
5 years ago
Rongjian Lan
41509fcbc6
fix bug on undelegate and delegate
5 years ago
Edgar Aroutiounian
c8c9c8d594
[votingpower] Extend vote power snapshot, use existing roster data structure ( #1935 )
...
* [votingpower] Update vote power snapshot, expose via RPC
* [votepower] Refactor Validator stats, use votepower.Roster, Expand ValidatorStats
* [rpc] Remove mistaken RPC
* [staking] Enrich Validator Stats
* [staking] Remove mistaken code
* [staking] Let votepower create aggregation of network wide rosters, update ValidatorStats
* [votepower] Fix tests re field name changes
* [votepower] Address PR Comments on field name change
* [votepower] Remove avg voting-power, leave as derived value
* [lint] Two easy lints
5 years ago
flicker-harmony
e47ab3168e
Show staking txs in blocks by default
5 years ago
Rongjian Lan
1a8d73cb9e
fix import
5 years ago
chao
44a8e2a376
add shardState verification
5 years ago
Rongjian Lan
bd79d2abd7
fix validator list addr format
5 years ago
Rongjian Lan
fd43690f41
Change staking rpc to one addresses
5 years ago
Edgar Aroutiounian
ad1e94b56b
[reward] Give back 0 reward instead of nil
5 years ago
Edgar Aroutiounian
c2d0315823
[reward] log whatPercentStakedNow
5 years ago
Edgar Aroutiounian
06ca582f16
[reward] Do need Update for accumulator
5 years ago
Edgar Aroutiounian
c30886b1d4
[reward] Do not update state in reward, thread through payout, write payout on each block
5 years ago
Rongjian Lan
178fbde94c
Fix bls pub key address leader lookup bug
5 years ago
Eugene Kim
110c657c5b
Add UT for nodeconfig.ShardIDFromConsensusKey
...
Use mainnet/devnet/testnet setup and ensure that the right chain
parameters are polled/used; verify the "pubKey % numShards" logic.
5 years ago
Eugene Kim
9d0cc6196a
Mock shardingconfig interfaces
...
To be used by UTs.
5 years ago
Eugene Kim
65a066c70b
Break import cycle at ./internal/utils → ./p2p
5 years ago
Eugene Kim
229456eb41
Factor BLS-key-to-shard-ID logic out
5 years ago
Eugene Kim
f91488b50b
Add sharding schedule to node config
5 years ago
Eugene Kim
22f0c4eac3
Ensure nodeconfig.shardConfigs is initialized
...
Previously, only nodeconfig.GetShardConfig initialized this; calling
SetNetworkType before GetShardConfig resulted in GetShardConfig calls to
return empty network type.
5 years ago
Eugene Kim
d8650cbf1e
golint
5 years ago
Eugene Kim
15f08d6aad
ChainConfigForNetworkType → NetworkType.ChainConfig
...
Makes the call sites read more naturally.
5 years ago
Eugene Kim
311091e7c5
Fix typo
5 years ago
Eugene Kim
878e13ba8c
Remove unused nodeconfig.SetConfigs
5 years ago