mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 06:25:51 +00:00
Helper function.
This commit is contained in:
@@ -15,6 +15,7 @@ public:
|
|||||||
void addLedger(Ledger::pointer ledger);
|
void addLedger(Ledger::pointer ledger);
|
||||||
void addAcceptedLedger(Ledger::pointer ledger, bool fromConsensus);
|
void addAcceptedLedger(Ledger::pointer ledger, bool fromConsensus);
|
||||||
|
|
||||||
|
uint256 getLedgerHash(uint32 index);
|
||||||
Ledger::pointer getLedgerBySeq(uint32 index);
|
Ledger::pointer getLedgerBySeq(uint32 index);
|
||||||
Ledger::pointer getLedgerByHash(const uint256& hash);
|
Ledger::pointer getLedgerByHash(const uint256& hash);
|
||||||
Ledger::pointer canonicalizeLedger(Ledger::pointer, bool cache);
|
Ledger::pointer canonicalizeLedger(Ledger::pointer, bool cache);
|
||||||
|
|||||||
Reference in New Issue
Block a user