mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Missing functions, and an easy way to specify no special parameters.
This commit is contained in:
@@ -160,6 +160,12 @@ bool Ledger::addTransaction(Transaction::pointer trans)
|
||||
return mTransactionMap->addGiveItem(item, true);
|
||||
}
|
||||
|
||||
bool Ledger::addTransaction(const uint256& txID, const Serializer& txn)
|
||||
{ // low-level - just add to table
|
||||
SHAMapItem::pointer item = boost::make_shared<SHAMapItem>(txID, txn.peekData());
|
||||
return mTransactionMap->addGiveItem(item, true);
|
||||
}
|
||||
|
||||
bool Ledger::delTransaction(const uint256& transID)
|
||||
{
|
||||
assert(!mAccepted);
|
||||
|
||||
Reference in New Issue
Block a user