MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / Context

Method Context

src/kernel/context.cpp:15–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14namespace kernel {
15Context::Context()
16{
17 static std::once_flag globals_initialized{};
18 std::call_once(globals_initialized, []() {
19 std::string sha256_algo = SHA256AutoDetect();
20 LogInfo("Using the '%s' SHA256 implementation\n", sha256_algo);
21 RandomInit();
22 });
23}
24
25
26} // namespace kernel

Callers 3

__init__Method · 0.45
run_testMethod · 0.45
make_capnp_init_ctxFunction · 0.45

Calls 2

SHA256AutoDetectFunction · 0.85
RandomInitFunction · 0.85

Tested by

no test coverage detected