btclib.org

The btclib organization website

View My GitHub Profile

The projects

bitcoin-node-tests

bitcoin-node-tests is Bitcoin Core’s functional test suite rewritten on btclib, as a non-regression suite for any node that speaks bitcoin’s RPC and p2p. Its nickname is tf2.

The suite runs today against Bitcoin Core and btclib-node. A node gains an adapter by subclassing NodeAdapter and declaring what it can do. A test passes on bitcoind before its failure on another node counts as a finding.

Use

The suite is not published to an index. It is run from a checkout, next to the node tree it tests, with uv as the only tool to install:

git clone https://github.com/btclib-org/bitcoin-node-tests.git
cd bitcoin-node-tests
uv sync

Its CONTRIBUTING.md has the commands for the unit suite and for the integration tests, which start a node and skip without one.