btclib-org / btclib_node

A bitcoin node written in python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

btclib_node

btclib_node is a bitcoin node with its consensus and network code written in python, using the btclib bitcoin library.

btclib_node succeded in downloading and validating the entire bitcoin blokchain, starting from version 0.1.0 and, as far as I can tell, is the first python implementatin that was able to do so

Test, develop, and contribute

The project uses hatch as a project manager.

Some additional tools are required to develop and test btclib_node, they can be installed using poetry:

poetry install

To test:

pytest

To measure the code coverage provided by tests:

pytest --cov-report term-missing:skip-covered --cov=btclib_node

To format the code

isort . && black .

About

A bitcoin node written in python

License:MIT License


Languages

Language:Python 100.0%