Skip to content

Commit 83450a6

Browse files
committed
psbt explicit optional fields
1 parent 13704bc commit 83450a6

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

psbt-optional-fields.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## Abstract
2+
3+
In general, if encountering PSBT fields that are unrecognized, to avoid costly
4+
mistakes it is best to fail and not assume that those fields are backwards
5+
compatible.
6+
7+
However, some information, for example BIP 353 `PSBT_OUT_DNSSEC_PROOF`, and may
8+
safely be ignored by devices that in this case might not able verify the BIP
9+
353 DNSSEC signature chain.
10+
11+
## Specification
12+
13+
Top level `PSBT_GLOBAL_RULESETS`. keydata contains identifier e.g. `BIP <n>`
14+
for well known protocols or arbitrary domain separators (encoded like
15+
proprietary keys or or as hashes). rationale: this allows definition of machine
16+
readable schema of rules that are supposed to be enforced, something which may
17+
not be self evident from just the fields depending on the state of the PSBT.
18+
19+
Top level `PSBT_GLOBAL_OPTIONAL_FIELDS` - keydata identifying the fields that
20+
are safe to ignore. these are presumed to correspond to the active rulesets.
21+

0 commit comments

Comments
 (0)