| 39 | } |
| 40 | |
| 41 | bool SanityChecks() |
| 42 | { |
| 43 | if (!ECC_InitSanityCheck()) { |
| 44 | return InitError(Untranslated("Elliptic curve cryptography sanity check failure. Aborting.")); |
| 45 | } |
| 46 | |
| 47 | if (!glibcxx_sanity_test()) |
| 48 | return false; |
| 49 | |
| 50 | if (!Random_SanityCheck()) { |
| 51 | return InitError(Untranslated("OS cryptographic RNG sanity check failure. Aborting.")); |
| 52 | } |
| 53 | |
| 54 | if (!ChronoSanityCheck()) { |
| 55 | return InitError(Untranslated("Clock epoch mismatch. Aborting.")); |
| 56 | } |
| 57 | |
| 58 | return true; |
| 59 | } |
| 60 | |
| 61 | void AddLoggingArgs(ArgsManager& argsman) |
| 62 | { |
no test coverage detected