@bsv/overlay
Version:
BSV Blockchain Overlay Services Engine
9 lines • 422 B
TypeScript
import type { Knex } from 'knex';
/**
* Adds optimized index for findUTXOsForTopic queries.
* This query pattern is: WHERE topic = ? AND spent = false ORDER BY score
* The composite index (topic, spent, score) enables efficient range scans.
*/
export declare function up(knex: Knex): Promise<void>;
export declare function down(knex: Knex): Promise<void>;
//# sourceMappingURL=2025-11-11-001-utxo-lookup-index.d.ts.map