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.
This commit is contained in:
parent
be4dffbb5b
commit
97b20a2316
|
@ -97,7 +97,9 @@ impl OutPoint {
|
||||||
/// This is used as the dummy input for coinbase transactions because they don't have any
|
/// 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.
|
/// 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 };
|
pub const COINBASE_PREVOUT: Self = Self { txid: Txid::COINBASE_PREVOUT, vout: u32::MAX };
|
||||||
|
}
|
||||||
|
|
||||||
|
impl OutPoint {
|
||||||
/// Creates a new [`OutPoint`].
|
/// Creates a new [`OutPoint`].
|
||||||
#[inline]
|
#[inline]
|
||||||
#[deprecated(since = "TBD", note = "use struct initialization syntax instead")]
|
#[deprecated(since = "TBD", note = "use struct initialization syntax instead")]
|
||||||
|
|
Loading…
Reference in New Issue