mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Reject expired transactions immediately
This commit is contained in:
@@ -104,11 +104,16 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
std::uint32_t getCurrentLedgerIndex ()
|
||||
LedgerIndex getCurrentLedgerIndex ()
|
||||
{
|
||||
return mCurrentLedger.get ()->getLedgerSeq ();
|
||||
}
|
||||
|
||||
LedgerIndex getValidLedgerIndex ()
|
||||
{
|
||||
return mValidLedgerSeq;
|
||||
}
|
||||
|
||||
int getPublishedLedgerAge ()
|
||||
{
|
||||
std::uint32_t pubClose = mPubLedgerClose.load();
|
||||
|
||||
@@ -47,7 +47,8 @@ public:
|
||||
|
||||
virtual ~LedgerMaster () = 0;
|
||||
|
||||
virtual std::uint32_t getCurrentLedgerIndex () = 0;
|
||||
virtual LedgerIndex getCurrentLedgerIndex () = 0;
|
||||
virtual LedgerIndex getValidLedgerIndex () = 0;
|
||||
|
||||
virtual LockType& peekMutex () = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user