{"repo":"0xB10C/rust-bitcoin-pool-identification","free":true,"listed":false,"github":"https://github.com/0xB10C/rust-bitcoin-pool-identification","clone":"git clone https://github.com/0xB10C/rust-bitcoin-pool-identification.git","description":"Coinbase tag and coinbase output address based mining-pool identification for rust-bitcoin's bitcoin::{Block, Transaction}","language":"Rust","stars":12,"topics":["rust-bitcoin","mining-pool","identification","bitcoin"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Bitcoin Mining Pool Identification This Rust crate implements a new PoolIdentification trait on rust-bitcoin's [bitcoin::Transaction][0] and [bitcoin::Block][1] structs. This trait can be used for mining pool identification. [0]: https://docs.rs/bitcoin/0.26.0/bitcoin/blockdata/transaction/struct.Transaction.html [1]: https://docs.rs/bitcoin/0.26.0/bitcoin/blockdata/block/struct.Block.html Methodology There are generally two methods to identify mining pools based on the coinbase transaction in a block. Firstly, miners often put a human readable (ASCII or UTF-8) tag in the coinbase transaction. For example, a block mined by the Slush mining pool might have /slush/ placed in the coinbase input's script sig. Miners can be identified by mapping a tag found in the coinbase to the mining pool identity. Secondly, mining pools often reuse the address where the coinbase reward is paid to. These can be mapped to the pool identity too. Both methods produce false negatives if a pool doesn't want to be identified. The coinbase tags are not authenticated. Pools can set a different coinbase tag (e.g. pool A mines his blocks with the coinbase tag of pool B). These would be picked up as false positives. It's however unlikely that a pool would pay the coinbase reward to an address he doesn't control, thus false positives are unlikely. Implementation The mapping of coinbase tags and mining pool addresses is based on data from [0xB10C/known-mining-pools][3] which is a fork from [btccom/Blockchai","default_branch":null,"files":null,"tree":[],"storefront":"/r/0xB10C","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/0xB10C/rust-bitcoin-pool-identification/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}