brk_types 0.2.5

Structs used throughout BRK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use schemars::JsonSchema;
use serde::Deserialize;

use crate::{Txid, Vout};

/// Transaction output reference (txid + output index)
#[derive(Deserialize, JsonSchema)]
pub struct TxidVout {
    /// Transaction ID
    pub txid: Txid,
    /// Output index
    pub vout: Vout,
}