forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reject multiple-tx RBF with unconfirmed inputs
Rule bitcoin#6 prevents fee-rates from being decreased for direct conflicts, and thus transactions spending confirmed inputs. But it does not prevent fee-rates from being decreased when unconfirmed inputs are involved as a transaction spending confirmed inputs can be merged with a transaction spending unconfirmed inputs. Requiring replacements with unconfirmed inputs to be done one at a time ensures that fee-rates always increase, while still allowing for RBF of CPFP transactions. This is necessary because relace-by-fee-rate assumes that fee-rates can't be decreased; if they can be you can get infinite cycles of replacements.
- Loading branch information
Showing
5 changed files
with
33 additions
and
13 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
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