HomePhabricator

[Chronik] Add all push opcodes to opcode.rs

Description

[Chronik] Add all push opcodes to opcode.rs

Summary:
Also add the aliases OP_FALSE and OP_TRUE as the node does it.

The first definition of an opcode number defines the name of the opcode (hence the allow(unreachable_patterns); the second opcode is always ignored).

Test Plan: ninja check-crates

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

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

Details

Provenance
tobias_ruckAuthored on Apr 26 2023, 13:34
tobias_ruckPushed on Apr 26 2023, 13:35
Reviewer
Restricted Project
Differential Revision
D13784: [Chronik] Add all push opcodes to opcode.rs
Parents
rABC73234d3d7391: [Cashtab] Lose the one address format reminder
Branches
Unknown
Tags
Unknown