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