Skip to content

ZIP 317: Allow either inclusion or omission of dependent transactions in block template construction.#1285

Open
nuttycom wants to merge 1 commit into
zcash:mainfrom
nuttycom:zip-317-dependent-txs
Open

ZIP 317: Allow either inclusion or omission of dependent transactions in block template construction.#1285
nuttycom wants to merge 1 commit into
zcash:mainfrom
nuttycom:zip-317-dependent-txs

Conversation

@nuttycom

Copy link
Copy Markdown
Contributor

Resolves #696. Clarifies that the block template construction algorithm permits either including chains of in-mempool dependent transactions (as zcashd does) or restricting the candidate set to transactions whose inputs are all already confirmed (as zebrad does). Both variants are conformant. Under the dependents-allowed option, a candidate is selected only once all of its in-mempool ancestors are already in the block template, keeping the block-size, sigop, and unpaid-action accounting straightforward.

… in block template construction.

Resolves zcash#696. Clarifies that the block template construction
algorithm permits either including chains of in-mempool dependent
transactions (as zcashd does) or restricting the candidate set to
transactions whose inputs are all already confirmed (as zebrad does).
Both variants are conformant. Under the dependents-allowed option, a
candidate is selected only once all of its in-mempool ancestors are
already in the block template, keeping the block-size, sigop, and
unpaid-action accounting straightforward.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ZIP 317: explicitly take into account dependent transactions in the block template construction algorithm

1 participant