Page MenuHomePhabricator

[Chronik] Plugins: Add `Script` and `Op` objects
ClosedPublic

Authored by tobias_ruck on Jan 12 2024, 15:35.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC25d51bde8c47: [Chronik] Plugins: Add `Script` and `Op` objects
Summary

This allows users of plugins to parse Scripts with a nice interface that abstracts away all the ugliness generally associated with Script, like handling OP_PUSHDATA1 etc.

Test Plan

cargo test -p chronik-plugins

Diff Detail

Repository
rABC Bitcoin ABC
Branch
chronik-plugins-script
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26348
Build 52266: Build Diffbuild-chronik · chronik-client-integration-tests · build-chronik-plugins
Build 52265: arc lint + arc unit

Event Timeline

move python tests to .py file

make python tests use functions and import the module

use chronik_plugin.script submodule

This revision is now accepted and ready to land.Jan 15 2024, 11:25