Crate bitcoin_num

Source
Expand description

§Rust Bibtcoin Numeric Library

This is a simple, no-dependency library which implements utility functions for working with big integers, hex encodings etc needed by Bitcoin. It differs from other existing cragtes in the field in it’s focus on supporting the same versions of Rust compilers as bitcoin and bitcoin_hashes crates and not using any external dependencies in order to reduce potential attack surface.

Re-exports§

pub extern crate core;

Modules§

endian
Functions for endianess conversions; required to support old Rust compiler versions
hex
Hex encoding and decoding
uint
Big unsigned integer types
util
Utility functions

Macros§

impl_bytes_newtype
Implements several traits for byte-based newtypes. Implements: