Crate bitcoin_pool_identification

Source
Expand description

§Bitcoin Mining Pool Identification

Crate to identify Bitcoin mining pools based on coinbase transaction metadata like, for example, pool set coinbase tags or coinbase output addresses.

Structs§

IdentificationResult
Pool
Models a mining pool with a name and optionally a link to the pool website.

Enums§

IdentificationMethod

Constants§

DEFAULT_MAINNET_POOL_LIST
DEFAULT_SIGNET_POOL_LIST

Traits§

PoolIdentification
Trait for Bitcoin mining pool identification based on metadata like coinbase tags or coinbase output addresses.

Functions§

default_data
Returns the default pool list for the given Network. These lists might not be fully up-to-date. Currently, only default lists for Network::Bitcoin (mainnet) and [Network:Signet] are provided. The defaults for Network::Testnet and Network::Regtest are empty lists. For all other possible future networks (Network is non_exhaustive), an empty list is returned.
parse_json
Parses a JSON formatted list of pools entries. Format: