-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(test): avoid failing getblocktemplate acceptance test when the ch…
…ain tip changes (#6091) * adds basic usage of long polling in gbt test * adds !submit_old check before cancelling proposing a new template * Removes break statement in long polling task * Update zebrad/tests/common/rpc_client.rs Co-authored-by: teor <[email protected]> * use blocking_send and watch channel * fix "cannot block the current thread from within a runtime" * Reduces interval between proposals and increases num proposals required. * Runs rate-limiting sleeps in parallel to validation * corrects comment. --------- Co-authored-by: teor <[email protected]>
- Loading branch information
Showing
4 changed files
with
141 additions
and
45 deletions.
There are no files selected for viewing
This file contains 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 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 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 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