mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Improve pool seeding during startup:
* When starting up, we no longer rely just on the standard system RNG to generate entropy: we attempt to squeeze some from the execution state, and to recover any entropy that we had previously stored. * When shutting down, if sufficient entropy has been accumulated attempt to store it for future use.
This commit is contained in:
committed by
Tom Ritchford
parent
382a16ff07
commit
84e618b3f2
@@ -124,6 +124,9 @@ public:
|
||||
/** Returns the full path and filename of the debug log file. */
|
||||
boost::filesystem::path getDebugLogFile () const;
|
||||
|
||||
/** Returns the full path and filename of the entropy seed file. */
|
||||
boost::filesystem::path getEntropyFile () const;
|
||||
|
||||
// DEPRECATED
|
||||
boost::filesystem::path CONFIG_FILE; // used by UniqueNodeList
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user