Struct core_rpc_json::GetBlockTemplateResultTransaction [−][src]
pub struct GetBlockTemplateResultTransaction {
pub txid: Txid,
pub wtxid: Wtxid,
pub raw_tx: Vec<u8>,
pub fee: Amount,
pub sigops: u32,
pub weight: usize,
pub depends: Vec<u32>,
}Expand description
Models a single transaction entry in the result of “getblocktemplate”
Fields
txid: TxidThe transaction id
wtxid: WtxidThe wtxid of the transaction
raw_tx: Vec<u8>The serilaized transaction bytes
fee: Amountsigops: u32Transaction sigops
weight: usizeTransaction weight in weight units
depends: Vec<u32>Transactions that must be in present in the final block if this one is.
Indexed by a 1-based index in the GetBlockTemplateResult.transactions
list
Implementations
Trait Implementations
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>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl Send for GetBlockTemplateResultTransaction
impl Sync for GetBlockTemplateResultTransaction
impl Unpin for GetBlockTemplateResultTransaction
Blanket Implementations
Mutably borrows from an owned value. Read more