mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Reformatting using AStyle
This commit is contained in:
@@ -8,19 +8,22 @@
|
||||
class TransactionMaster
|
||||
{
|
||||
public:
|
||||
TransactionMaster();
|
||||
TransactionMaster ();
|
||||
|
||||
Transaction::pointer fetch(uint256 const& , bool checkDisk);
|
||||
SerializedTransaction::pointer fetch(SHAMapItem::ref item, SHAMapTreeNode:: TNType type,
|
||||
bool checkDisk, uint32 uCommitLedger);
|
||||
Transaction::pointer fetch (uint256 const& , bool checkDisk);
|
||||
SerializedTransaction::pointer fetch (SHAMapItem::ref item, SHAMapTreeNode:: TNType type,
|
||||
bool checkDisk, uint32 uCommitLedger);
|
||||
|
||||
// return value: true = we had the transaction already
|
||||
bool inLedger(uint256 const& hash, uint32 ledger);
|
||||
bool canonicalize(Transaction::pointer& txn, bool maybeNew);
|
||||
void sweep(void) { mCache.sweep(); }
|
||||
// return value: true = we had the transaction already
|
||||
bool inLedger (uint256 const& hash, uint32 ledger);
|
||||
bool canonicalize (Transaction::pointer& txn, bool maybeNew);
|
||||
void sweep (void)
|
||||
{
|
||||
mCache.sweep ();
|
||||
}
|
||||
|
||||
private:
|
||||
TaggedCache <uint256, Transaction, UptimeTimerAdapter> mCache;
|
||||
TaggedCache <uint256, Transaction, UptimeTimerAdapter> mCache;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user