1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::Deserialize;
use serde::Serialize;

pub mod electrum_protocol;
pub mod error;
pub mod request;
#[derive(Debug, Deserialize, Serialize)]
struct TransactionHistoryEntry {
    height: u32,
    tx_hash: String,
}
#[derive(Debug, Deserialize, Serialize)]
struct MempoolTransaction {
    height: u32,
    tx_hash: String,
    fee: u32,
}