Matilda Clerke
545fd5c29d
7311: Change to specifying retry counts in PeerTask instead of behavior enums
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
37b0ec2659
7311: Import PeerNotConnected class instead of using fully qualified class name
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
8186a77d70
7311: Rework getPeer again to use LEAST_TO_MOST_BUSY comparator
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
86a1f0bf51
7311: Add protocol spec supplier to GetReceiptsFromPeerTask
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
8becdb3ef5
7311: Redo getPeer again to include hasAvailableRequestCapacity check
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
5aa6b0be5f
7311: Return Optional<EthPeer> in PeerSelector.getPeer and utilise existing peer selection behavior in EthPeers
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
c047f428bf
7311: Remove unused async methods in PeerTaskExecutor
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
1a30174128
7311: Refactor peer task system usage in DownloadReceiptsStep to better match old system
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
kingnhcomcast
1ce28daca5
7632 - add sync-min-peers to log and config overview ( #7732 )
...
add sync-min-peers to log and config overview
Signed-off-by: Kevin King <kevin.king@consensys.net>
2 months ago
kingnhcomcast
a7e1f6ace0
7536 use head for snap sync ( #7718 )
...
* Add support to sync to head instead of safe block during snapsync
Signed-off-by: Kevin King <kevin.king@consensys.net>
Signed-off-by: kingnhcomcast <114761064+kingnhcomcast@users.noreply.github.com>
2 months ago
Matilda Clerke
493ac91529
7311: Move GetReceipts to services worker for parallelism
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
07f3a7e111
7311: Fix broken DownloadReceiptsStepTest test
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
5006b396ef
7311: Fix up compile errors after merge
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
0896e31de7
7311: Rework PeerTaskExecutor retry system to be 0-based
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
d84520ab83
7311: Rename getPeerTaskBehavior to getPeerTaskRetryBehavior
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
6d2cb95678
7311: Rename getPeerTaskBehavior to getPeerTaskRetryBehavior
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
6c57a7c3d9
7311: Remove runtime exception again
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
c477d70f57
7311: Change to regular HashMap
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
07852dceed
7311: Update after merge and make discussed changes from walkthrough discussion
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
e63f4730c6
7311: Make changes as discussed in walkthrough meeting
...
Remove DefaultPeerSelector, make EthPeers implement PeerSelector interface, and add PeerTask.getPeerRequirementFilter
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
4d59b10c6a
7311: Rework DownloadReceiptsStep
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Karim Taam
9310e1031d
Fix storage range issue during snapsync ( #7624 )
...
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2 months ago
Matilda Clerke
aca80585f4
7311: More changes in DownloadReceiptsStep
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
1c25ac5337
7311: Fix broken workflow
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
d0bd5ede1e
7311: fix compile check
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
3c0c47b533
7311: Attempt to improve performance of peer task system in pipeline
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
2c1446efa0
7311: Fix up everything broken after merge
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
50c26f138b
7311: spotless
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
7d845b327b
7311: Move peer selection logic to PeerSelector
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Fabio Di Fabio
ffef4d5844
Fix for zombie invalid and penalized txs ( #7659 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Matilda Clerke
720f94ef50
7311: Rename PeerTaskBehavior to PeerTaskRetryBehavior
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
41923d3c40
7311: Convert PeerTaskExecutorResult to a record
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
e31bb70037
7311: Use constants for number of retries
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
bc25b16dcd
7311: rename timing context to ignored to prevent intellij warnings
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
598b519c08
7311: Use SubProtocol instead of subprotocol name string in PeerTask
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
b0f2ed024f
7311: Modify PeerTaskExecutor metric to include response time from peer
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
96c803030c
7311: Fix MetricsAcceptanceTest
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
ad26297963
7311: Fix MetricsAcceptanceTest
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
2d0780055b
7311: spotless
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
608feceff4
7311: Add testGetPeerButNoPeerMatchesFilter to DefaultPeerSelectorTest
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
e2fda73192
7311: Add testGetPeerButNoPeerMatchesFilter to DefaultPeerSelectorTest
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
c9eb22e614
7311: Use a 1 second delay between retries in PeerTaskExecutor to match old implementation
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
ce7d24582c
7311: Remove unused imports
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
da9cd438ae
7311: Reword trace log in DefaultPeerSelector
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
6de3fb366a
7311: Use ConcurrentHashMap in DefaultPeerSelector
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
38f04ab5a1
7311: Reword PeerSelector javadoc to avoid implementation details
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
ad86ae6e71
7311: Rename PeerManager to PeerSelector
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
f077206c66
7311: Fix DownloadReceiptsStep when using peer task system
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
amsmota
aed6bb0044
Implementing support for emptyBlockPeriodSeconds in QBFT (Issue #3810 ) ( #6965 )
...
Implemented support for emptyBlockPeriodSeconds in QBFT (Issue #3810 )
Introduces experimental xemptyblockperiodseconds genesis config option for producing empty blocks at a specific interval independently of the value of the existing blockperiodseconds setting.
https://github.com/hyperledger/besu/issues/3810
---------
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
Signed-off-by: amsmota <amsmota@gmail.com>
2 months ago
Matilda-Clerke
4f07e76a6c
7311: Add feature toggle for enabling use of the peertask system where available ( #7633 )
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago