Return the unsigned from the environment var if available, otherwise 0 */
| 65 | |
| 66 | /** Return the unsigned from the environment var if available, otherwise 0 */ |
| 67 | static uint256 GetUintFromEnv(const std::string& env_name) |
| 68 | { |
| 69 | const char* num = std::getenv(env_name.c_str()); |
| 70 | if (!num) return {}; |
| 71 | return uint256S(num); |
| 72 | } |
| 73 | |
| 74 | void Seed(FastRandomContext& ctx) |
| 75 | { |