Skip to content

Latest commit

 

History

History
237 lines (203 loc) · 16.4 KB

release-notes.md

File metadata and controls

237 lines (203 loc) · 16.4 KB

Dash Core version v24.0.5

This is a new patch version release. It changes how nodes treat transactions with an InstantSend lock when the mempool is full, makes an InstantSend lock cost more as locked transactions fill the mempool, and raises the default mempool size limit.

Like v24.0.0 to v24.0.3, this release carries the v24 network upgrade (hard fork), which is mandatory for all nodes: every node must run v24.0.0 or later before the hard fork activates. Upgrading to v24.0.5 is recommended for all nodes, and strongly recommended for masternodes, miners, exchanges and payment processors. There is no v24.0.4 release: v24.0.5 takes its place. The upgrade itself and everything else introduced in v24 are described in the v24.0.0 release notes, the fixes for v24 activation in the v24.0.1 release notes, the memory leak fix in the v24.0.2 release notes, and further fixes in the v24.0.3 release notes.

Please report bugs using the issue tracker at GitHub:

https://github.com/dashpay/dash/issues

Upgrading and downgrading

How to Upgrade

If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the installer (on Windows) or just copy over /Applications/Dash-Qt (on Mac) or dashd/dash-qt (on Linux).

Upgrading from v24.0.0, v24.0.1, v24.0.2 or v24.0.3 needs no further steps, with one exception: a masternode that sets -maxmempool below 500 refuses to start (see "Mempool size limit" below). Remove the setting or raise it to at least 500 before upgrading. If you are upgrading from v23.1.x or older, read "How to Upgrade" in the v24.0.0 release notes first: the first start migrates the address, spent and timestamp indexes, and some settings changed.

Downgrade warning

Downgrade to v24.0.0, v24.0.1, v24.0.2 or v24.0.3

Downgrading to v24.0.0, v24.0.1, v24.0.2 or v24.0.3 is possible and needs no special steps.

Downgrade to a version < v24.0.0

There is no supported downgrade after v24 activation, and downgrading before activation has caveats. See "Downgrade warning" in the v24.0.0 release notes.

Release Notes

InstantSend-locked transactions in a full mempool

  • A node now keeps a transaction with an InstantSend lock in its mempool when the mempool is full, along with the unconfirmed transactions it spends from. Previously a full mempool evicted transactions by feerate alone, so it could evict a locked transaction, and the node then dropped the lock as well. (#8199)
  • A node now keeps an InstantSend lock when its transaction leaves the mempool for any reason. The lock stays until the transaction is ChainLocked or a conflicting transaction is. A second lock on an input that already has one is not stored. (#8199)
  • A transaction whose InstantSend lock is already known is accepted below the mempool's rolling minimum feerate. The minimum relay fee still applies. (#8199)
  • Because locked transactions are no longer evicted, the mempool can grow past -maxmempool when locked transactions alone need more room. To bound this, a masternode stops signing InstantSend locks for unconfirmed transactions while locked transactions take up more than 250 MB of its mempool (half of the default -maxmempool, or half of its own limit if that is lower). Transactions left out are locked once they are mined. ChainLocks are not affected. While the mempool holds a large backlog of locked transactions, new transactions may therefore get their InstantSend lock only when they are mined. (#8199)
  • A lock that a node dropped before it was upgraded is not recovered by the upgrade.

Mempool size limit

  • The default -maxmempool is now 500 MB, up from 300 MB. Unused mempool memory is shared with the UTXO cache, so a node running with the defaults can use up to 200 MB more memory than before. A node that is short on memory can set -maxmempool lower, unless it is a masternode.
  • Masternodes must not use a stricter relay policy than the default, and that check follows the new default: a masternode started with -maxmempool below 500 refuses to start.

InstantSend lock fee

  • Relay and mempool acceptance do not change: a transaction has to pay the minimum relay fee and, while a mempool is full, that mempool's rolling minimum fee, and unlocked transactions paying little are still the first to be evicted from a full mempool. What changes is which unconfirmed transactions masternodes lock: as locked transactions take up more of a masternode's mempool, it signs locks only for transactions paying a higher feerate.

    Locked transactions in the mempool Feerate needed for a lock
    below 24 MB the minimum relay fee (1 duff/B by default)
    from 24 MB 2 times that
    from 48 MB 4 times
    from 72 MB 8 times
    from 96 MB 16 times
    from 120 MB 32 times
    from 144 MB 64 times
    from 168 MB 128 times
    from 192 MB 256 times
    from 216 MB 512 times
    from 240 MB 1024 times

    Above 250 MB of locked transactions, no locks are signed until they are mined, as described above.

  • A transaction left out is still locked once it is mined, and it is locked earlier if it pays enough once blocks have lowered the feerate needed. As before, miners include a transaction without a lock only once they have known it for ten minutes.

  • Fee deltas count, and a CoinJoin mixing transaction carries one of 0.1 DASH, so mixing transactions are locked as before until locked transactions take up 216 MB. From there the largest ones (above about 19 kB, and above about 9 kB from 240 MB) are left out too. Asset unlocks, whose fee Platform sets, are locked whatever they pay.

  • getmempoolinfo has a new field, instantsendminfee: the feerate a masternode with this mempool needs for a lock. A wallet that wants a payment locked while many locked transactions wait to be mined should pay at least that. The field stays at 1024 times the minimum relay fee above 250 MB of locked transactions, where paying it no longer gets a lock before the transaction is mined. Wallet fee estimation does not change.

  • A transaction whose input a quorum has already locked to it is accepted below the rolling minimum fee, as a transaction with a known InstantSend lock already is.

Wallet

  • Migrating a large legacy wallet to a descriptor wallet with migratewallet or the GUI "Migrate Wallet" action is much faster. Wallets with many non-HD keys or a long transaction history could take hours on earlier v24.0 releases and now finish in seconds to minutes. Descriptor wallets with many descriptors also detect their transactions faster. (#8294)

v24.0.5 Change log

See detailed set of changes.

Credits

Thanks to everyone who directly contributed to this release:

  • Konstantin Akimov
  • PastaPastaPasta

As well as everyone that submitted issues and reviewed pull requests.

Older releases

These releases are considered obsolete. Old release notes can be found here: