bitcoin: remove unused struct bitcoin_tx_input.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2020-05-13 12:48:27 +09:30
parent 88402bc234
commit 4bcac3032c
2 changed files with 0 additions and 12 deletions

View File

@ -7,7 +7,6 @@
#include <ccan/tal/tal.h>
struct bitcoin_address;
struct bitcoin_tx_input;
struct preimage;
struct pubkey;
struct sha256;

View File

@ -40,17 +40,6 @@ struct bitcoin_tx_output {
u8 *script;
};
struct bitcoin_tx_input {
struct bitcoin_txid txid;
u32 index; /* output number referred to by above */
u8 *script;
u32 sequence_number;
/* Only if BIP141 used. */
u8 **witness;
};
/* SHA256^2 the tx: simpler than sha256_tx */
void bitcoin_txid(const struct bitcoin_tx *tx, struct bitcoin_txid *txid);