mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Batched transaction application:
Applying multiple transactions to the open ledger reduces SHAMap modification overhead.
This commit is contained in:
committed by
Nik Bougalis
parent
4225b78bf5
commit
ca800f9e8d
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user