Moved stub TxHash into zebra_chain::transaction
This commit is contained in:
parent
29591df47e
commit
b21b09bf8e
|
@ -1,5 +1,9 @@
|
||||||
//! Transaction types.
|
//! Transaction types.
|
||||||
|
|
||||||
|
/// Stub-- delete later.
|
||||||
|
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
|
||||||
|
pub struct TxHash(pub [u8; 32]);
|
||||||
|
|
||||||
/// OutPoint
|
/// OutPoint
|
||||||
///
|
///
|
||||||
/// A particular transaction output reference.
|
/// A particular transaction output reference.
|
||||||
|
|
|
@ -12,10 +12,7 @@ use zebra_chain::block::BlockHeaderHash;
|
||||||
use zebra_chain::serialization::{
|
use zebra_chain::serialization::{
|
||||||
ReadZcashExt, SerializationError, ZcashDeserialize, ZcashSerialize,
|
ReadZcashExt, SerializationError, ZcashDeserialize, ZcashSerialize,
|
||||||
};
|
};
|
||||||
|
use zebra_chain::transaction::TxHash;
|
||||||
/// Stub-- delete later.
|
|
||||||
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
|
|
||||||
pub struct TxHash(pub [u8; 32]);
|
|
||||||
|
|
||||||
/// An inventory hash which refers to some advertised or requested data.
|
/// An inventory hash which refers to some advertised or requested data.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue