Some tuning.

This commit is contained in:
JoelKatz
2013-01-12 04:44:41 -08:00
parent a62fb9a52f
commit 1b8f20eaa7
2 changed files with 3 additions and 5 deletions

View File

@@ -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;

View File

@@ -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)