Leo Chen
cde64e52b2
[node.sh] remove unused function
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
7839091fa9
[node.sh] remove unused fuser
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
8a370c64ff
[node.sh] update version of node.sh
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
c2b271cde6
[node.sh] remove un-supported download db function
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
75da8cb424
[node.sh] randomize auto-update time
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Ganesha Upadhyaya
44f6cd6576
[apr] fix wrong staking apr in the third staking epoch ( #3070 )
...
* [apr] fix wrong staking apr in the third staking epoch
* fixing wrong condition
* update only first staking epoch apr
* iterate over APR entires and fix the staking epoch apr
5 years ago
Nye Liu
5d46fce225
Change common messages to Info() to prevent false positive alerts
...
Was Warn(), now Info():
"Pooled new executable transaction"
"Pooled new future transaction"
"Promoting queued transaction"
5 years ago
Leo Chen
734d9c11d4
Revert "[multi-bls] validator sign and send message in parallel ( #3054 )"
...
This reverts commit 3c6b574b08
.
5 years ago
Janet Liang
756c7750b7
[main] Enable beacon sync for explorer nodes ( #3059 )
5 years ago
Rongjian Lan
e85c1f3064
Fix log levels ( #3058 )
5 years ago
Ganesha Upadhyaya
3c6b574b08
[multi-bls] validator sign and send message in parallel ( #3054 )
5 years ago
Ganesha Upadhyaya
cc965edba4
should not use snapshot from last epoch, use current epoch snapshot ( #3049 )
...
Co-authored-by: Rongjian Lan <rongjian.lan@gmail.com>
5 years ago
Daniel Van Der Maden
8d76969579
[t3] Tx pool error report fix & local build fix ( #3047 )
...
* [tx_list] Add transaction after you can fetch tx cost
* [tx_pool] Add error sink reports for removed tx
* Correct log levels for known transactions
* Remove redundant hash to `enqueue` and `add` signatures
* Update tests for signature changes
* [build] Fix local build for MacOs
* [tx_pool] Correct typo & logging level for known tx
* [tx_pool] Fix for go imports
5 years ago
Ganesha Upadhyaya
c0d84f7a30
use snapshot total delegation instead of current total delegation
5 years ago
Rongjian Lan
9663128d0a
Fix crosslink broadcast condition ( #3041 )
5 years ago
Leo Chen
d4e38c044f
Merge pull request #3040 from rlan35/t3
...
make crosslink broadcast smarter and more efficient with max batch size 6
5 years ago
Rongjian Lan
dfd5a9f09e
adjust catch up speed to be a sane number
5 years ago
Rongjian Lan
cdf98123c2
Revert "Revert "make crosslink broadcast smarter and more efficient ( #3036 )""
...
This reverts commit 33ea179b60
.
5 years ago
Leo Chen
33ea179b60
Revert "make crosslink broadcast smarter and more efficient ( #3036 )"
...
This reverts commit afa6ce3d5f
.
5 years ago
Rongjian Lan
afa6ce3d5f
make crosslink broadcast smarter and more efficient ( #3036 )
5 years ago
Rongjian Lan
eb4fcc93ab
Optimize crosslink verification logic and add more cache ( #3032 )
5 years ago
Rongjian Lan
b8ab786244
add nil check on getHeader ( #3030 )
5 years ago
Leo Chen
db21d9205c
[log] use proper log level on messages
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Edgar Aroutiounian
1b62e28073
[node] Bump handlers by order of magnitude ( #3026 )
5 years ago
Ganesha Upadhyaya
436de05bea
write validator stats at the end of prestaking epoch ( #3020 )
...
* write validator stats at the end of prestaking epoch
* also write out block reward accumulator
5 years ago
Daniel Van Der Maden
8703dcebb8
[txpool] Correct logging level
5 years ago
Rongjian Lan
c09b3c3af7
Add LastEpochInCommittee at prestaking epoch too ( #3016 )
5 years ago
Ganesha Upadhyaya
ac977cfd9d
fix signers share computation to use only non-harmony nodes ( #3011 )
5 years ago
Leo Chen
f5089b5563
[node.sh] add -L to set logging verbosity level
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
75d53190d1
[p2p] use debug level for p2p metrics data
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Rongjian Lan
053ded89ee
fix staking epoch number
5 years ago
Rongjian Lan
7c3c5b1d0b
add 185 prestaking and 186 staking epoch
5 years ago
Leo Chen
b5cc34f1e6
[node.sh] chmod +x node.sh after download
...
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Leo Chen
2b25632219
Revert "[node] Throttle acceptance of incoming messages ( #2970 )"
...
This reverts commit c2f089f618
.
5 years ago
Rongjian Lan
32dfea43a5
Make leader commit m1payload itself ( #2997 )
...
* Make leader commit m1payload itself
* remove test code
5 years ago
Ganesha Upadhyaya
9c112c53c4
super-committee for staking epoch should have empty previous committee, not error out ( #2996 )
5 years ago
Rongjian Lan
1dad435291
fix crash on parsed block ( #2993 )
5 years ago
Rongjian Lan
3a32fedb1d
Fix commit payload ( #2986 )
...
* Always use block data for commit payload
* remove the misleading consensus.epoch
* Fix lint and test
* Remove consensus.String(); fix slash test
5 years ago
Ganesha Upadhyaya
3a31ad219e
validator stats regression due to apr bug fixed ( #2981 )
...
* validator stats regression due to apr bug fixed
* better coding style
* correctly computing apr accounting for epoch holes
* APRHistory for only 30 last epochs
5 years ago
Edgar Aroutiounian
c2f089f618
[node] Throttle acceptance of incoming messages ( #2970 )
...
* [node] Throttle acceptance of incoming messages
* [p2p] Add sampled logger
* [go.mod] Bump libs
* [p2p][node] More sampled logs
* [p2p] Disable auto relay, force public reachability, fix bandwidth reporter, enable NAT service
* [p2p] Turn off some options
* [node] Remove noisy and incorrect impl p2p log
* [node] Sample bump to 24 second
* [p2p] Remove linger of metric
* [consenus] Fix race condition
* [consensus] Race condition for grace period
* [node] Less noisy closure
* [node] Less noisy closure
* [node] Bump context timeout on message, explicit cancel of context
* [node] Cost back to 1 when reach threshold back of being fine
* [node] Sync race condition
* [node] toStart buf chan 1
* [p2p] Turn options on again
* [node][p2p] Lower throttle point for test, remove noisy log, make time delay throttle small
* [consensus] Fix nil pointer
* [node] Remove noisy log, increase infrequency of Burst topic log
* [blockchain] Nil pointer check
* [node] Fix threshold, lessen log
* [node] Bump throttle
* [node] Nil to verify new block
* [node] Keep threshold at half
5 years ago
Sebastian Johnsson
0d84388feb
[STN] Run STN using 1 bls key instead of 3 bls keys per node ( #2975 )
5 years ago
Sebastian Johnsson
addb393161
[STN] Revert settings for a larger network - 300 node network is now a separate network
5 years ago
Rongjian Lan
7c292f64be
Fix viewID issue on prepared block during view change ( #2972 )
...
* Fix viewID issue on prepared block during view change
* Add more checks and remove comments
* Fix lint
* update rlp encode pointer
* Revert go gen changes
* add go gen code
* [api] Fix proto to pass travis
Co-authored-by: Edgar Aroutiounian <edgar.factorial@gmail.com>
5 years ago
Edgar Aroutiounian
7b25c672d9
[blockchain] singleflight on tagged rlp registry ( #2957 )
5 years ago
Rongjian Lan
b823126bfe
verify block before proposal ( #2968 )
...
* verify block before proposal
* only verify header after block proposal
5 years ago
Jacky Wang
1fce5cbaea
Double sign unit test ( #2955 )
...
* [test] added schedule for sharding
* [test] refactored double_sign_test.go
* [test] comment out all test cases for now.
* [test] added record Copy method for testing
* [test] added the first test case in TestVerify
* [test] finished test TestVerify
* [test] Added test TestVerify, TestApplySlashRate, TestSetDifference
* [test] half through TestDelegatorSlashApply
* [test] fix the problem cause by unsafe usage of big.Int
* [staking] added the copy methods to validatorWrapper
* [test] added test cases for copy method for staking/validatorWrapper
* [test] added test case TestApply
* [test] added test case TestRate
* [test] fix the golint errors
* [test] removed commented out unit test code
* [test] remote the empty line in imports
* [test] moved copy methods to stake_testing module
* [test] removed usage of interface stateDB
* [test] removed empty lines in imports
* [test] fixed golint package name issues
* [test] removed a todo when writing code
* [test] moved record.Copy to staking/slash/test
5 years ago
Rongjian Lan
211ed79888
Avoid duplicate bls as harmony nodes; Fix epoch gap issue ( #2964 )
5 years ago
Edgar Aroutiounian
ee31573c1c
[rpc][p2p] Expose peer connectivity ( #2962 )
5 years ago
Jong Hyuck Won
2d0d95610f
nit bug fix on explorer node structs generating staking txns object ( #2953 )
5 years ago
Rongjian Lan
3d42325d98
Fix both total stake counting and delegation index for validator itself ( #2952 )
5 years ago