Bitcoin full node and query server

May 9, 2024

View in context in the libbitcoin Slack #general mirror.

evoskuil05:14
The help is autogenerated from source, using the same libs as bx and server.
$ bn -c f:\bn.cfg -h

Usage: bn [-abdfhiklmrsvwx] [--config value]

Info: Runs a full bitcoin node.

Options (named):

-a [--slabs]         Scan and display store slab measures.
-b [--backup]        Backup to a snapshot (can also do live).
-c [--config]        Specify path to a configuration settings file.
-d [--hardware]      Display hardware compatibility.
-f [--flags]         Scan and display all flag transitions.
-h [--help]          Display command line options.
-i [--initchain]     Initialize store in configured directory.
-k [--buckets]       Scan and display all bucket densities.
-l [--collisions]    Scan and display hashmap collision stats.
-m [--measure]       Scan and display store measures.
-r [--read]          Read test and display performance.
-s [--settings]      Display all configuration settings.
-v [--version]       Display version information.
-w [--write]         Write test and display performance.
-x [--restore]       Restore from most recent snapshot.