View in context in the libbitcoin Slack #general mirror.
libbitcoin-node with latest master. I'm not very familar so it's more than likely I've misunderstood something. Running bn --newstore on a fresh install fails after all database files are successfully created. The error message is confusing me. Ideally I'd like to create a regtest config.
I'm using the following minimal config:
$ cat /tmp/bn.cfg [log] path = /tmp/bn-logs [database] path = /tmp/bn-db [inbound] bind = 127.0.0.1:18445 connections = 1 [outbound] connections = 0 $ bn --config /tmp/bn.cfg --newstore
All files are created, opened, loaded, unloaded, and closed successfully: create::create_file(header_head) ... create::close_file(filter_tx_body) Database creation failed with error 'file failed to load, disk may be full'.
--help and --version still reference bn) 🙂
./libbitcoin-server/console/bs --help
Usage: bn [-abdfhiklnrsv] [--config value] [--test value] [--write 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 [--information] Scan and display store information.
-k [--buckets] Scan and display all bucket densities.
-l [--collisions] Scan and display hashmap collision stats (may exceed
RAM and result in SIGKILL).
-n [--newstore] Create new store in configured directory.
-r [--restore] Restore from most recent snapshot.
-s [--settings] Display all configuration settings.
-t [--test] Run built-in read test and display.
-v [--version] Display version information.
-w [--write] Run built-in write test and display. (edited)