HomePhabricator

[Chronik] Add `MempoolPlugins`, run plugins on mempool txs

Description

[Chronik] Add MempoolPlugins, run plugins on mempool txs

Summary:
In D16537 we index block txs using plugins, in this diff we index mempool txs.

fetch_plugin_outputs is used both to find the tx inputs' plugin outputs for run_on_tx, and also to return the plugin outputs when accessing the APIs.

Depends on D16537.

Test Plan: ./test/functional/test_runner.py chronik_plugins

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

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

Details

Provenance
tobias_ruckAuthored on Jul 27 2024, 22:18
tobias_ruckPushed on Jul 29 2024, 12:44
Reviewer
Restricted Project
Differential Revision
D16540: [Chronik] Add `MempoolPlugins`, run plugins on mempool txs
Parents
rABCe3f9c1b0fa67: [Chronik] Enable indexing txs by plugins + return protobuf
Branches
Unknown
Tags
Unknown