HomePhabricator

[Chronik] Add `MempoolTokens` to index mempool token txs

Description

[Chronik] Add MempoolTokens to index mempool token txs

Summary:
Parses, colors, validates and indexes mempool txs as SLP/ALP txs.

In fetch_tx_spent_tokens, bulk-query ops are used wherever possible. It is exposed so we can use it in the indexer later, too.

Test Plan: cargo test -p chronik-db test_mempool_tokens

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

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

Details

Provenance
tobias_ruckAuthored on Jan 5 2024, 17:22
tobias_ruckPushed on Jan 15 2024, 11:57
Reviewer
Restricted Project
Differential Revision
D15099: [Chronik] Add `MempoolTokens` to index mempool token txs
Parents
rABC25d51bde8c47: [Chronik] Plugins: Add `Script` and `Op` objects
Branches
Unknown
Tags
Unknown