PHP WebShell
Текущая директория: /opt/BitGoJS/modules/utxo-core/dist/src/descriptor/psbt
Просмотр файла: assertSatisfiable.d.ts
/**
* These are some helpers for testing satisfiability of descriptors in PSBTs.
*
* They are mostly a debugging aid - if an input cannot be satisified, the `finalizePsbt()` method will fail, but
* the error message is pretty vague.
*
* The methods here have the goal of catching certain cases earlier and with a better error message.
*
* The goal is not an exhaustive check, but to catch common mistakes.
*/
import { Descriptor } from '@bitgo/wasm-miniscript';
import * as utxolib from '@bitgo/utxo-lib';
export declare const FINAL_SEQUENCE = 4294967295;
/**
* Get the required locktime for a descriptor.
* @param descriptor
*/
export declare function getRequiredLocktime(descriptor: Descriptor | unknown): number | undefined;
export declare function assertSatisfiable(psbt: utxolib.Psbt, inputIndex: number, descriptor: Descriptor): void;
//# sourceMappingURL=assertSatisfiable.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!