From 6ad371d7f9b868c2622a09d9a51d5a77ae7fd4b4 Mon Sep 17 00:00:00 2001 From: Nicolas Frisby Date: Thu, 11 Jul 2024 07:13:26 -0700 Subject: [PATCH] Update changelogs --- ...064942_nick.frisby_consolidate_txlimits.md | 23 +++++++++++ ...064938_nick.frisby_consolidate_txlimits.md | 23 +++++++++++ ...064934_nick.frisby_consolidate_txlimits.md | 38 +++++++++++++++++++ 3 files changed, 84 insertions(+) create mode 100644 ouroboros-consensus-cardano/changelog.d/20240711_064942_nick.frisby_consolidate_txlimits.md create mode 100644 ouroboros-consensus-diffusion/changelog.d/20240711_064938_nick.frisby_consolidate_txlimits.md create mode 100644 ouroboros-consensus/changelog.d/20240711_064934_nick.frisby_consolidate_txlimits.md diff --git a/ouroboros-consensus-cardano/changelog.d/20240711_064942_nick.frisby_consolidate_txlimits.md b/ouroboros-consensus-cardano/changelog.d/20240711_064942_nick.frisby_consolidate_txlimits.md new file mode 100644 index 0000000000..ada8df1474 --- /dev/null +++ b/ouroboros-consensus-cardano/changelog.d/20240711_064942_nick.frisby_consolidate_txlimits.md @@ -0,0 +1,23 @@ + + +### Patch + +- Updates for the `TxLimits` mempool consolidation. + +### Non-Breaking + +- Do not check transaction sizes in the forging functions; simply include all + given transactions. + +- Remove the hotfix Babbage mempool checks. + + diff --git a/ouroboros-consensus-diffusion/changelog.d/20240711_064938_nick.frisby_consolidate_txlimits.md b/ouroboros-consensus-diffusion/changelog.d/20240711_064938_nick.frisby_consolidate_txlimits.md new file mode 100644 index 0000000000..f5b93fa410 --- /dev/null +++ b/ouroboros-consensus-diffusion/changelog.d/20240711_064938_nick.frisby_consolidate_txlimits.md @@ -0,0 +1,23 @@ + + + +### Patch + +- Updates for the `TxLimits` mempool consolidation. + + + diff --git a/ouroboros-consensus/changelog.d/20240711_064934_nick.frisby_consolidate_txlimits.md b/ouroboros-consensus/changelog.d/20240711_064934_nick.frisby_consolidate_txlimits.md new file mode 100644 index 0000000000..b5ff7cbaee --- /dev/null +++ b/ouroboros-consensus/changelog.d/20240711_064934_nick.frisby_consolidate_txlimits.md @@ -0,0 +1,38 @@ + + + + + +### Breaking + +- Consolidate `TxLimits` in the mempool. + - Remove `Mempool.`getTxSize`; the snapshot interface contains byte sizes + now. + + - Transaction size, block capacity, and mempool capacity are + multi-dimensional vectors (`ExUnits`, etc), instead of merely bytes: + `TxMeasure`. + + - A transaction cannot be added if it would push any component of the size + over that component of the mempool capacity. + + - The mempool capacity override is still specified in terms of bytes, but + the magnitude is interpreted via division as a block count, rounded up. + +- Pass a correctly-sized prefix of the mempool to the forging functions, + instead of its entire contents. The mempool's finger tree is best way to find + that cutoff.