use zebra_chain::{ block::{self, Block}, transaction::Transaction, }; use crate::meta_addr::MetaAddr; use std::sync::Arc; /// A response to a network request, represented in internal format. #[derive(Clone, Debug)] pub enum Response { /// A response with no data. Nil, /// A list of peers, used to respond to `GetPeers`. Peers(Vec), /// A list of blocks. Blocks(Vec>), /// A list of block hashes. BlockHashes(Vec), /// A list of transactions. Transactions(Vec>), }