@knuth/js-wasm 2.11.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +23 -0
- package/README.md +119 -27
- package/SHA256SUMS +4 -0
- package/package.json +21 -8
- package/src/browser_headers_persistent_v1.js +2 -0
- package/src/browser_headers_persistent_v1.wasm +0 -0
- package/src/kth.js +6 -3
- package/src/kth.wasm +0 -0
- package/types/AsyncResults.d.ts +11 -0
- package/types/Bitcoin.d.ts +4 -0
- package/types/DerivationPath.d.ts +8 -0
- package/types/DoubleList.d.ts +5 -4
- package/types/EcCompressed.d.ts +8 -3
- package/types/EcPublic.d.ts +10 -4
- package/types/ElectrumClient.d.ts +79 -0
- package/types/EllipticCurve.d.ts +8 -2
- package/types/Hash.d.ts +5 -0
- package/types/HdPublic.d.ts +9 -3
- package/types/Input.d.ts +10 -7
- package/types/InputList.d.ts +6 -5
- package/types/Interpreter.d.ts +9 -1
- package/types/Kth.d.ts +4 -0
- package/types/LazySequence.d.ts +4 -0
- package/types/ListHelper.d.ts +13 -1
- package/types/ListNative.d.ts +4 -0
- package/types/NativeLifetime.d.ts +11 -0
- package/types/Opcode.d.ts +10 -3
- package/types/OpcodeAliases.d.ts +16 -0
- package/types/Operation.d.ts +31 -26
- package/types/OperationList.d.ts +6 -5
- package/types/Output.d.ts +11 -7
- package/types/OutputList.d.ts +6 -5
- package/types/OutputPoint.d.ts +8 -4
- package/types/PaymentAddress.d.ts +15 -10
- package/types/PaymentAddressList.d.ts +6 -5
- package/types/Program.d.ts +15 -2
- package/types/RuleFork.d.ts +4 -0
- package/types/Script.d.ts +34 -19
- package/types/ScriptFlags.d.ts +67 -0
- package/types/Secret.d.ts +4 -0
- package/types/SecretFunctions.d.ts +4 -0
- package/types/SighashAlgorithm.d.ts +4 -0
- package/types/SighashGuard.d.ts +10 -0
- package/types/StringList.d.ts +5 -4
- package/types/TokenData.d.ts +8 -3
- package/types/TokenDataBothKinds.d.ts +6 -3
- package/types/TokenDataFungible.d.ts +4 -0
- package/types/TokenDataNonFungible.d.ts +9 -2
- package/types/Transaction.d.ts +12 -10
- package/types/TransactionHelpers.d.ts +14 -0
- package/types/U32List.d.ts +5 -4
- package/types/U64List.d.ts +5 -4
- package/types/Utxo.d.ts +10 -6
- package/types/UtxoList.d.ts +6 -5
- package/types/Wallet.d.ts +28 -52
- package/types/WalletData.d.ts +5 -1
- package/types/WalletManager.d.ts +6 -3
- package/types/WalletUtils.d.ts +53 -0
- package/types/encoding.d.ts +4 -0
- package/types/env.d.ts +4 -0
- package/types/logger.d.ts +6 -0
- package/types/main.d.ts +75 -2
- package/types/nativeScope.d.ts +11 -0
- package/types/types.d.ts +4 -0
- package/types/utils.d.ts +4 -0
- package/types/wasm/EmscriptenModule.d.ts +4 -0
- package/types/wasm/bootloader.d.ts +4 -0
- package/types/wasm/callbacks.d.ts +30 -0
- package/types/wasm/exceptions.d.ts +4 -0
- package/types/wasm/glue.d.ts +960 -170
- package/types/wasm/glue_manual.d.ts +4 -0
- package/types/wasm/loadLib.d.ts +4 -0
- package/types/wasm/manualGeneratedTypes.d.ts +4 -0
- package/types/wasm/mem.d.ts +33 -1
- package/types/wasm/promises.d.ts +4 -0
- package/types/wasm/stack.d.ts +6 -0
- package/types/wasm/string.d.ts +13 -0
- package/types/LazySequence copy.d.ts +0 -0
- package/types/wasm/glue copy.d.ts +0 -230
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
// Copyright (c) 2016-present Knuth Project developers.
|
|
2
|
+
// Distributed under the MIT software license, see the accompanying
|
|
3
|
+
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
4
|
+
|
|
1
5
|
declare const _RuleForkEnumNativeKeyToInt: {
|
|
2
6
|
readonly no_rules: 0;
|
|
3
7
|
readonly easy_blocks: number;
|
package/types/wasm/loadLib.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
// Copyright (c) 2016-present Knuth Project developers.
|
|
2
|
+
// Distributed under the MIT software license, see the accompanying
|
|
3
|
+
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
4
|
+
|
|
1
5
|
export interface LoadWasmModuleExt {
|
|
2
6
|
__resolveFilePaths: () => void;
|
|
3
7
|
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
// Copyright (c) 2016-present Knuth Project developers.
|
|
2
|
+
// Distributed under the MIT software license, see the accompanying
|
|
3
|
+
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
4
|
+
|
|
1
5
|
import Klass from '../../tools/wasm-generator/src/klass';
|
|
2
6
|
import Enum from '../../tools/wasm-generator/src/enum';
|
|
3
7
|
import Typedef from '../../tools/wasm-generator/src/typedef';
|
package/types/wasm/mem.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
// Copyright (c) 2016-present Knuth Project developers.
|
|
2
|
+
// Distributed under the MIT software license, see the accompanying
|
|
3
|
+
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
4
|
+
|
|
1
5
|
declare const custom_malloc_sym: unique symbol;
|
|
2
6
|
type AnyTypedArrayConstructor = Int8ArrayConstructor | Uint8ArrayConstructor | Uint8ClampedArrayConstructor | Int16ArrayConstructor | Uint16ArrayConstructor | Int32ArrayConstructor | Uint32ArrayConstructor | Float32ArrayConstructor | Float64ArrayConstructor;
|
|
3
7
|
interface CustomAllocatedArray {
|
|
@@ -10,4 +14,32 @@ declare function free(objOrPtr: any): void;
|
|
|
10
14
|
declare function readUint32(ptr: number): number;
|
|
11
15
|
declare function setUint8Array(encoded: Uint8Array, encodedPtr: number): void;
|
|
12
16
|
declare function subarray(ptr: number, size: number): Uint8Array<ArrayBufferLike>;
|
|
13
|
-
|
|
17
|
+
/** Copy a malloc-owned native byte buffer and release it. */
|
|
18
|
+
declare function copyAndFreeByteArray(ptr: number, size: number): Uint8Array<ArrayBuffer>;
|
|
19
|
+
/** Allocate a zero-filled 4-byte slot for a native out parameter (size_t / pointer / status on wasm32). */
|
|
20
|
+
declare function allocZeroedSlot(): number;
|
|
21
|
+
/**
|
|
22
|
+
* Copy an owned native byte buffer into a fresh Uint8Array and release it with
|
|
23
|
+
* the C function the API documents for it (or only copy it when `release` is omitted). The size slot is read and freed and
|
|
24
|
+
* the native buffer released on every path, including errors.
|
|
25
|
+
*/
|
|
26
|
+
declare function takeByteArray(ptr: number, sizePtr: number, release?: (ptr: number) => void): Uint8Array<ArrayBuffer>;
|
|
27
|
+
/** An input byte array must be a non-null Uint8Array (checked before any buffer is allocated). */
|
|
28
|
+
declare function checkBytes(value: unknown, name: string): asserts value is Uint8Array;
|
|
29
|
+
/** A fixed-size value struct passed as bytes: exactly `size` bytes, because the C function takes no length. */
|
|
30
|
+
declare function checkFixedBytes(value: unknown, name: string, size: number): asserts value is Uint8Array;
|
|
31
|
+
/** Copy `size` bytes out of native memory. */
|
|
32
|
+
declare function readBytes(ptr: number, size: number): Uint8Array;
|
|
33
|
+
/**
|
|
34
|
+
* Allocate a native buffer for an input byte array. An empty array still gets a valid 1-byte buffer
|
|
35
|
+
* (the C API receives a real pointer with length 0), and allocation failure throws here, before anything
|
|
36
|
+
* is copied to address 0 or the FFI is entered.
|
|
37
|
+
*/
|
|
38
|
+
declare function allocBytesBuffer(length: number): number;
|
|
39
|
+
/** An 8/16/32-bit integer parameter wraps (or truncates a fraction) silently in the ABI: refuse values outside its range. */
|
|
40
|
+
declare function checkInt(value: number, name: string, min: number, max: number): void;
|
|
41
|
+
/** A wasm i64 parameter wraps modulo 2^64: reject anything outside the unsigned 64-bit range instead. */
|
|
42
|
+
declare function checkU64(value: bigint, name: string): void;
|
|
43
|
+
/** Signed counterpart of checkU64. */
|
|
44
|
+
declare function checkI64(value: bigint, name: string): void;
|
|
45
|
+
export { checkInt, checkBytes, checkFixedBytes, readBytes, allocBytesBuffer, checkU64, checkI64, malloc, free, buffer, copyAndFreeByteArray, readUint32, setUint8Array, subarray, allocZeroedSlot, takeByteArray };
|
package/types/wasm/promises.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
// Copyright (c) 2016-present Knuth Project developers.
|
|
2
|
+
// Distributed under the MIT software license, see the accompanying
|
|
3
|
+
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
4
|
+
|
|
1
5
|
type GenericPromise<T> = {
|
|
2
6
|
getId: () => number;
|
|
3
7
|
extractPtr?: () => T;
|
package/types/wasm/stack.d.ts
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
|
+
// Copyright (c) 2016-present Knuth Project developers.
|
|
2
|
+
// Distributed under the MIT software license, see the accompanying
|
|
3
|
+
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
4
|
+
|
|
1
5
|
export declare function clearStack(): void;
|
|
6
|
+
/** Reject anything that cannot be passed as a C string: non-strings and text with an embedded NUL (it would be truncated silently). */
|
|
7
|
+
export declare function checkCString(value: string, name?: string): void;
|
|
2
8
|
export declare function allocateUTF8String(value: string): number;
|
package/types/wasm/string.d.ts
CHANGED
|
@@ -1,2 +1,15 @@
|
|
|
1
|
+
// Copyright (c) 2016-present Knuth Project developers.
|
|
2
|
+
// Distributed under the MIT software license, see the accompanying
|
|
3
|
+
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
4
|
+
|
|
1
5
|
export declare function UTF8ToString(ptr: number, size?: number): string;
|
|
6
|
+
/** Copy a malloc-owned C string into JavaScript and release the native buffer. */
|
|
7
|
+
export declare function consumeUTF8String(ptr: number, size?: number): string;
|
|
8
|
+
/**
|
|
9
|
+
* Copy a native C string into JavaScript, then release it with the C function
|
|
10
|
+
* the API documents for it (e.g. `kth_core_destruct_string`). A null pointer
|
|
11
|
+
* yields an empty string and nothing is released. The release runs even when
|
|
12
|
+
* decoding throws.
|
|
13
|
+
*/
|
|
14
|
+
export declare function takeUTF8String(ptr: number, release: (ptr: number) => void): string;
|
|
2
15
|
export declare function StringToUTF8(str: string, ptr: number, maxSize: number): number;
|
|
File without changes
|
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
declare const ptrSym: unique symbol;
|
|
2
|
-
declare const _CurrencyIntToKey: readonly ["bitcoin", "bitcoin_cash", "litecoin"];
|
|
3
|
-
export declare type Currency = (typeof _CurrencyIntToKey)[number];
|
|
4
|
-
declare const _LogLibraryIntToKey: readonly ["boost", "spdlog", "binlog"];
|
|
5
|
-
export declare type LogLibrary = (typeof _LogLibraryIntToKey)[number];
|
|
6
|
-
export declare class LibConfigTypeSizes {
|
|
7
|
-
private readonly [ptrSym];
|
|
8
|
-
static _create(ptr: number): LibConfigTypeSizes;
|
|
9
|
-
get size_int(): number;
|
|
10
|
-
get size_long(): number;
|
|
11
|
-
get size_pointer(): number;
|
|
12
|
-
protected _destructor(): void;
|
|
13
|
-
}
|
|
14
|
-
export declare class LibConfig {
|
|
15
|
-
private readonly [ptrSym];
|
|
16
|
-
static _create(ptr: number): LibConfig;
|
|
17
|
-
get log_library(): LogLibrary;
|
|
18
|
-
get use_libmdbx(): boolean;
|
|
19
|
-
get version(): string;
|
|
20
|
-
get microarchitecture_id(): string;
|
|
21
|
-
get currency(): Currency;
|
|
22
|
-
get mempool(): boolean;
|
|
23
|
-
get db_readonly(): boolean;
|
|
24
|
-
get debug_mode(): boolean;
|
|
25
|
-
get architecture(): string;
|
|
26
|
-
get os_name(): string;
|
|
27
|
-
get compiler_name(): string;
|
|
28
|
-
get compiler_version(): string;
|
|
29
|
-
get optimization_level(): string;
|
|
30
|
-
get build_timestamp(): number;
|
|
31
|
-
get endianness(): string;
|
|
32
|
-
get type_sizes(): LibConfigTypeSizes;
|
|
33
|
-
protected _destructor(): void;
|
|
34
|
-
static getLibconfig(): LibConfig;
|
|
35
|
-
static getEmscriptenVersionMajor(): number;
|
|
36
|
-
static getEmscriptenVersionMinor(): number;
|
|
37
|
-
static getEmscriptenVersionTiny(): number;
|
|
38
|
-
static getBuildTimestamp(): number;
|
|
39
|
-
}
|
|
40
|
-
export declare class StringListNative {
|
|
41
|
-
private readonly [ptrSym];
|
|
42
|
-
static _create(ptr: number): StringListNative;
|
|
43
|
-
protected _destructor(): void;
|
|
44
|
-
constructor();
|
|
45
|
-
pushBack(string: string): void;
|
|
46
|
-
}
|
|
47
|
-
export declare class ShortHashNative {
|
|
48
|
-
private readonly [ptrSym];
|
|
49
|
-
static _create(ptr: number): ShortHashNative;
|
|
50
|
-
get hash(): number;
|
|
51
|
-
protected _destructor(): void;
|
|
52
|
-
}
|
|
53
|
-
export declare class HashNative {
|
|
54
|
-
private readonly [ptrSym];
|
|
55
|
-
static _create(ptr: number): HashNative;
|
|
56
|
-
get hash(): number;
|
|
57
|
-
protected _destructor(): void;
|
|
58
|
-
}
|
|
59
|
-
export declare class LongHashNative {
|
|
60
|
-
private readonly [ptrSym];
|
|
61
|
-
static _create(ptr: number): LongHashNative;
|
|
62
|
-
get hash(): number;
|
|
63
|
-
protected _destructor(): void;
|
|
64
|
-
}
|
|
65
|
-
export declare class HdChainCodeNative {
|
|
66
|
-
private readonly [ptrSym];
|
|
67
|
-
static _create(ptr: number): HdChainCodeNative;
|
|
68
|
-
get data(): number;
|
|
69
|
-
protected _destructor(): void;
|
|
70
|
-
}
|
|
71
|
-
export declare class HdKeyNative {
|
|
72
|
-
private readonly [ptrSym];
|
|
73
|
-
static _create(ptr: number): HdKeyNative;
|
|
74
|
-
get data(): number;
|
|
75
|
-
protected _destructor(): void;
|
|
76
|
-
}
|
|
77
|
-
export declare class EcCompressedNative {
|
|
78
|
-
private readonly [ptrSym];
|
|
79
|
-
static _create(ptr: number): EcCompressedNative;
|
|
80
|
-
get data(): number;
|
|
81
|
-
protected _destructor(): void;
|
|
82
|
-
}
|
|
83
|
-
export declare class EcUncompressedNative {
|
|
84
|
-
private readonly [ptrSym];
|
|
85
|
-
static _create(ptr: number): EcUncompressedNative;
|
|
86
|
-
get data(): number;
|
|
87
|
-
protected _destructor(): void;
|
|
88
|
-
}
|
|
89
|
-
export declare class EcSecretNative {
|
|
90
|
-
private readonly [ptrSym];
|
|
91
|
-
static _create(ptr: number): EcSecretNative;
|
|
92
|
-
get hash(): number;
|
|
93
|
-
protected _destructor(): void;
|
|
94
|
-
}
|
|
95
|
-
export declare class WifUncompressedNative {
|
|
96
|
-
private readonly [ptrSym];
|
|
97
|
-
static _create(ptr: number): WifUncompressedNative;
|
|
98
|
-
get data(): number;
|
|
99
|
-
protected _destructor(): void;
|
|
100
|
-
}
|
|
101
|
-
export declare class WifCompressedNative {
|
|
102
|
-
private readonly [ptrSym];
|
|
103
|
-
static _create(ptr: number): WifCompressedNative;
|
|
104
|
-
get data(): number;
|
|
105
|
-
protected _destructor(): void;
|
|
106
|
-
}
|
|
107
|
-
export declare class HdLineageNative {
|
|
108
|
-
private readonly [ptrSym];
|
|
109
|
-
static _create(ptr: number): HdLineageNative;
|
|
110
|
-
get prefixes(): bigint;
|
|
111
|
-
get depth(): number;
|
|
112
|
-
get parent_fingerprint(): number;
|
|
113
|
-
get child_number(): number;
|
|
114
|
-
protected _destructor(): void;
|
|
115
|
-
}
|
|
116
|
-
export declare class EllipticCurveNative {
|
|
117
|
-
static secretToPublic(out: EcCompressedNative, secret: EcSecretNative): boolean;
|
|
118
|
-
}
|
|
119
|
-
export declare class HdPublicNative {
|
|
120
|
-
private readonly [ptrSym];
|
|
121
|
-
static _create(ptr: number): HdPublicNative;
|
|
122
|
-
protected _destructor(): void;
|
|
123
|
-
constructor();
|
|
124
|
-
isValid(): boolean;
|
|
125
|
-
encoded(): string;
|
|
126
|
-
chainCode(): HdChainCodeNative;
|
|
127
|
-
lineage(): HdLineageNative;
|
|
128
|
-
point(): EcCompressedNative;
|
|
129
|
-
toHdKey(): HdKeyNative;
|
|
130
|
-
derivePublic(index: number): HdPublicNative;
|
|
131
|
-
}
|
|
132
|
-
export declare class HdPrivateNative {
|
|
133
|
-
private readonly [ptrSym];
|
|
134
|
-
static _create(ptr: number): HdPrivateNative;
|
|
135
|
-
protected _destructor(): void;
|
|
136
|
-
constructor();
|
|
137
|
-
constructor(encoded: string);
|
|
138
|
-
constructor(seed: number, size: number, prefixes: bigint);
|
|
139
|
-
isValid(): boolean;
|
|
140
|
-
encoded(): string;
|
|
141
|
-
secret(): EcSecretNative;
|
|
142
|
-
chainCode(): HdChainCodeNative;
|
|
143
|
-
lineage(): HdLineageNative;
|
|
144
|
-
point(): EcCompressedNative;
|
|
145
|
-
toHdKeyNative(): HdKeyNative;
|
|
146
|
-
toPublic(): HdPublicNative;
|
|
147
|
-
derivePrivate(index: number): HdPrivateNative;
|
|
148
|
-
derivePublic(index: number): HdPublicNative;
|
|
149
|
-
}
|
|
150
|
-
export declare class PaymentAddressNative {
|
|
151
|
-
private readonly [ptrSym];
|
|
152
|
-
static _create(ptr: number): PaymentAddressNative;
|
|
153
|
-
protected _destructor(): void;
|
|
154
|
-
constructor(address: string);
|
|
155
|
-
constructor(hash: ShortHashNative, version: number);
|
|
156
|
-
encodedLegacy(): string;
|
|
157
|
-
encodedCashaddr(tokenAware: boolean): string;
|
|
158
|
-
hash20(): ShortHashNative;
|
|
159
|
-
hash32(): HashNative;
|
|
160
|
-
version(): number;
|
|
161
|
-
isValid(): boolean;
|
|
162
|
-
}
|
|
163
|
-
export declare class EcPrivateNative {
|
|
164
|
-
private readonly [ptrSym];
|
|
165
|
-
static _create(ptr: number): EcPrivateNative;
|
|
166
|
-
protected _destructor(): void;
|
|
167
|
-
constructor();
|
|
168
|
-
constructor(wif: string, version: number);
|
|
169
|
-
constructor(wif: WifCompressedNative, version: number);
|
|
170
|
-
constructor(wif: WifUncompressedNative, version: number);
|
|
171
|
-
constructor(secret: EcSecretNative, version: number, compress: boolean);
|
|
172
|
-
isValid(): boolean;
|
|
173
|
-
encoded(): string;
|
|
174
|
-
secret(): EcSecretNative;
|
|
175
|
-
version(): number;
|
|
176
|
-
paymentVersion(): number;
|
|
177
|
-
wifVersion(): number;
|
|
178
|
-
compressed(): boolean;
|
|
179
|
-
toPublic(): EcPublicNative;
|
|
180
|
-
toPaymentAddress(): PaymentAddressNative;
|
|
181
|
-
}
|
|
182
|
-
export declare class EcPublicNative {
|
|
183
|
-
private readonly [ptrSym];
|
|
184
|
-
static _create(ptr: number): EcPublicNative;
|
|
185
|
-
protected _destructor(): void;
|
|
186
|
-
constructor();
|
|
187
|
-
constructor(base16: string);
|
|
188
|
-
constructor(secret: EcPrivateNative);
|
|
189
|
-
constructor(point: EcCompressedNative, compress: boolean);
|
|
190
|
-
isValid(): boolean;
|
|
191
|
-
encoded(): string;
|
|
192
|
-
point(): EcCompressedNative;
|
|
193
|
-
compressed(): boolean;
|
|
194
|
-
toUncompressed(outData: EcUncompressedNative): boolean;
|
|
195
|
-
toPaymentAddress(version: number): PaymentAddressNative;
|
|
196
|
-
}
|
|
197
|
-
export declare class WalletNative {
|
|
198
|
-
static mnemonicsToSeed(mnemonics: StringListNative): LongHashNative;
|
|
199
|
-
static hdNew(seed: LongHashNative, version: number): HdPrivateNative;
|
|
200
|
-
static hdPrivateToEc(key: HdPrivateNative): EcSecretNative;
|
|
201
|
-
static ecToPublic(secret: EcSecretNative, uncompressed: boolean): EcPublicNative;
|
|
202
|
-
static ecToAddress(point: EcPublicNative, version: number): PaymentAddressNative;
|
|
203
|
-
}
|
|
204
|
-
export declare class NodeInfoNative {
|
|
205
|
-
static printThreadId(): void;
|
|
206
|
-
static getThreadId(): bigint;
|
|
207
|
-
static capiVersion(): string;
|
|
208
|
-
static cppapiVersion(): string;
|
|
209
|
-
static microarchitecture(): string;
|
|
210
|
-
static marchNames(): string;
|
|
211
|
-
static currencySymbol(): string;
|
|
212
|
-
static currency(): string;
|
|
213
|
-
static cppapiBuildTimestamp(): number;
|
|
214
|
-
}
|
|
215
|
-
export declare class ScriptNative {
|
|
216
|
-
private readonly [ptrSym];
|
|
217
|
-
static _create(ptr: number): ScriptNative;
|
|
218
|
-
protected _destructor(): void;
|
|
219
|
-
constructor();
|
|
220
|
-
constructor(encoded: Uint8Array, prefix: boolean);
|
|
221
|
-
isValid(): boolean;
|
|
222
|
-
isValidOperations(): boolean;
|
|
223
|
-
satoshiContentSize(): number;
|
|
224
|
-
serializedSize(prefix: boolean): number;
|
|
225
|
-
toStr(activeForks: number): string;
|
|
226
|
-
type(): string;
|
|
227
|
-
toData(prefix: boolean): Uint8Array;
|
|
228
|
-
sigops(embedded: boolean): number;
|
|
229
|
-
}
|
|
230
|
-
export {};
|