HomePhabricator

[Chronik] Don't ignore SLP and ALP mixups when parsing

Description

[Chronik] Don't ignore SLP and ALP mixups when parsing

Summary:
Users may accidentally use SLP in eMPP, or forget to use OP_RESERVED when using ALP, both of which currently silently get ignored when parsing.

However, it would be more helpful to return an error in this case so they know exactly what went wrong.

Test Plan: cargo test -p bitcoinsuite-slp

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

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

Details

Provenance
tobias_ruckAuthored on Dec 21 2023, 16:32
tobias_ruckPushed on Dec 22 2023, 11:50
Reviewer
Restricted Project
Differential Revision
D15030: [Chronik] Don't ignore SLP and ALP mixups when parsing
Parents
rABC4c471387d04b: remove unused CScript::IsCommitment
Branches
Unknown
Tags
Unknown