brk_types 0.3.0-beta.8

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

use crate::{Sats, Txid, Weight};

/// A transaction in a CPFP relationship.
#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)]
#[serde(rename_all = "camelCase")]
pub struct CpfpEntry {
    pub txid: Txid,
    pub weight: Weight,
    pub fee: Sats,
}