HomePhabricator

[Chronik] Add `Script` and `ScriptMut`

Description

[Chronik] Add Script and ScriptMut

Summary:
We use two structs to represent Bitcoin scripts:

  • Script: An immutable and cheap to copy script.
  • ScriptMut: A mutable script with helpful functions to modify scripts.

Depends on D13528.

Test Plan: ninja check-crates

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

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

Details

Provenance
tobias_ruckAuthored on Apr 1 2023, 19:27
tobias_ruckPushed on Apr 3 2023, 10:57
Reviewer
Restricted Project
Differential Revision
D13529: [Chronik] Add `Script` and `ScriptMut`
Parents
rABCa08b69da91b0: [Automated] Update timing.json
Branches
Unknown
Tags
Unknown