Bitcoin full node and query server

May 6, 2021

View in context in the libbitcoin Slack #general mirror.

evoskuil15:00
You can use libbitcoin-node and libbitcoin-store to build your own node by following the libbitcoin-node pattern, or you can derive from libbitcoin-node and attempt to just use the header sync.
3 replies · Phil, evoskuil · last May 11, 2021
P
Phil12:44
(Followup on above:) Which are the synchronous database calls? What is the failure mode of read operations to those - inconsistent view, or SIGSEGV?
evoskuil18:46
The ones with callbacks.
evoskuil18:48
If the store terminates without clearing the flush lock file, the store files are corrupt. That’s the purpose of the flush lock, to detect store corruption and prevent use of a corrupt store, which would be undefined behavior.
(edited)