20 #include <ripple/ledger/ReadView.h>
31 return iterator(view_, view_->slesBegin());
37 return iterator(view_, view_->slesEnd());
43 return iterator(view_, view_->slesUpperBound(key));
53 return begin() == end();
59 return iterator(view_, view_->txsBegin());
65 return iterator(view_, view_->txsEnd());
83 auto const sle = ledger.
read(k);
87 return Rules(presets);
A pair of SHAMap key and LedgerEntryType.
Keylet const & amendments() noexcept
The index of the amendment table.
sles_type(ReadView const &view)
iterator upper_bound(key_type const &key) const
static Hasher::result_type digest(void const *data, std::size_t size) noexcept
ReadView that associates keys with digests.
@ current
This was a new validation and was added.
virtual std::shared_ptr< SLE const > read(Keylet const &k) const =0
Return the state item associated with a key.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Rules makeRulesGivenLedger(DigestAwareReadView const &ledger, Rules const ¤t)
Rules controlling protocol behavior.
virtual std::optional< digest_type > digest(key_type const &key) const =0
Return the digest associated with the key.
const SF_VECTOR256 sfAmendments
txs_type(ReadView const &view)