mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Tidy up includes and add modules to the classic build:
An alternative to the unity build, the classic build compiles each translation unit individually. This adds more modules to the classic build: * Remove unity header app.h * Add missing includes as needed * Remove obsolete NodeStore backend code * Add app/, core/, crypto/, json/, net/, overlay/, peerfinder/ to classic build
This commit is contained in:
@@ -17,7 +17,11 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#include <BeastConfig.h>
|
||||
#include <ripple/app/misc/SHAMapStoreImp.h>
|
||||
#include <ripple/app/ledger/LedgerMaster.h>
|
||||
#include <ripple/app/main/Application.h>
|
||||
#include <boost/format.hpp>
|
||||
#include <beast/cxx14/memory.h> // <memory>
|
||||
|
||||
namespace ripple {
|
||||
@@ -548,8 +552,8 @@ SHAMapStoreImp::clearSql (DatabaseCon& database,
|
||||
|
||||
boost::format formattedDeleteQuery (deleteQuery);
|
||||
|
||||
journal_.debug << "start: " << deleteQuery << " from "
|
||||
<< min << " to " << lastRotated;
|
||||
if (journal_.debug) journal_.debug <<
|
||||
"start: " << deleteQuery << " from " << min << " to " << lastRotated;
|
||||
while (min < lastRotated)
|
||||
{
|
||||
min = (min + setup_.deleteBatch >= lastRotated) ? lastRotated :
|
||||
|
||||
Reference in New Issue
Block a user