mempool: Remove time as a key of entries#29
Open
rustaceanrob wants to merge 1 commit into
Open
Conversation
| argsman.AddArg("-allowignoredconf", strprintf("For backwards compatibility, treat an unused %s file in the datadir as a warning, not an error.", BITCOIN_CONF_FILENAME), ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS); | ||
| argsman.AddArg("-loadblock=<file>", "Imports blocks from an external file on startup. Obfuscated blocks are not supported.", ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS); | ||
| argsman.AddArg("-maxmempool=<n>", strprintf("Keep the transaction memory pool below <n> megabytes (default: %u)", DEFAULT_MAX_MEMPOOL_SIZE_MB), ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS); | ||
| argsman.AddArg("-mempoolexpiry=<n>", strprintf("Do not keep transactions in the mempool longer than <n> hours (default: %u)", DEFAULT_MEMPOOL_EXPIRY_HOURS), ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS); |
Member
There was a problem hiding this comment.
I mentioned this to you, but will reiterate here; fwiw, I have a slight preference for leaving out the option in startup for a bit, but render it ineffective and marked deprecated in docs for some period of time, and then we do a cleanup later to delete them.
538a44f to
ab818be
Compare
The discussion on `LimitMempoolSize` has indicated that it is possible for a high-fee package to get evicted from the mempool if the parent times out due to the `Expire` logic. This is a incentive compatibility bug, and it would surprise me if miners have not already removed this behavior. ref: bitcoin#33510
ab818be to
4dd374c
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The discussion on
LimitMempoolSizehas indicated that it is possible for a high-fee package to get evicted from the mempool if the parent times out due to theExpirelogic. This is a incentive compatibility bug, and it would surprise me if miners have not already removed this behavior.As a nice side-effect, the mempool benchmarks have gotten faster across the board. Some results from a local benchmark script
Benchmark script
ref: bitcoin#33510