Page MenuHomePhabricator

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

Authored by tobias_ruck on Jul 27 2024, 22:19.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC017a2ba2f24b: [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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable