Remove private __byteLength from Transaction

This commit is contained in:
junderw 2019-12-09 10:37:55 +09:00
commit 10fcf3d9e1
No known key found for this signature in database
GPG key ID: B256185D3A971908
5 changed files with 50 additions and 60 deletions

View file

@ -30,7 +30,7 @@ export declare class Transaction {
hasWitnesses(): boolean;
weight(): number;
virtualSize(): number;
byteLength(): number;
byteLength(_ALLOW_WITNESS?: boolean): number;
clone(): Transaction;
/**
* Hash transaction for signing a specific input.
@ -48,6 +48,5 @@ export declare class Transaction {
toHex(): string;
setInputScript(index: number, scriptSig: Buffer): void;
setWitness(index: number, witness: Buffer[]): void;
private __byteLength;
private __toBuffer;
}