From 957cc57f57d62910d732e86d136292bbd13479e1 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Mon, 5 Dec 2022 19:54:09 +0000 Subject: [PATCH] ZIP 317: allow nodes to drop transactions with more than block_unpaid_action_limit unpaid actions. Signed-off-by: Daira Hopwood --- zip-0317.html | 3 +++ zip-0317.rst | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/zip-0317.html b/zip-0317.html index 1ff714eb..5edcd443 100644 --- a/zip-0317.html +++ b/zip-0317.html @@ -251,6 +251,9 @@ Pull-Request: <https://githu

Transaction relaying

zcashd, zebrad, and potentially other node implementations, implement fee-based restrictions on relaying of mempool transactions. Nodes that normally relay transactions are expected to do so for transactions that pay at least the conventional fee as specified in this ZIP, unless there are other reasons not to do so for robustness or denial-of-service mitigation.

+

If a transaction has more than + \(block\_unpaid\_action\_limit\) + "unpaid actions" as defined by the Recommended algorithm for block template construction, it will never be mined by that algorithm. Nodes MAY drop these transactions.

Mempool size limiting

zcashd and zebrad limit the size of the mempool as described in 7. This specifies a diff --git a/zip-0317.rst b/zip-0317.rst index 4d972b27..9b0c599a 100644 --- a/zip-0317.rst +++ b/zip-0317.rst @@ -244,6 +244,10 @@ normally relay transactions are expected to do so for transactions that pay at least the conventional fee as specified in this ZIP, unless there are other reasons not to do so for robustness or denial-of-service mitigation. +If a transaction has more than :math:`block\_unpaid\_action\_limit` "unpaid actions" +as defined by the `Recommended algorithm for block template construction`_, +it will never be mined by that algorithm. Nodes MAY drop these transactions. + Mempool size limiting ---------------------