mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
29 lines
570 B
C++
29 lines
570 B
C++
#pragma once
|
|
|
|
namespace xrpl {
|
|
|
|
/**
|
|
* @brief Enumeration of ledger shortcuts for specifying which ledger to use.
|
|
*
|
|
* These shortcuts provide a convenient way to reference commonly used ledgers
|
|
* without needing to specify their exact hash or sequence number.
|
|
*/
|
|
enum class LedgerShortcut {
|
|
/**
|
|
* The current working ledger (open, not yet closed)
|
|
*/
|
|
Current,
|
|
|
|
/**
|
|
* The most recently closed ledger (may not be validated)
|
|
*/
|
|
Closed,
|
|
|
|
/**
|
|
* The most recently validated ledger
|
|
*/
|
|
Validated
|
|
};
|
|
|
|
} // namespace xrpl
|