Edgar Aroutiounian
3aa08e9e3b
[rpc] Show both latest header of beacon chain and shard chain ( #2714 )
5 years ago
Edgar Aroutiounian
1a2c23ada5
[validator] Hide one field from JSON ( #2705 )
5 years ago
Edgar Aroutiounian
56d19d2a84
[offchain][effective][validator][rpc] Give reason why booted from committeee, move effective stake in rpc outside metrics ( #2699 )
5 years ago
Edgar Aroutiounian
d21f68d34d
[go.mod][pubsub][test] Update libp2p, use MaxMessage at p2p level protection, remove dead code ( #2692 )
...
* [project] Update Dockerfile
* [main] Whitespace
* [p2p][go.mod] Update libp2p, pick pubsub from master as of commit now time. Limit max p2p message size
* [go.mod] Unused package
* [project] Remove p2pchat test app
* [project] Remove unused test/txgen
* [project] Remove two one off test programs, unused shell scripts
* [p2p] Temp log out sign of receive p2p message
* [p2p] Use 3 MB as max message size
5 years ago
coolcottontail
4c15caa9f2
fix issue2689 error loading blspass ( #2695 )
5 years ago
Ganesha Upadhyaya
5b7d2165d8
fix earned-reward per key by temporary persisting stats and writing at once ( #2693 )
...
sorted slice of map for deterministic write
5 years ago
Edgar Aroutiounian
9fa85b586b
[project] Remove dead Lottery app code, optimize node/... on what staticcheck showed ( #2688 )
5 years ago
Edgar Aroutiounian
780ecf4034
[project] More leftover wallet support scripts, update README ( #2687 )
5 years ago
Edgar Aroutiounian
64fd469741
[blockchain] More info in failed validator voting power update ( #2685 )
5 years ago
Jong Hyuck Won
b9843abde5
RPC for staking txns and txns history queries ( #2554 )
...
* staking txn. look up by hash fix on api backend rawdb storage
* node explorer staking txn 'history' RPC layer support
* fix unit test
* add error log when explorer node db instance cannot be fetched
* revert unwanted merge changes during rebase
* use already encoded tx message fields for get staking txn rpc
* update explorer node storage service for staking txns
* use hex string for staking transaction data field
* revert transaction pool apiv1 changes
5 years ago
Edgar Aroutiounian
9b07fb71a9
[project] Fix first round issue from static analysis check ( #2682 )
5 years ago
Edgar Aroutiounian
9718e16820
[offchain] Forgot removal of ! which did not write the reward-per-key to work ( #2681 )
5 years ago
Edgar Aroutiounian
45135b21d6
[project] Remove unused internal memprofiling, profiling, metrics service ( #2679 )
...
* [project] Remove unused internal memprofiling, profiling
* [internal] Unused attack package
* [internal] More dead metrics related code
5 years ago
Edgar Aroutiounian
7da8ec0a02
[project] Remove txgen, prefer stack based init & map literals ( #2678 )
5 years ago
Edgar Aroutiounian
dfceae3691
[blsgen] LoadFromKey with passphrase more robustly ( #2675 )
5 years ago
Leo Chen
76dbf7c88b
[build] remove double / in FOLDER
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
a508a7a9f7
[build] fix the release action for static build
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
coolcottontail
a6929dd32f
Added support for using AWS encrypted BLS key files ( #2650 )
...
* added bls support, cleaned the code
* fixed code per review
5 years ago
Edgar Aroutiounian
1fe41df8ab
[node.sh] Remove msg when no trace file given, default behavior should be silent
5 years ago
Edgar Aroutiounian
e60ab0b09c
[validator] Use own field for VoteWithCurrentEpochEarning b/c composed struct had own MarshalJSON ( #2667 )
5 years ago
Edgar Aroutiounian
4e85d7d866
[service][node] Project Tech debt clean up, remove wallet ( #2664 )
...
* [project][p2p] Remove wallet, client roles & associated function calls
* [node][service] Remove unused service types
* [wallet] Remove internal wallet code
* [test] Remove wallet from debug.sh
* [test] More cleanup in debug.sh, deploy.sh
* [test] Adjust duration back into local test script
* [test] Increase duration
* [test] Exit with 0, remove RESULT_FILE as not made anymore
5 years ago
Edgar Aroutiounian
afeeb69094
[slash] Fix leftover mistake ( #2666 )
5 years ago
Leo Chen
11d528ecf7
[node.sh] enable p2p tracefile using -R option ( #2659 )
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Daniel Van Der Maden
832246d225
[staking] Remove per block EPOS status msgs ( #2661 )
5 years ago
Edgar Aroutiounian
551513c74f
[reward][rpc] Extend ValidatorStats with earning per key, implement tracking rewards in payout, expose network wide ( #2656 )
...
* [reward] Implement tracking rewards for beacon & shardchain (via crosslinks)
* [reward][rpc] Track reward given out per key for validator stats, compose to expose in validator RPC
5 years ago
Edgar Aroutiounian
f8cbd880bb
[project] Bls -> BLS & remove dead Stake solidity contract ( #2652 )
5 years ago
Edgar Aroutiounian
2df20124e1
[effective][rpc] Add banned string in virtual eposstatus field ( #2648 )
5 years ago
Edgar Aroutiounian
935531e5d5
[p2p] Remove incorrect logger usage ( #2646 )
5 years ago
Edgar Aroutiounian
438f9bd639
[header] Error out if header receiver is nil ( #2643 )
5 years ago
Edgar Aroutiounian
26241bb9cf
[quorum] Expose external slot count for JSON of Decider ( #2642 )
5 years ago
Edgar Aroutiounian
f8d60f3cfa
[assignment] Add StakePerKey as feature request of epos candidates ( #2641 )
5 years ago
Lei
f6557186eb
replace flags by viper.
...
support config variable's section name and refactor/move code to the internal package
set default config dir to .hmy/
change relative path ./.hmy
error string fmt
5 years ago
Edgar Aroutiounian
a79c85fa8d
[slash] Adjust rate as function of voting power of double-signers rather than % of committee ( #2639 )
5 years ago
Ganesha Upadhyaya
fa96787134
Fixes-#2558: Allow validator to withdraw all their stake if they wanna quit ( #2629 )
...
making comparison implementation independent
removing error unwrapping to check, instead use the error cause for comparison
minor
5 years ago
Edgar Aroutiounian
5c87960641
[validator] Cache harmony keys in a closure ( #2636 )
5 years ago
Ganesha Upadhyaya
cb42bdb767
disallow duplicate bls keys as internal keys ( #2633 )
...
getting rid of global and fetching information on the fly
simplifying the check
5 years ago
Daniel Van Der Maden
dfdfb515c0
[ #2588 ] Fix failed edit-validator tx fetch ( #2631 )
...
* [apiv1] Fix EditValidator tx fields for newRPCStakingTransaction
* Make newRPCStakingTransaction use directive switch
* Check staking msg type assertion
* [apiv2] Fix EditValidator tx fields for newRPCStakingTransaction
* Make newRPCStakingTransaction use directive switch
* Check staking msg type assertion
5 years ago
Edgar Aroutiounian
ce44eeb710
[state] Do not add reward to banned validator ( #2626 )
5 years ago
Edgar Aroutiounian
0e5e72f941
[slash] Quick hash sanity check for conflicting ballots ( #2627 )
5 years ago
Minh Doan
c5e323b25c
add lock to protection storage dump ( #2624 )
5 years ago
Rongjian Lan
74a5eda740
Merge pull request #2623 from rlan35/econ_update
...
Not update status for banned validators
5 years ago
Rongjian Lan
8c29038aaa
Merge pull request #2622 from janet-harmony/bug-triage
...
Update undelegate error message & fix overflow for 'current-epoch-blocks-left'
5 years ago
Rongjian Lan
be91928a3f
Not update status for banned validators
5 years ago
Janet Liang
9c7637adaf
[ #2620 ] Make error message general for all staking transactions
5 years ago
Janet Liang
05d870dee6
[ #2530 ] Replace 'current-epoch-blocks-left' with meaningful data 'num-beacon-blocks-until-next-epoch'
5 years ago
Rongjian Lan
7a4e5627d2
Merge pull request #2621 from rlan35/econ_update
...
Set block reward to flat-rate 28 ONE
5 years ago
Rongjian Lan
5cd8af2891
Set block reward to flat-rate 28 ONE
5 years ago
Leo Chen
7dc780da0b
Merge pull request #2619 from LeoHChen/enable_archival_mode_master
...
[node.sh] enable archival mode if node type is explorer
5 years ago
Janet Liang
9b93b9376f
[ #2620 ] Update undelegate message to be more clear
5 years ago
Leo Chen
df7a98f014
[node.sh] enable archival mode if node type is explorer
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago