[][src]Module bch::util

Miscellaneous helpers

Modules

rx

Lightweight reactive library

Structs

Amount

An amount of bitcoin in satoshis

BloomFilter

Bloom filter used by SPV nodes to limit transactions received

Hash160

160-bit hash for public key addresses

Hash256

256-bit hash for blocks and transactions

Enums

Error

Standard error type used in the library

Units

Denomination of a bitcoin amount

Constants

BLOOM_FILTER_MAX_FILTER_SIZE

Maximum number of bytes in the bloom filter bit field

BLOOM_FILTER_MAX_HASH_FUNCS

Maximum number of hash functions for the bloom filter

Traits

Serializable

An object that may be serialized and deserialized

Functions

hash160

Hashes a data array once with SHA256 and again with RIPEMD160

secs_since

Gets the time in seconds since a time in the past

sha256d

Hashes a data array twice using SHA256

Type Definitions

Result

Standard Result used in the library