cuprate_types/rpc/
mod.rs

1//! Various types (in)directly used in RPC.
2//!
3//! These types map very closely to types within `cuprate-rpc-types`,
4//! however they use more canonical types when appropriate, for example,
5//! instead of `hash: String`, this module's types would use something like
6//! `hash: [u8; 32]`.
7
8mod key_image_spent_status;
9mod pool_info;
10mod pool_info_extent;
11mod types;
12
13pub use key_image_spent_status::KeyImageSpentStatus;
14pub use pool_info::PoolInfo;
15pub use pool_info_extent::PoolInfoExtent;
16pub use types::{
17    AddAuxPow, AuxPow, BlockHeader, BlockOutputIndices, ChainInfo, CoinbaseTxSum, ConnectionInfo,
18    FeeEstimate, GetBan, GetMinerDataTxBacklogEntry, GetOutputsOut, HardForkEntry, HardForkInfo,
19    HistogramEntry, MinerData, MinerDataTxBacklogEntry, OutputDistributionData,
20    OutputHistogramEntry, OutputHistogramInput, Peer, PoolInfoFull, PoolInfoIncremental,
21    PoolTxInfo, PublicNode, SetBan, Span, SpentKeyImageInfo, SyncInfoPeer, TxBacklogEntry, TxInfo,
22    TxOutputIndices, TxpoolHisto, TxpoolStats,
23};