pub struct TxPoolAdd {
pub version: u8,
pub unlock_time: u64,
pub inputs: Vec<PoolInput>,
pub outputs: Vec<Output>,
pub extra: Vec<u8>,
pub ringct: PoolRingCt,
/* private fields */
}
Expand description
ZMQ json-full-txpool_add
packets contain an array of TxPoolAdd
.
Each TxPoolAdd
object represents a new transaction in the mempool that was
not previously seen in a block. Miner coinbase transactions are not
included. do-not-relay
transactions are included. Values are not
republished during a re-org.
Fields§
§version: u8
transaction version number. 2
indicates Ring CT (all sub-variants).
unlock_time: u64
if not 0
and less than 500_000_000
, this is the block height when
transaction output(s) are spendable; if >= 500_000_000
this is roughly
the unix epoch block timestamp when the output(s) are spendable.
inputs: Vec<PoolInput>
transaction inputs (key images) with separate rings for each input
outputs: Vec<Output>
transaction outputs
extra: Vec<u8>
extra data for the transaction with variable size, but limited to 1060
bytes (2120
hex nibbles).
ringct: PoolRingCt
ring confidential transaction data
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TxPoolAdd
impl<'de> Deserialize<'de> for TxPoolAdd
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for TxPoolAdd
impl RefUnwindSafe for TxPoolAdd
impl Send for TxPoolAdd
impl Sync for TxPoolAdd
impl Unpin for TxPoolAdd
impl UnwindSafe for TxPoolAdd
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 464 bytes