Documentation
¶
Overview ¶
Package importutil provides shared helpers for metadata import operations across all database backends (sqlite, postgres, mysql).
Index ¶
Constants ¶
const RefetchChunkSize = 500
RefetchChunkSize limits the number of tx_ids in a single WHERE IN clause to stay within database variable limits (e.g. SQLite's SQLITE_MAX_VARIABLE_NUMBER, PostgreSQL's 65535 parameter limit).
Variables ¶
This section is empty.
Functions ¶
func BatchHydrateUtxoProvenance ¶ added in v0.47.1
BatchHydrateUtxoProvenance attaches transaction provenance to UTxOs that were inserted earlier from a ledger-state snapshot. The chain backfill later replays the producing transaction with the same tx_id/output_idx pair, but the bulk import uses ON CONFLICT DO NOTHING, so conflicted rows need this second pass to gain their transaction foreign key and real added slot.
Types ¶
This section is empty.