Rongjian Lan
140dec7fb0
Merge pull request #1877 from chaosma/chao-crosslink
...
Simplified CrossLink structure;
5 years ago
Edgar Aroutiounian
450f0d0a1f
[effective] Guard median call site against zero length SlotList ( #1900 )
...
* [effective] Guard median call site against zero length SlotList
* [committee] Exit early if stakedSlotsCount is 0, committee just made up of hmy
5 years ago
Chao Ma
06940237c1
make DeleteCommittedCrossLinksFromPending faster; fix ContinuesCrossLink bug
5 years ago
Leo Chen
f9668c7eaf
Merge pull request #1899 from LeoHChen/devnet_shorten_epoch_time
...
[devnet] shorten epoch time and increase slot to 50
5 years ago
Leo Chen
4c14e2b63a
[devnet] shortne epoch time and increase slot to 50
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Edgar Aroutiounian
ae5d010f9a
[quorum] Add interface method to check if I am in committee, implemen… ( #1892 )
...
* [quorum] Add interface method to check if I am in committee, implement in both concrete types
* [quorum] Only handle message when I am in committee
* [quorum][consensus] Let non-member still get onCommitted messages
5 years ago
Rongjian Lan
60d0ef6e04
Merge pull request #1895 from rlan35/staking_last_push
...
update staking tool
5 years ago
chao
338720b2eb
fix epoch reading bug; return error in block crosslink verification if crosslink exists; only remove committed crosslink from pending list
5 years ago
Rongjian Lan
f51994e6f7
update staking tool
5 years ago
Rongjian Lan
ac59cda530
Merge pull request #1894 from rlan35/staking_last_push
...
Fix staking txn replication issue
5 years ago
Rongjian Lan
db7a4211f0
Fix staking txn replication issue
5 years ago
chao
706fc6826f
fix block reward code after merging with crosslink
5 years ago
chao
f6face7720
Merge branch 'master' of github.com:harmony-one/harmony into chao-crosslink
5 years ago
Leo Chen
eb2b8cf279
Merge pull request #1891 from LeoHChen/use_new_set_of_keys
...
[devnet] use a new set of account key
5 years ago
Leo Chen
12d2a9623c
[devnet] use a new set of account key
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
chao
3d6e661a5c
address comments/issues for crosslinks
5 years ago
Leo Chen
3204600e28
Merge pull request #1890 from LeoHChen/reduce_num_nodes_in_devnet
...
[devnet] reduce the number of nodes per shard to reach consensus in b…
5 years ago
Leo Chen
d1557363ae
[devnet] reduce the number of nodes per shard to reach consensus in bootstrap
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Chao Ma
d165ca090e
fix crosslink epoch calculation; remove first block comparison by using first epoch comparison
5 years ago
Rongjian Lan
1a5757b249
Add full block reward integration; fix staking index bug; add staking txn signer check ( #1889 )
...
* Fix block rewards; Add staking signer check; Allow 0 MaxTotalDelegation
* Fix lint
* Add full block reward integration; fix staking index bug; add staking txn signer check
5 years ago
chao
fd9fe64129
add local cache and storage for pending crosslinks
5 years ago
Edgar Aroutiounian
aaf289c070
[shard] Wrapper on decoding ShardState ( #1886 )
...
* [shard] Wrapper on decoding ShardState
* [shard] Use EncodeWrapper
* [shard] Add comment
5 years ago
Rongjian Lan
b8fa1b4d94
Fix block rewards; Add staking signer check; Allow 0 MaxTotalDelegation ( #1887 )
...
* Fix block rewards; Add staking signer check; Allow 0 MaxTotalDelegation
* Fix lint
5 years ago
janet-harmony
1cc2518d31
[unit-testing] Add units test for roster.go & calculate.go ( #1885 )
...
* [unit-testing] Add unit test for effective stake calculation
* [unit-testing] Intermediate commit
* [unit-testing] Another intermediate commit
* [unit-testing] Add unit test for Roster compute
* Remove unnecessary code
5 years ago
Leo Chen
4b46e5f708
Merge pull request #1884 from LeoHChen/use_pga_as_hosted_zone_for_devnet
...
[devnet] use pga for the hosted zone to avoid conflict with testnet
5 years ago
Leo Chen
3dd3da4284
[devnet] use pga for the hosted zone to avoid conflict with testnet
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
janet-harmony
ad4a8aab6e
[staking] Set RawStake per voter when creating roster ( #1882 )
5 years ago
Leo Chen
fbdc3483b6
Merge pull request #1878 from rlan35/staking_tx
...
Enable staking for pangaea; Fix cross-shard verification during staking epoch transition.
5 years ago
Rongjian Lan
842ced116a
Fix cross-shard verification during staking epoch change
5 years ago
Rongjian Lan
61e613b492
Set staking for pangaea
5 years ago
Eugene Kim
94e82d47a5
Merge pull request #1825 from harmony-ek/add_operational_checklist_to_pr_template
...
Add operational checklist to PR template
5 years ago
chao
87dd2cd2cd
Simplified CrossLink structure;
...
Remove temp flag of Read/Write crosslink
5 years ago
Rongjian Lan
16da8a1417
Merge pull request #1876 from rlan35/staking_tx
...
Staking tx
5 years ago
Rongjian Lan
8c4734a319
fix a corner case bug for staking epoch catch up
5 years ago
Rongjian Lan
d5cdd62c52
Fix lint
5 years ago
Rongjian Lan
34dcb28bac
Remove local code
5 years ago
Rongjian Lan
c6e0fc68fa
Add voting power and effective stake into RPC
5 years ago
Edgar Aroutiounian
5137dfed36
[WIP] [reward] Adjust block reward by % of current staked ( #1874 )
...
* [reward] Calculate current % staked of all active validators, put down total tokens & target % stake
* [reward] Dynamic adjust of block-reward as economics report suggests
* [reward] Use shardstate to know if last block
* [reward] Log out dynamic adjustment, note about case if blockreward becomes negative
5 years ago
Edgar Aroutiounian
1cf258ee06
[staking][reward] Give out block reward for cross links ( #1869 )
...
* [staking][reward] Give out block reward for cross links
* [staking][reward] Wrap reward logic based on epoch
* [votepower] Factor out votepower b/c need to compute elsewhere as well
* [reward][votepower] Award beaconchain committee members their percent due
* [reward] Only reward non-harmony slots
* [reward] Factor out only signers by commit bitmap
* [reward][votepower] Fix leftover merge based naming changes, fix nil pointer map
* [reward] Handle cross link payment succicently
* [reward] Remove unnecessary helper
* [reward] Handle legacy case of one-node-one-vote block reward (pre-staking)
* [reward] Incorrect log of reward
* [reward] Adjust back to big.Int for legacy rewarding
* [reward] Add +1 for i nonce
* [reward] Abandon formula for nonce, sizes not reliable, easier to do explicit bucketing
* [reward] Remove Prints, fix mistake on using wrong header
* [quorum] Adjust log print out for IsQuorumAchieved
* [reward] Redundant check in code path that only runs in >= staking-epoch
* [reward] Fix mistake on staked block undoing effect of voting power-sharing
5 years ago
Rongjian Lan
a6044ecd34
Merge branch 'master' of github.com:harmony-one/harmony into staking_tx
5 years ago
Rongjian Lan
98eee91ecc
Merge pull request #1875 from rlan35/staking_tx
...
Fix staking epoch transition
5 years ago
Rongjian Lan
06e51a5c84
Merge branch 'master' of github.com:harmony-one/harmony into staking_tx
5 years ago
Rongjian Lan
7291f8b248
Fix staking epoch transition
5 years ago
Leo Chen
2670075448
Merge pull request #1873 from LeoHChen/only_have_40_keys_for_devnet
...
[devnet] set 40 keys only for hmy node on devnet
5 years ago
Leo Chen
f54932d5ec
[devnet] set 40 keys only for hmy node on devnet
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
3525de669e
Merge pull request #1872 from LeoHChen/use_pangaea_for_devnet_on_staking
...
[devnet] updated pangaea network configuration for devnet usage
5 years ago
Leo Chen
ffe6f028d8
[devnet] updated pangaea network configuration for devnet usage
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Rongjian Lan
422d2858c4
Merge pull request #1854 from gupadhyaya/master
...
adding handlers for staking transaction receipts
5 years ago
Rongjian Lan
9cd64ef00a
Merge pull request #1870 from rlan35/staking_tx
...
Synchronize shard chains with beacon chain after stakingEpoch. Add PreStakingEpoch
5 years ago
Rongjian Lan
a9218b2daf
Merge pull request #1871 from flicker-harmony/pr_oneaddress_support
...
One address support where its missing
5 years ago