rippled
Loading...
Searching...
No Matches
Protocol.cpp
1#include <xrpl/protocol/Protocol.h>
2
3namespace xrpl {
4bool
6{
7 return seq % FLAG_LEDGER_INTERVAL == 0;
8}
9
10bool
12{
13 return seq % FLAG_LEDGER_INTERVAL == 0;
14}
15} // namespace xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
bool isFlagLedger(LedgerIndex seq)
Returns true if the given ledgerIndex is a flag ledgerIndex.
Definition Protocol.cpp:11
bool isVotingLedger(LedgerIndex seq)
Returns true if the given ledgerIndex is a voting ledgerIndex.
Definition Protocol.cpp:5
std::uint32_t constexpr FLAG_LEDGER_INTERVAL
Definition Protocol.h:257