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'.
-n but with outbound.connections = 0 in the config will cause the node to just idle and do nothing as it will not connect to any peers.