Skip to content

blockchain: Early null revocation input check.#3684

Merged
davecgh merged 1 commit intodecred:masterfrom
davecgh:blockchain_early_nulloutpoint_check
May 6, 2026
Merged

blockchain: Early null revocation input check.#3684
davecgh merged 1 commit intodecred:masterfrom
davecgh:blockchain_early_nulloutpoint_check

Conversation

@davecgh
Copy link
Copy Markdown
Member

@davecgh davecgh commented Apr 28, 2026

The early null output check for the ticket input of revocations was inadvertently removed when the automatic revocations agenda was introduced. This restores that check.

Not doing the early check doesn't cause any real issue because later checks will fail on attempting to lookup a null output anyway, but it is always ideal to fail as early as possible to avoid additional unnecessary work.

@davecgh davecgh added this to the 2.2.0 milestone Apr 28, 2026
The early null output check for the ticket input of revocations was
inadvertently removed when the automatic revocations agenda was
introduced.  This restores that check.

Not doing the early check doesn't cause any real issue because later
checks will fail on attempting to lookup a null output anyway, but it is
always ideal to fail as early as possible to avoid additional
unnecessary work.
@davecgh davecgh force-pushed the blockchain_early_nulloutpoint_check branch from 317f767 to e0eaa8f Compare May 6, 2026 21:56
@davecgh davecgh merged commit e0eaa8f into decred:master May 6, 2026
32 checks passed
@davecgh davecgh deleted the blockchain_early_nulloutpoint_check branch May 6, 2026 22:00
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.

3 participants