HomePhabricator

[ecash bip21] Make empty OP_RETURN out of spec

Description

[ecash bip21] Make empty OP_RETURN out of spec

Summary:
I can't think of a good reason to include an empty OP_RETURN output. I could though imagine it happening by accident if someone is generating bip21 params.

Make this out of spec so implementer validation can catch it.

Test Plan: Review summary, attempt to think of counterexample good reason for empty opreturn in params

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D15059

Details

Provenance
bytesofmanAuthored on Jan 2 2024, 18:38
bytesofmanPushed on Jan 2 2024, 19:36
Reviewer
Restricted Project
Differential Revision
D15059: [ecash bip21] Make empty OP_RETURN out of spec
Parents
rABCd8783013f4a2: [Cashtab] Use new sendXec function to register aliases
Branches
Unknown
Tags
Unknown