Page MenuHomePhabricator

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

Authored by tobias_ruck on Dec 21 2023, 16:32.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC5277980ab6a4: [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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable