build_coinbase

/// Build a coinbase output and insert into wallet
/// Response to build a coinbase output.
pub struct CbData {
    /// Output
    pub output: String,
    /// Kernel
    pub kernel: String,
    /// Key Id
    pub key_id: String,
}
/// Fees in block to use for coinbase amount calculation
pub struct BlockFees {
    /// fees
    pub fees: u64,
    /// height
    pub height: u64,
    /// key id
    pub key_id: Option<Identifier>,
}

receive_coinbase

//TODO: Split up the output creation and the wallet insertion
/// Build a coinbase output and the corresponding kernel

results matching ""

    No results matching ""