// SPDX-License-Identifier: CC0-1.0
//! The `Txid` type.
use ;
use ;
use sha256d;
/// A "normalized TXID".
///
/// Computed on a transaction that has had the signatures removed.
///
/// This type is needed only for legacy (pre-Segwit or P2SH-wrapped segwit version 0)
/// applications. This method clears the `script_sig` field of each input, which in Segwit
/// transactions is already empty, so for Segwit transactions the ntxid will be equal to the
/// txid, and you should simply use the latter.
///
/// This gives a way to identify a transaction that is "the same" as another in the sense of
/// having the same inputs and outputs.
;
impl_debug!;
// The new hash wrapper type.
type HashType = Ntxid;
// The inner hash type from `hashes`.
type Inner = Hash;
include!;