HomePhabricator

[Chronik] Fix reading coinbase txs when plugins are loaded

Description

[Chronik] Fix reading coinbase txs when plugins are loaded

Summary:
Currently, if any plugins are loaded, APIs reading txs fail for coinbase txs.

This is because MempoolPlugins::fetch_plugin_outputs does a consistency check for missing inputs, and coinbase txs indeed don't have existing inputs, so we have to special case them.

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

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

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

Details

Provenance
tobias_ruckAuthored on Aug 1 2024, 10:09
tobias_ruckPushed on Aug 1 2024, 12:27
Reviewer
Restricted Project
Differential Revision
D16568: [Chronik] Fix reading coinbase txs when plugins are loaded
Parents
rABCfb11627736ad: depends: build miniupnpc with CMake
Branches
Unknown
Tags
Unknown