[][src]Crate cashweb_keyserver_client

cashweb-bitcoin-client is a library providing KeyserverClient which allows interaction with specific keyservers and KeyserverManager which allows sampling and aggregation over multiple keyservers.

Modules

models

This module contains all the protobuf structures involved in the Keyserver Protocol.

services

This module contains lower-level primitives for working with the KeyserverClient.

Structs

AggregateResponse

Response to an aggregation query.

KeyserverClient

KeyserverClient allows queries to specific keyservers.

KeyserverManager

KeyserverManager wraps a client and allows sampling and selecting of queries across a set of keyservers.

MetadataPackage

The AddressMetadata paired with its [PublicKey], the raw AuthWrapper and a POP token.

RawAuthWrapperPackage

The raw AuthWrapper paired with a [POP token].

SampleResponse

Response to a sample query.

Enums

KeyserverError

Error associated with sending a request to a keyserver.

Functions

aggregate_peers

Aggregate a collection of Peers into a single structure.

select_auth_wrapper

Select best AuthWrapper from a list.

uniform_random_sampler

Choose from a random subset of URIs.