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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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