mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Basic consensus implementation (#45)
Consensus for user connections, user inputs, contract outputs and time.
This commit is contained in:
@@ -79,12 +79,12 @@ void init()
|
||||
|
||||
// This will make every new launch of Hot Pocket to start a new log file number.
|
||||
// It will scan existing log files matching the pattern and find the next number.
|
||||
keywords::scan_method = sinks::file::scan_matching,
|
||||
keywords::scan_method = sinks::file::scan_matching
|
||||
|
||||
#ifndef NDEBUG
|
||||
// We enable auto_flush to immediately get the logs onto the file. Otherwise it takes time
|
||||
// for buffered logs to reach the file. This impacts performance. So enabled only in debug build.
|
||||
keywords::auto_flush = true
|
||||
, keywords::auto_flush = true
|
||||
#endif
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user