Page MenuHomePhabricator

[Chronik] Move `mempool` module to `chronik-db`
ClosedPublic

Authored by tobias_ruck on Mar 29 2023, 18:12.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC6df34d4b1448: [Chronik] Move `mempool` module to `chronik-db`
Summary

The mempool could be seen as a kind-of in-memory DB for unconfirmed txs, so this certainly isn't out of place.

Having the mempool here also allows for better synergies, e.g. reusing functions specific to Groups.

The legacy Chronik implementation also has the mempool in the chronik-db crate, somehow this was overlooked when porting.

Depends on D13487.

Test Plan

ninja check-crates

Diff Detail

Repository
rABC Bitcoin ABC
Branch
chronik-move-mempool-to-db
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22813
Build 45246: Build Diffbuild-chronik
Build 45245: arc lint + arc unit