btclib icon indicating copy to clipboard operation
btclib copied to clipboard

btclib: a python3 library for 'bitcoin cryptography'

Results 5 btclib issues
Sort by recently updated
recently updated
newest added

It should be possible to write: ``` from btclib.tx import Tx, TxIn, TxOut ``` instead of manually importing each from `btclib.tx.tx_whatever`.

updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v5.0.0) - [github.com/PyCQA/autoflake: v2.2.0 → v2.3.1](https://github.com/PyCQA/autoflake/compare/v2.2.0...v2.3.1) - [github.com/asottile/pyupgrade: v3.9.0 → v3.18.0](https://github.com/asottile/pyupgrade/compare/v3.9.0...v3.18.0) - [github.com/PyCQA/isort: 5.12.0 → 5.13.2](https://github.com/PyCQA/isort/compare/5.12.0...5.13.2) - [github.com/PyCQA/flake8: 6.0.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/6.0.0...7.1.1) - [github.com/psf/black: 23.7.0 →...

**Describe the bug** It seems not right to check signature of taproot is valid by assert length of it equals 64: https://github.com/btclib-org/btclib/blob/da0cfc146545c1ec220901094c98e32690f255af/btclib/psbt/psbt_utils.py#L307 **To Reproduce** There is an example on how...

I hope to create a detailed example document to help beginners learn BTC better. For example, sending transactions, deriving wallets, etc.

**The library crashes for some transaction scripts** Here is the list of transactions concerned ```python 2024-08-21 13:00:31 [warning ] failed transaction parsing debug=False dev=False env= error=BTClibValueError('Invalid pushdata length: 1443') height=251718...