Commit 54889d8
committed
Have
As part of the `OuputSweeper` we broadcast in the `Confirm`
implementation, which would be called during transaction syncing.
Since our broadcasting happens async but via the intermediate blocking
`BroadcasterInterface` we have to transition from `sync_wallets`
(blocking) -> LDK/BDK wallet sync (async) -> Confirm (blocking) ->
BroadcasterInterface (blocking) -> bdk::Wallet::broadcast (async).
However, as the `block_in_place`/`block_on` combo is only usable for
multi-threaded runtimes, this new codepath now requires the use of a
multi-threaded runtime in `sync_wallets` (note this is the case even
though we use a stored, *different* multi-threaded runtime for the
actual broadcasting. **sigh**).sync_wallets use a multi-threaded runtime1 parent 76d028e commit 54889d8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1003 | 1003 | | |
1004 | 1004 | | |
1005 | 1005 | | |
1006 | | - | |
| 1006 | + | |
1007 | 1007 | | |
1008 | 1008 | | |
1009 | 1009 | | |
| |||
0 commit comments