aboutsummaryrefslogtreecommitdiff
path: root/src/validation.cpp
diff options
context:
space:
mode:
authorPatrick Lodder <[email protected]>2021-01-27 13:20:27 +0100
committerPatrick Lodder <[email protected]>2021-01-27 13:20:27 +0100
commitd62033cb90dd2efc0dddc8dd5e92b510d9fbea51 (patch)
tree5fc4d58242a8d9a20fd03aae1c0edf35b45b87f3 /src/validation.cpp
parentMerge pull request #1661 from Vertian/1.14.3-dev-osx (diff)
downloaddiscoin-d62033cb90dd2efc0dddc8dd5e92b510d9fbea51.tar.xz
discoin-d62033cb90dd2efc0dddc8dd5e92b510d9fbea51.zip
Default policy: reduce default mempool expiry time
Reduces DEFAULT_MEMPOOL_EXPIRY from 336 hours to 24 hours. Motivation is that while blocks are empty, un-relayable tx are stuck in mempools for a long time and effectively locking utxo for 2 weeks until they can be respent, if no RBF opt-in was performed (most wallet implementations do not do RBF opt-in.) As the expectation is that block space will not be fully utilized for the foreseeable future, and therefore, as long as this is the case, no valid transaction should ever live in the mempool for more than a couple of minutes. This default setting can be overridden with the -mempoolexpiry parameter by individual node operators to a value (expressed in hours) that makes the most sense for the use cases the node serves.
Diffstat (limited to 'src/validation.cpp')
0 files changed, 0 insertions, 0 deletions