Crate bitcoin_pool_identification[][src]

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

Pool

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

Enums

IdentificationMethod

Traits

PoolIdentification

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

Functions

coinbase_address_matching

Tries to match known mining pool addresses to the given address. Returning Some(Pool) if a pool with this address is known. Otherwise None is returned. The code of this function is auto-generated.

coinbase_tag_matching

Tries to match known mining pool coinbase tags to the given coinbase. Matching is case insensitive. Returning Some(Pool) if a pool with this tag is known. Otherwise None is returned. The code of this function is auto-generated.