Page MenuHomePhabricator

[Chronik] Add `/script/:type/:payload/unconfirmed-txs`
ClosedPublic

Authored by tobias_ruck on Apr 5 2023, 08:45.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCbc6b5a773caa: [Chronik] Add `/script/:type/:payload/unconfirmed-txs`
Summary

This is the equivalent of /script/:type/:payload/confirmed-txs but only for mempool txs. We (currently) always return all txs of a script without pagination, as querying from the mempool (which is in RAM) will always be fast.

We still return TxHistoryPage, in case we might need pagination in the future, and having it return the same type as the other endpoints is nice for users of the API.

Depends on D13567.

Test Plan

ninja check-crates && ninja check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Branch
chronik-script-unconfirmed-txs
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22975
Build 45570: Build Diffbuild-clang-tidy · build-diff · build-without-wallet · build-debug · build-clang · build-chronik
Build 45569: arc lint + arc unit