mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-26 16:40:20 +00:00
23 lines
534 B
C++
23 lines
534 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
|