Batched transaction application:

Applying multiple transactions to the open ledger
reduces SHAMap modification overhead.
This commit is contained in:
Mark Travis
2015-05-29 00:09:44 -07:00
committed by Nik Bougalis
parent 4225b78bf5
commit ca800f9e8d
11 changed files with 370 additions and 172 deletions

View File

@@ -132,16 +132,16 @@ std::uint32_t TxnSignApiFacade::getSeq () const
return accountState_->sle().getFieldU32(sfSequence);
}
Transaction::pointer TxnSignApiFacade::processTransaction (
void TxnSignApiFacade::processTransaction (
Transaction::ref tpTrans,
bool bAdmin,
bool bLocal,
NetworkOPs::FailHard failType)
{
if (!netOPs_) // Unit testing.
return tpTrans;
return;
return netOPs_->processTransaction (tpTrans, bAdmin, bLocal, failType);
netOPs_->processTransaction (tpTrans, bAdmin, bLocal, failType);
}
bool TxnSignApiFacade::findPathsForOneIssuer (