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 26347
Build 52264: Build Diffchronik-client-integration-tests · build-chronik · build-chronik-plugins
Build 52263: 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