-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #1535: test(electrum): Test sync in reorg and no-reorg situations
2c0bc45 feat(testenv): Added `bdk_electrum` wait for Txid method (Wei Chen) 49e1a5e test(electrum): Test sync in reorg and no-reorg situations (Wei Chen) Pull request description: <!-- You can erase any parts of this template not applicable to your Pull Request. --> Closes #1125. ### Description <!-- Describe the purpose of this PR, what's being adding and/or fixed --> Add new test for `bdk_electrum` to make sure previously unconfirmed transactions get confirmed again in both reorg and no-reorg situations. ### Changelog notice <!-- Notice the release manager should include in the release tag message changelog --> <!-- See https://keepachangelog.com/en/1.0.0/ for examples --> * Added `wait_until_electrum_sees_txid` method to `TestEnv`. * `wait_until_electrum_sees_block` now has a `Duration` input for timeout. * Removed exponential polling delay in `wait_until_electrum_sees_block`. * Added `test_sync` to `bdk_electrum` to make sure previously unconfirmed transactions get confirmed in both reorg and no-org situations. ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing ACKs for top commit: evanlinjin: ACK 2c0bc45 Tree-SHA512: 2218151267fe0a3dc3eefa1e7081902e25193f211b2624a3a9f2007b9b38eefb5b847754b9f8cbefba6be6a497cfbc85ac3e5a2db40f01fcc71a3c9d8427adf4
- Loading branch information
Showing
2 changed files
with
160 additions
and
53 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