Commit js, ts, and definitions in separate folders
This commit is contained in:
parent
e7ac2b9a4e
commit
bc28949056
148 changed files with 3850 additions and 39 deletions
types
16
types/classify.d.ts
vendored
Normal file
16
types/classify.d.ts
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
/// <reference types="node" />
|
||||
declare const types: {
|
||||
P2MS: string;
|
||||
NONSTANDARD: string;
|
||||
NULLDATA: string;
|
||||
P2PK: string;
|
||||
P2PKH: string;
|
||||
P2SH: string;
|
||||
P2WPKH: string;
|
||||
P2WSH: string;
|
||||
WITNESS_COMMITMENT: string;
|
||||
};
|
||||
declare function classifyOutput(script: Buffer): string;
|
||||
declare function classifyInput(script: Buffer, allowIncomplete: boolean): string;
|
||||
declare function classifyWitness(script: Array<Buffer>, allowIncomplete: boolean): string;
|
||||
export { classifyInput as input, classifyOutput as output, classifyWitness as witness, types, };
|
Loading…
Add table
Add a link
Reference in a new issue