PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/utxo-core/dist/src/testutil/descriptor

Просмотр файла: descriptors.d.ts

import { Miniscript, Descriptor, ast } from '@bitgo/wasm-miniscript';
import { BIP32Interface } from '@bitgo/utxo-lib';
import { DescriptorMap, PsbtParams } from '../../descriptor';
import { Triple, KeyTriple } from '../key.utils';
export declare function getDefaultXPubs(seed?: string): Triple<string>;
export declare function getUnspendableKey(): string;
export type DescriptorTemplate = 'Wsh2Of3' | 'Tr1Of3-NoKeyPath-Tree' | 'Tr1Of3-NoKeyPath-Tree-Plain' | 'Tr2Of3-NoKeyPath' | 'Wsh2Of2' | 'Wsh2Of3CltvDrop';
export declare function getPsbtParams(t: DescriptorTemplate): Partial<PsbtParams>;
export declare function containsKey(script: Miniscript | ast.MiniscriptNode, key: BIP32Interface | string): boolean;
export declare function getTapLeafScripts(d: Descriptor): string[];
export declare function getDescriptor(template: DescriptorTemplate, keys?: KeyTriple | string[], path?: string): Descriptor;
export declare function getDescriptorMap(template: DescriptorTemplate, keys?: KeyTriple | string[]): DescriptorMap;
//# sourceMappingURL=descriptors.d.ts.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!