Skip to content

Protect decode-unsigned-tx from oversized input amplification - #678

Open
tdroxler wants to merge 1 commit into
masterfrom
decode-tx-too-much-inputs
Open

Protect decode-unsigned-tx from oversized input amplification#678
tdroxler wants to merge 1 commit into
masterfrom
decode-tx-too-much-inputs

Conversation

@tdroxler

Copy link
Copy Markdown
Member

Reject unsigned transactions with more than ALPH.MaxTxInputNum inputs before any DB lookup, and batch input output-ref resolution into one query instead of one sequential lookup per input.

Reject unsigned transactions with more than ALPH.MaxTxInputNum
inputs before any DB lookup, and batch input output-ref
resolution into one query instead of one sequential lookup per input.
@tdroxler
tdroxler requested a review from h0ngcha0 August 21, 2026 15:59
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.

1 participant