bitcoin_coin_selection
Port of Bitcoin core coin selection logic to Python, prioritizing fidelity to the original and convenience.
Classes / functions were named and organized per the original C++ code as far as was practicable. Most comments are copied.
Installation
pip install bitcoin_coin_selection
Usage
select_coins is the main interface here. See the exmples folder for a step-by-step walkthrough.
Context
Bitcoin core coin selection logic:
https://github.com/bitcoin/bitcoin/blob/master/src/wallet/coinselection.cpp
https://github.com/bitcoin/bitcoin/blob/master/src/wallet/wallet.cpp
Erhardt's thesis on coin selection
https://murch.one/wp-content/uploads/2016/11/erhardt2016coinselection.pdf
Explanation of the "OutputGroup" type (privacy enhancement)
https://github.com/bitcoin/bitcoin/pull/12257
Metadata
Release files for bitcoin-coin-selection 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bitcoin_coin_selection-1.5.0-py3-none-any.whl | Python 3 | none | any | Details for bitcoin_coin_selection-1.5.0-py3-none-any.whl |
Release files / bitcoin_coin_selection-1.5.0-py3-none-any.whl
| Download URL | bitcoin_coin_selection-1.5.0-py3-none-any.whl |
|---|---|
| Size | 28.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
055a79e67576afc2761a0c6c80f6859582db09de016bd883504ad3cb7748f4c7
|
|
BLAKE2b-256 checksum How to use checksums |
b68df909290ac5844de6134bcac83bd8cacc4e427d815cc2cad78625b502cdd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.7.1
|
Security for bitcoin-coin-selection 1.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.