[−][src]Crate bitcoin
Rust Bitcoin Library
This is a library for which supports the Bitcoin network protocol and associated primitives. It is designed for Rust programs built to work with the Bitcoin network.
It is also written entirely in Rust to illustrate the benefits of strong type safety, including ownership and lifetime, for financial and/or cryptographic software.
Re-exports
pub use blockdata::block::Block; |
pub use blockdata::block::BlockHeader; |
pub use blockdata::transaction::Transaction; |
pub use blockdata::transaction::TxIn; |
pub use blockdata::transaction::TxOut; |
pub use blockdata::transaction::OutPoint; |
pub use blockdata::transaction::SigHashType; |
pub use consensus::encode::VarInt; |
pub use util::Error; |
pub use util::address::Address; |
pub use util::hash::BitcoinHash; |
pub use util::decimal::Decimal; |
pub use util::decimal::UDecimal; |
Modules
blockdata | Blockdata |
consensus | Consensus |
network | Network Support |
util | Utility functions |
Structs
PrivateKey | A Bitcoin ECDSA private key |
PublicKey | A Bitcoin ECDSA public key |
Script | A Bitcoin script |
Enums
Network | The cryptocurrency to act on |