Bitcoin full node and query server

Apr 22, 2021

View in context in the libbitcoin Slack #general mirror.

P
Phil18:16
Eric, When I do node.close() the call blocks for approx 30 seconds. I presume this is because Node tries to do some kind of clean closure of its peer network connections? Doing such clean closure is not a Bitcoin protocol requirement really isn’t it - therefore - is there some call i can do to force instant closure, thereby node.close() would mostly be fclose() and thread termination, bringing down the 30 seconds to more like a millisecond?