HomePhabricator

[Chronik] Add `plugin` field to `TxInput` in `tx.py`

Description

[Chronik] Add plugin field to TxInput in tx.py

Summary:
Allows plugins to access the plugin data of the spent inputs from previously ran plugins.

We can get this data cheaply and it makes plugins vastly more powerful as information can flow from transaction to transaction.

Depends on D16523 and D16530.

Test Plan: cargo test -p chronik-plugin-impl

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

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

Details

Provenance
tobias_ruckAuthored on Jul 23 2024, 23:05
tobias_ruckPushed on Jul 26 2024, 16:19
Reviewer
Restricted Project
Differential Revision
D16525: [Chronik] Add `plugin` field to `TxInput` in `tx.py`
Parents
rABC1c76802d8cf4: [ecash-lib] Add `pushNumberOp` to push minimally encoded numbers
Branches
Unknown
Tags
Unknown