Page MenuHomePhabricator

[Chronik] Add all push opcodes to opcode.rs
ClosedPublic

Authored by tobias_ruck on Apr 26 2023, 09:54.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
chronik-pushopcodes
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23467
Build 46553: Build Diffbuild-chronik
Build 46552: arc lint + arc unit