diff --git a/bitcoin/script.h b/bitcoin/script.h index 69f46fcde..3dc96b525 100644 --- a/bitcoin/script.h +++ b/bitcoin/script.h @@ -7,7 +7,6 @@ #include struct bitcoin_address; -struct bitcoin_tx_input; struct preimage; struct pubkey; struct sha256; diff --git a/bitcoin/tx.h b/bitcoin/tx.h index 50c414970..fa767cf14 100644 --- a/bitcoin/tx.h +++ b/bitcoin/tx.h @@ -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);