Crate cashweb_bitcoin

Source
Expand description

cashweb-bitcoin is a library providing serialization/deserialization of Bitcoin structures, utility methods for signing, and methods for Hierarchical Deterministic Wallets use.

Modules§

bip32
This module contains the ExtendedPublicKey and ExtendedPrivateKey structs which allow interaction with Hierarchical Deterministic Wallets.
prelude
A “prelude” for crates using the cashweb-bitcoin crate.
transaction
This module contains the primary structs related to Bitcoin transactions. All of them enjoy Encodable and Decodable.
var_int
This module contains the VarInt struct which represents a variable-length integer. It enjoys Encodable and Decodable.

Structs§

InsufficientCapacity
Insufficient capacity in buffer when encoding a Bitcoin structure.
UnexpectedNetwork
Network was unexpected.

Enums§

Network
Enumeration of all standard Bitcoin networks.

Traits§

Decodable
Provides a common interface for the deserialization of bitcoin structures.
Encodable
Provides a common interface for the serialization of bitcoin structures.