@bsv/wallet-toolbox-client
Version:
Client only Wallet Storage
20 lines • 718 B
TypeScript
import { StorageKnex } from '../StorageKnex';
import { TrxToken } from '../../sdk/WalletStorage.interfaces';
/**
* 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?: TrxToken;
}): Promise<{
log: string;
}>;
//# sourceMappingURL=reviewStatus.d.ts.map