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

Function SanityChecks

src/kernel/checks.cpp:15–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13namespace kernel {
14
15util::Result<void> SanityChecks(const Context&)
16{
17 if (!Random_SanityCheck()) {
18 return util::Error{Untranslated("OS cryptographic RNG sanity check failure. Aborting.")};
19 }
20
21 return {};
22}
23
24}

Callers 2

AppInitSanityChecksFunction · 0.85
ContextMethod · 0.85

Calls 2

Random_SanityCheckFunction · 0.85
UntranslatedFunction · 0.85

Tested by

no test coverage detected