Janet Liang
99d5c3c5dc
[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
Daniel Van Der Maden
38cd3965ec
[config] correct testnet config
5 years ago
Daniel Van Der Maden
773b319aee
[node.sh] update testnet network config
5 years ago
Daniel Van Der Maden
18537adf57
[config] Create Testnet config
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
Daniel Van Der Maden
5476eb5b6a
Tx pool error report fix & local build fix ( #3046 )
...
* [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
5 years ago
Ganesha Upadhyaya
c0d84f7a30
use snapshot total delegation instead of current total delegation
5 years ago
Rongjian Lan
ea2347fa5e
Cherrypick crosslink related fixes from t3 to master. ( #3045 )
...
* Optimize crosslink verification logic and add more cache (#3032 )
* make crosslink broadcast smarter and more efficient (#3036 )
* adjust catch up speed to be a sane number
* Fix crosslink broadcast condition (#3041 )
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
Janet Liang
70d4e68c0d
[rpc] Revert change to v2 GetBalance RPC ( #3037 )
5 years ago
Rongjian Lan
afa6ce3d5f
make crosslink broadcast smarter and more efficient ( #3036 )
5 years ago
Rongjian Lan
e0bb1befbf
Add more log info
5 years ago
Rongjian Lan
2538a85f5c
add nil check on getHeader
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
Jacky Wang
9f6e09dce9
Code formatting fix based on `staticcheck` ( #3023 )
...
* fix some static check issues
* more fixes according to staticcheck
5 years ago
Leo Chen
7ccd386a4c
[build] enable static build by default ( #2885 )
...
scripts/go_executable_build.sh -s (static build, default)
scripts/go_executable_build.sh -S (non-static build)
Signed-off-by: Leo Chen <leo@harmony.one>
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
Ganesha Upadhyaya
31ecffc5f9
write validator stats at the end of prestaking epoch ( #3021 )
...
* write validator stats at the end of prestaking epoch
* also need to write block reward accumulator
5 years ago
Daniel Van Der Maden
8703dcebb8
[txpool] Correct logging level
5 years ago
Rongjian Lan
a545327567
Add LastEpochInCommittee at prestaking epoch too ( #3014 )
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
Ganesha Upadhyaya
9f9223b50a
fix signers share computation to use only non-harmony nodes ( #3008 )
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