Skip to content

Commit

Permalink
Duplicating changes made to master to the V6 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonDMiller committed Oct 1, 2024
1 parent 57078a2 commit 5ade6e3
Show file tree
Hide file tree
Showing 4 changed files with 458 additions and 496 deletions.
2 changes: 1 addition & 1 deletion src/transaction.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="node" />
export interface Output {
script: Buffer;
value: number;
Expand Down Expand Up @@ -35,6 +34,7 @@ export declare class Transaction {
addInput(hash: Buffer, index: number, sequence?: number, scriptSig?: Buffer): number;
addOutput(scriptPubKey: Buffer, value: number): number;
hasWitnesses(): boolean;
stripWitnesses(): void;
weight(): number;
virtualSize(): number;
byteLength(_ALLOW_WITNESS?: boolean): number;
Expand Down
Loading

0 comments on commit 5ade6e3

Please sign in to comment.