Expand description
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 theKeyserver Protocol
. - services
- This module contains lower-level primitives for working with the
KeyserverClient
.
Structs§
- Aggregate
Response - Response to an aggregation query.
- Keyserver
Client KeyserverClient
allows queries to specific keyservers.- Keyserver
Manager - KeyserverManager wraps a client and allows sampling and selecting of queries across a set of keyservers.
- Metadata
Package - The
AddressMetadata
paired with itsPublicKey
, the rawAuthWrapper
and aPOP token
. - RawAuth
Wrapper Package - The raw
AuthWrapper
paired with a [POP token
]. - Sample
Response - Response to a sample query.
Enums§
- Keyserver
Error - 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.