Bitcoin full node and query server

Dec 4, 2024

View in context in the libbitcoin Slack #general mirror.

evoskuil16:34
Sure, I'll build a current copy and run it to verify. What's your measured bandwidth?
🔥 1
evoskuil17:48
It generates a rotating pair of log files named bn_end.log and bn_begin.log (the combined size can be configured). It starts with end and then rotat3es it over to begin and so-on. These are currently just an echo of whatever hits the console. The console and logs are buffering, so pausing the console doesn't really slow the node. The log will start with an entry that shows the name of the config file its using (or default) so you know if it has your config.
2024-11-24T19:39:57Z.0 ====================== startup =======================
2024-11-24T19:39:57Z.0 Using config file: "m:\\bn.cfg"
There's also some logging options dumped at the start of the log. Since log levels (and their message generation) can be entirely compiled out, this gives you some good info.
2024-11-24T19:39:57Z.0 Version Information...
libbitcoin-node:       4.0.0
libbitcoin-database:   4.0.0
libbitcoin-network:    4.0.0
libbitcoin-system:     4.0.0
2024-11-24T19:39:57Z.0 Press CTRL-C to stop the node.
2024-11-24T19:39:57Z.0 Log system configuration...
2024-11-24T19:39:57Z.0 [a]pplication.. compiled:1 enabled:1.
2024-11-24T19:39:57Z.0 [n]ews......... compiled:1 enabled:1.
2024-11-24T19:39:57Z.0 [s]ession...... compiled:1 enabled:1.
2024-11-24T19:39:57Z.0 [p]rotocol..... compiled:1 enabled:0.
2024-11-24T19:39:57Z.0 [x]proxy....... compiled:1 enabled:0.
2024-11-24T19:39:57Z.0 [r]emote....... compiled:1 enabled:1.
2024-11-24T19:39:57Z.0 [f]ault........ compiled:1 enabled:1.
2024-11-24T19:39:57Z.0 [q]uitting..... compiled:1 enabled:0.
2024-11-24T19:39:57Z.0 [o]bjects...... compiled:0 enabled:0.
2024-11-24T19:39:57Z.0 [v]erbose...... compiled:1 enabled:0.
2024-11-24T19:39:57Z.0 Please wait while network is starting...
2024-11-24T19:39:57Z.1 Candidate top [000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f:0].
2024-11-24T19:39:57Z.1 Fork point (0) unassociated (0).
2024-11-24T19:39:57Z.1 Loaded (10000) addresses.
2024-11-24T19:39:57Z.1 Bypassed seeding because of sufficient (10000 of 1000) address quantity.
2024-11-24T19:39:57Z.0 Node is started.
2024-11-24T19:39:57Z.1 Not configured for inbound connections.
2024-11-24T19:39:57Z.1 Create 200 connections 5 at a time.
2024-11-24T19:39:57Z.0 Node is running.
👍 1