Sync Linux tweaks.

This commit is contained in:
JoelKatz
2011-11-07 13:45:32 -08:00
parent beef9b47d5
commit 1d140e8829
19 changed files with 2674 additions and 48 deletions

View File

@@ -15,7 +15,7 @@ void LedgerHistory::load()
}
bool LedgerHistory::loadLedger(uint256& hash)
bool LedgerHistory::loadLedger(const uint256& hash)
{
Ledger::pointer ledger=Ledger::pointer(new Ledger());
if(ledger->load(hash))
@@ -61,7 +61,7 @@ void LedgerHistory::addLedger(Ledger::pointer ledger)
ledger->save();
}
Ledger::pointer LedgerHistory::getLedger(uint256& hash)
Ledger::pointer LedgerHistory::getLedger(const uint256& hash)
{
if(mAllLedgers.count(hash))
return(mAllLedgers[hash]);