From e94e3c56989f56b4326c29142c49b9f5627f112a Mon Sep 17 00:00:00 2001 From: Oli Date: Tue, 2 Jun 2026 13:54:16 +0200 Subject: [PATCH] BIP-0322: clarify sequence semantics for Proof of Funds This commit clarifies that even for Proof of Funds signatures the sequence of the first input is considered as "age S". The reasoning behind this is that only the first input is a synthetic one that doesn't reference a real transaction to which the height could be compared against. Even though the Proof of Funds inputs could have higher sequence values, those heights might have already been long reached and would make the sequence values irrelevant compared to the potential restrictions in the challenge script. --- bip-0322.mediawiki | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bip-0322.mediawiki b/bip-0322.mediawiki index 3fe9a067..ca6ce11c 100644 --- a/bip-0322.mediawiki +++ b/bip-0322.mediawiki @@ -263,6 +263,8 @@ Validation consists of the following steps: ## The use of Segwit versions greater than 1 is forbidden. ## If any of the above steps failed, the validator should stop and output the ''inconclusive'' state. # Let ''T'' be the nLockTime of to_sign and ''S'' be the nSequence of the first input of to_sign. Output the state ''valid at time T and age S''. +## For ''full Proof of Funds'' signatures, a validator MAY additionally report any non-zero nSequence values on the Proof of Funds inputs (i.e., vin[1..n]), and MAY verify them against the current chain state when the UTXO set is available; such checks are advisory and do not affect the output state. + === Signing ===