-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reject unspendable inputs in
interactive-tx
(#2870)
When we require inputs to be confirmed, we can reliably check whether they are unspent. We can't reliably check this for unconfirmed inputs, because they could be valid but simply not in our mempool, in which case bitcoind would incorrectly consider them unspendable. We want to reject unspendable inputs early to immediately fail the funding attempt, instead of waiting to detect the double-spend later.
- Loading branch information
Showing
3 changed files
with
24 additions
and
5 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