Skip to content

Conversation

@mikehearn
Copy link
Contributor

This resolves a case in which a mismatch could be used to bloat up the mempool by sending transactions that pay enough fee to relay, but not to be mined, with the default policies.

This resolves a case in which a mismatch could be used to bloat up the
mempool by sending transactions that pay enough fee to relay, but not
to be mined, with the default policies.
@gavinandresen
Copy link
Contributor

ACK, but lets not forget to mention this in the release notes.

@BitcoinPullTester
Copy link

Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/037b4f1485404a69f96ac6c448a97d21315c8663 for binaries and test log.
This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/
Contact BlueMatt on freenode if something looks broken.

@ghost
Copy link

ghost commented Mar 10, 2014

Shouldn't this PR apply to 0.9.0 branch so it can then be merged up into master?

@sipa
Copy link
Member

sipa commented Mar 10, 2014

We have a policy of only pulling in changes in side branches that have been merged into master, just to make reasoning easier of what is where. This means that pull requests should always be for master (well, perhaps except for readme/release notes specific to a release).

@jgarzik
Copy link
Contributor

jgarzik commented Mar 10, 2014

Correct. Default is "upstream first" (==master), then backport. This helps ensure bug fixes are not lost.

@laanwj
Copy link
Member

laanwj commented Mar 11, 2014

Would be nice to move nMinTxFee constant to wallet.cpp/h at some point, as it now only affects the wallet.

After this commit there is only one use of nMinTxFee remaining outside wallet.cpp and the options parsing, in GetMinFee ( https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp#L781 ).

@laanwj laanwj added this to the 0.9.0 milestone Mar 11, 2014
@gavinandresen gavinandresen merged commit 037b4f1 into bitcoin:master Mar 11, 2014
@gavinandresen
Copy link
Contributor

Merged into master and 0.9.0 (and doc/release-notes.md in the 0.9.0 branch updated).

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request May 30, 2015
Only the minimum relay fee was intended to be reduced to 1000 satoshis, but due to mempool bugs, nodes can't handle divergent relay and mining fee rates properly yet.
A quick workaround was merged for 0.9 by using the relay fee for mining (PR bitcoin#3838), but without any consensus for the actual mining default to be dropped.
Unfortunately, many miners seem to still run with default policies, and this fee rate makes spamming too cheap still.
This brings the minimum fee rate back to up 10000 satoshis, which reflects the last consensus for standard mining fee rate.
luke-jr added a commit to luke-jr/bitcoin that referenced this pull request May 30, 2015
Only the minimum relay fee was intended to be reduced to 1000 satoshis, but due to mempool bugs, nodes can't handle divergent relay and mining fee rates properly yet.
A quick workaround was merged for 0.9 by using the relay fee for mining (PR bitcoin#3838), but without any consensus for the actual mining default to be dropped.
Unfortunately, many miners seem to still run with default policies, and this fee rate makes spamming too cheap still.
This brings the minimum fee rate back to up 10000 satoshis, which reflects the last consensus for standard mining fee rate.
luke-jr added a commit to luke-jr/bitcoin that referenced this pull request May 30, 2015
Only the minimum relay fee was intended to be reduced to 1000 satoshis, but due to mempool bugs, nodes can't handle divergent relay and mining fee rates properly yet.
A quick workaround was merged for 0.9 by using the relay fee for mining (PR bitcoin#3838), but without any consensus for the actual mining default to be dropped.
Unfortunately, many miners seem to still run with default policies, and this fee rate makes spamming too cheap still.
This brings the minimum fee rate back to up 10000 satoshis, which reflects the last consensus for standard mining fee rate.
luke-jr added a commit to luke-jr/bitcoin that referenced this pull request May 31, 2015
Only the minimum relay fee was intended to be reduced to 1000 satoshis, but due to mempool bugs, nodes can't handle divergent relay and mining fee rates properly yet.
A quick workaround was merged for 0.9 by using the relay fee for mining (PR bitcoin#3838), but without any consensus for the actual mining default to be dropped.
Unfortunately, many miners seem to still run with default policies, and this fee rate makes spamming too cheap still.
This brings the minimum fee rate back to up 10000 satoshis, which reflects the last consensus for standard mining fee rate.
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants