mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 22:15:52 +00:00
Some tuning.
This commit is contained in:
@@ -194,7 +194,7 @@ bool LedgerMaster::acquireMissingLedger(Ledger::ref origLedger, const uint256& l
|
||||
theApp->getIOService().post(boost::bind(&LedgerMaster::missingAcquireComplete, this, mMissingLedger));
|
||||
}
|
||||
|
||||
if (theApp->getMasterLedgerAcquire().getFetchCount() < 5)
|
||||
if (theApp->getMasterLedgerAcquire().getFetchCount() < 3)
|
||||
{
|
||||
int count = 0;
|
||||
typedef std::pair<uint32, uint256> u_pair;
|
||||
|
||||
@@ -423,10 +423,8 @@ public:
|
||||
|
||||
uint256& operator=(const basetype& b)
|
||||
{
|
||||
for (int i = 0; i < WIDTH; i++)
|
||||
pn[i] = b.pn[i];
|
||||
|
||||
return *this;
|
||||
if (pn != b.pn)
|
||||
memcpy(pn, b.pn, sizeof(pn));
|
||||
}
|
||||
|
||||
uint256(uint64 b)
|
||||
|
||||
Reference in New Issue
Block a user