diff options
author | Peter Todd <pete@petertodd.org> | 2015-10-29 22:55:48 -0400 |
---|---|---|
committer | Peter Todd <pete@petertodd.org> | 2015-11-10 14:14:07 -0500 |
commit | fc8c19a07c20ab63f6a69f7494f486204d8f2b7a (patch) | |
tree | d238f7f8bc0690e2c5f5f813f97c83632f2c3f72 /qa | |
parent | 0137e6fafd08788879193c1155883364237869f1 (diff) |
Prevent low feerate txs from (directly) replacing high feerate txs
Previously all conflicting transactions were evaluated as a whole to
determine if the feerate was being increased. This meant that low
feerate children pulled the feerate down, potentially allowing a high
transaction with a high feerate to be replaced by one with a lower
feerate.
Diffstat (limited to 'qa')
-rwxr-xr-x | qa/replace-by-fee/rbf-tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/replace-by-fee/rbf-tests.py b/qa/replace-by-fee/rbf-tests.py index 391159a86a..5173da6412 100755 --- a/qa/replace-by-fee/rbf-tests.py +++ b/qa/replace-by-fee/rbf-tests.py @@ -219,7 +219,7 @@ class Test_ReplaceByFee(unittest.TestCase): self.proxy.getrawtransaction(tx.GetHash()) def test_replacement_feeperkb(self): - """Replacement requires overall fee-per-KB to be higher""" + """Replacement requires fee-per-KB to be higher""" tx0_outpoint = self.make_txout(1.1*COIN) tx1a = CTransaction([CTxIn(tx0_outpoint, nSequence=0)], |