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
protobufstructures 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 KeyserverClientallows 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
AddressMetadatapaired with itsPublicKey, the rawAuthWrapperand aPOP token. - RawAuth
Wrapper Package - The raw
AuthWrapperpaired 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
Peersinto a single structure. - select_
auth_ wrapper - Select best
AuthWrapperfrom a list. - uniform_
random_ sampler - Choose from a random subset of URIs.