Bitcoin full node and query server

Feb 18, 2021

View in context in the libbitcoin Slack #general mirror.

P
Phil17:47
Hi, I browsed the LB codebase for use of thread local storage, and i find one usage instance, which is that the Boost thread local storage abstraction is used to carry a PRNG, here: .//libbitcoin/src/utility/pseudo_random.cpp: static boost::thread_specific_ptr<std::mt19937> twister(deleter); Just curious why is this done, the OS for instance offers a random function?