-
Notifications
You must be signed in to change notification settings - Fork 697
Feat/block rejections timeout heuristic #5731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 36 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
ea771ca
added heuristic for block rejections timeout
rdeioris daffba1
Merge branch 'develop' into feat/block_rejections_heuristic
rdeioris 6ab756b
added rejections_timeout test exposure via BLOCK_REJECTIONS_CURRENT_T…
rdeioris bfd4793
improved test logic
rdeioris 3cebb35
fixed integration test
rdeioris db14fba
Merge branch 'develop' into feat/block_rejections_heuristic
rdeioris c3e163e
fixed comment for BLOCK_REJECTIONS_CURRENT_TIMEOUT
rdeioris 6b751c4
fixed test comment
rdeioris bb8df99
fmt
rdeioris 280483b
added more comments
rdeioris 05b3f92
fixed formatting
rdeioris 9971d1a
added wanr! when timeout
rdeioris 45ae015
initial prototype for configurable block_rejction timeout steps
rdeioris 3071d36
improved config system
rdeioris f2ab500
fmt-stacks
rdeioris 5c0805a
fixed default rejections timeout
rdeioris f22a990
improved comment for rejections timeout
rdeioris 4f4b584
fixed typo
rdeioris 463839f
ensure 0 key is specified for rejections timeout
rdeioris 0e7461c
message typo
rdeioris 420f861
use Counters instead of global test vars
rdeioris 57f80fb
restored original wait_for_block_status
rdeioris d5abfdc
removed empty line
rdeioris ed48786
Merge branch 'develop' into feat/block_rejections_heuristic
rdeioris 5269714
updated CHANGELOG
rdeioris 5a70c43
updated CHANGELOG
rdeioris c424212
Secp256k1PrivateKey::random() instrad of new()
rdeioris d713290
removed useless test attributes
rdeioris adaabe6
use u32 for block_rejection_timeout_steps keys
rdeioris 7cfbfdd
refactored block_rejection_timeout_steps percentage setup
rdeioris d4171d7
do not reset rejections_timer on block_status updates
rdeioris fbc3b7d
moved block_rejection_timeout_steps computation directly in SignerCoo…
rdeioris 33642c3
Merge branch 'develop' into feat/block_rejections_heuristic
rdeioris 790c1e1
merged with develop, reintroduces old logic for condition variables, …
rdeioris 54aed16
rollback BlockStatus Default and PartialEq
rdeioris eb883ee
improved error messages on timeout
rdeioris fe429f4
report rejection step in miner log, ensure signe_test shutdown in int…
rdeioris 6a238a7
added set_miner_current_rejections_timeout and set_miner_current_reje…
rdeioris 8d2bb0d
refactored block_validation_check_rejection_timeout_heuristic test
rdeioris 151c844
use From based cast for u32->u64
rdeioris b813afa
merged with develop
rdeioris f66c894
removed useless line
rdeioris 0c86012
Merge branch 'develop' into feat/block_rejections_heuristic
rdeioris 400c806
use u32 for rejections counter
rdeioris File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.