mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-04 18:24:04 +01:00
e71c4df168refactor: replace manual promise with SyncWithValidationInterfaceQueue (ANtutov) Pull request description: `BroadcastTransaction()` now waits for validation callbacks using the built-in `validation_signals>SyncWithValidationInterfaceQueue()` instead of creating a local `std::promise` and scheduling a lambda. This removes an unnecessary allocation and uses the canonical API. ACKs for top commit: maflcko: review ACKe71c4df168🌃 rkrux: lgtm ACKe71c4df168sedited: ACKe71c4df168Tree-SHA512: 602994ba3c2ac91996068aee6eac7e788c3832d7ab949519a9420d2b59e2a67d2d4e67c3c9191ba60e9caa75f1524a95b0851fcd40b6732f6a9956a011b4a120
7.2 KiB
7.2 KiB