UNPKG

@bsv/wallet-toolbox-client

Version:
20 lines 704 B
import { sdk } from '../../index.client'; import { StorageIdb } from '../StorageIdb'; /** * Looks for unpropagated state: * * 1. set transactions to 'failed' if not already failed and provenTxReq with matching txid has status of 'invalid'. * 2. sets transactions to 'completed' if provenTx with matching txid exists and current provenTxId is null. * 3. sets outputs to spendable true, spentBy undefined if spentBy is a transaction with status 'failed'. * * @param storage * @param args * @returns */ export declare function reviewStatusIdb(storage: StorageIdb, args: { agedLimit: Date; trx?: sdk.TrxToken; }): Promise<{ log: string; }>; //# sourceMappingURL=reviewStatusIdb.d.ts.map