From 97b20a231611df8bf4dbe0f440c6b2a3442c69f6 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Thu, 19 Sep 2024 13:49:21 +1000 Subject: [PATCH] Add additional impl block to OutPoint In preparation for moving the `OutPoint` to `primitives` add an additional impl block that holds everthing that will stay here in `bitcoin`. Internal change only. --- bitcoin/src/blockdata/transaction.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bitcoin/src/blockdata/transaction.rs b/bitcoin/src/blockdata/transaction.rs index 274aeada4..0e5d937f9 100644 --- a/bitcoin/src/blockdata/transaction.rs +++ b/bitcoin/src/blockdata/transaction.rs @@ -97,7 +97,9 @@ impl OutPoint { /// This is used as the dummy input for coinbase transactions because they don't have any /// previous outputs. In other words, does not point to a real transaction. pub const COINBASE_PREVOUT: Self = Self { txid: Txid::COINBASE_PREVOUT, vout: u32::MAX }; +} +impl OutPoint { /// Creates a new [`OutPoint`]. #[inline] #[deprecated(since = "TBD", note = "use struct initialization syntax instead")]