Skip to content

Commit

Permalink
Merge pull request #26 from bitcoincoretech/issue_25
Browse files Browse the repository at this point in the history
#25 BIP174 should not have TransactionInput/Output
  • Loading branch information
junderw authored Aug 26, 2023
2 parents fc4aab5 + 37bc6c8 commit a3d320f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
11 changes: 0 additions & 11 deletions src/lib/interfaces.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,17 +110,6 @@ export declare type TransactionIOCountGetter = (txBuffer: Buffer) => {
inputCount: number;
outputCount: number;
};
export interface TransactionInput {
hash: string | Buffer;
index: number;
sequence?: number;
}
export declare type TransactionInputAdder = (input: TransactionInput, txBuffer: Buffer) => Buffer;
export interface TransactionOutput {
script: Buffer;
value: number;
}
export declare type TransactionOutputAdder = (output: TransactionOutput, txBuffer: Buffer) => Buffer;
export declare type TransactionVersionSetter = (version: number, txBuffer: Buffer) => Buffer;
export declare type TransactionLocktimeSetter = (locktime: number, txBuffer: Buffer) => Buffer;
export {};
21 changes: 0 additions & 21 deletions ts_src/lib/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,27 +156,6 @@ export type TransactionIOCountGetter = (
outputCount: number;
};

export interface TransactionInput {
hash: string | Buffer;
index: number;
sequence?: number;
}

export type TransactionInputAdder = (
input: TransactionInput,
txBuffer: Buffer,
) => Buffer;

export interface TransactionOutput {
script: Buffer;
value: number;
}

export type TransactionOutputAdder = (
output: TransactionOutput,
txBuffer: Buffer,
) => Buffer;

export type TransactionVersionSetter = (
version: number,
txBuffer: Buffer,
Expand Down

0 comments on commit a3d320f

Please sign in to comment.