/** * Bitcoin dust thresholds — the single source of truth for "is this output * too small to be worth emitting?". * * Two independent code paths need this policy and MUST agree on it: * - `modules/bitcoin/transaction` (the builder) decides whether to emit a * change output or fold it into the miner fee. * - `modules/bitcoin/invalidator-classification` (the stale-spend recovery * verifier) decides whether a MISSING change output is explained by that * fold, or is a suspicious shape to refuse attesting. * * They lived apart once, and only the builder knew about dust. The verifier * demanded a 64-sat change output the network will not relay, and the * reservation it was meant to release could never be cleared (mainnet * 2026-08-28). Keep the table here; do not re-derive it at a call site. */ /** * Bitcoin Core dust threshold by scriptPubKey type (at the default * 3 sat/vB dust relay rate): P2WPKH = 294, other witness programs * (P2WSH / P2TR) = 330, legacy (P2PKH / P2SH) = 546. Falls back to the * conservative legacy constant for unrecognized scripts. */ export declare function dustLimitForScript(scriptHex: string): number; //# sourceMappingURL=dust.d.ts.map