diff --git a/zip-0401.html b/zip-0401.html index d06abdd5..12446677 100644 --- a/zip-0401.html +++ b/zip-0401.html @@ -40,7 +40,7 @@ License: MIT

max(serialized transaction size in bytes, 4000)

Each transaction also has an eviction weight, which is cost + low_fee_penalty, where low_fee_penalty is 16000 if the transaction pays a fee less than the conventional fee, otherwise 0. The conventional fee is currently defined as 1000 zatoshis 5.

-

Each node also MUST hold a FIFO queue RecentlyEvicted of pairs (txid, time), where the time indicates when the transaction with the given txid was evicted. After activation of NU5 4, the wtxid 3 rather than the txid is used to identify version 5 or later transactions.

+

Each node also MUST hold a FIFO queue RecentlyEvicted of pairs (txid, time), where the time indicates when the transaction with the given txid was evicted. The txid (rather than the wtxid as defined in 3) is used even for version 5 transactions after activation of NU5 4.

The RecentlyEvicted queue SHOULD be empty on node startup. The size of RecentlyEvicted SHOULD never exceed eviction_memory_entries entries, which is the constant 40000.

There MUST be a configuration option mempooltxcostlimit, which SHOULD default to 80000000.

There MUST be a configuration option mempoolevictionmemoryminutes, which SHOULD default to 60.

diff --git a/zip-0401.rst b/zip-0401.rst index 39162834..d3ff0a93 100644 --- a/zip-0401.rst +++ b/zip-0401.rst @@ -87,9 +87,9 @@ conventional fee, otherwise 0. The conventional fee is currently defined as 1000 zatoshis [#zip-0313]_. Each node also MUST hold a FIFO queue RecentlyEvicted of pairs (txid, time), where -the time indicates when the transaction with the given txid was evicted. After -activation of NU5 [#zip-0252]_, the wtxid [#zip-0239]_ rather than the txid is used -to identify version 5 or later transactions. +the time indicates when the transaction with the given txid was evicted. The txid +(rather than the wtxid as defined in [#zip-0239]_) is used even for version 5 +transactions after activation of NU5 [#zip-0252]_. The RecentlyEvicted queue SHOULD be empty on node startup. The size of RecentlyEvicted SHOULD never exceed ``eviction_memory_entries`` entries, which is the constant 40000.