HomePhabricator

[Chronik] Add basic structs and consts for SLP and ALP txs

Description

[Chronik] Add basic structs and consts for SLP and ALP txs

Summary:
We use a shared representation for both SLP and ALP, which simplifies the implementation of the verification etc.

This adds support to represent 5 token types:

Depends on D15007.

Test Plan: cargo test -p bitcoinsuite-slp

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

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

Details

Provenance
tobias_ruckAuthored on Dec 19 2023, 23:46
tobias_ruckPushed on Dec 20 2023, 16:29
Reviewer
Restricted Project
Differential Revision
D15011: [Chronik] Add basic structs and consts for SLP and ALP txs
Parents
rABC3e4a4bb8d4e9: [Chronik] Add `TxId::new` and `TxId::hash`
Branches
Unknown
Tags
Unknown