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));
|
theApp->getIOService().post(boost::bind(&LedgerMaster::missingAcquireComplete, this, mMissingLedger));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (theApp->getMasterLedgerAcquire().getFetchCount() < 5)
|
if (theApp->getMasterLedgerAcquire().getFetchCount() < 3)
|
||||||
{
|
{
|
||||||
int count = 0;
|
int count = 0;
|
||||||
typedef std::pair<uint32, uint256> u_pair;
|
typedef std::pair<uint32, uint256> u_pair;
|
||||||
|
|||||||
@@ -423,10 +423,8 @@ public:
|
|||||||
|
|
||||||
uint256& operator=(const basetype& b)
|
uint256& operator=(const basetype& b)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < WIDTH; i++)
|
if (pn != b.pn)
|
||||||
pn[i] = b.pn[i];
|
memcpy(pn, b.pn, sizeof(pn));
|
||||||
|
|
||||||
return *this;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
uint256(uint64 b)
|
uint256(uint64 b)
|
||||||
|
|||||||
Reference in New Issue
Block a user