cuprated::rpc::request::address_book

Function get_ban

Source
pub(crate) async fn get_ban<Z: NetworkZone>(
    address_book: &mut impl AddressBook<Z>,
    peer: Z::Addr,
) -> Result<Option<Instant>, Error>
Expand description