|
Clio
develop
The XRP Ledger API server.
|
Knowledge center for amendments within XRPL. More...
#include <AmendmentCenter.hpp>


Public Member Functions | |
| AmendmentCenter (std::shared_ptr< data::BackendInterface > const &backend) | |
| Construct a new AmendmentCenter instance. | |
| bool | isSupported (AmendmentKey const &key) const final |
| Check whether an amendment is supported by Clio. | |
| std::map< std::string, Amendment > const & | getSupported () const final |
| Get all supported amendments as a map. | |
| std::vector< Amendment > const & | getAll () const final |
| Get all known amendments. | |
| bool | isEnabled (AmendmentKey const &key, uint32_t seq) const final |
| Check whether an amendment was/is enabled for a given sequence. | |
| bool | isEnabled (boost::asio::yield_context yield, AmendmentKey const &key, uint32_t seq) const final |
| Check whether an amendment was/is enabled for a given sequence. | |
| std::vector< bool > | isEnabled (boost::asio::yield_context yield, std::vector< AmendmentKey > const &keys, uint32_t seq) const final |
| Check whether an amendment was/is enabled for a given sequence. | |
| Amendment const & | getAmendment (AmendmentKey const &key) const final |
| Get an amendment. | |
| Amendment const & | operator[] (AmendmentKey const &key) const final |
| Get an amendment by its key. | |
Knowledge center for amendments within XRPL.
|
explicit |
Construct a new AmendmentCenter instance.
| backend | The backend |
|
nodiscardfinalvirtual |
Get all known amendments.
Implements data::AmendmentCenterInterface.
|
nodiscardfinalvirtual |
Get an amendment.
| key | The key of the amendment to get |
Implements data::AmendmentCenterInterface.
|
nodiscardfinalvirtual |
Get all supported amendments as a map.
Implements data::AmendmentCenterInterface.
|
nodiscardfinalvirtual |
Check whether an amendment was/is enabled for a given sequence.
| key | The key of the amendment to check |
| seq | The sequence to check for |
Implements data::AmendmentCenterInterface.
|
nodiscardfinalvirtual |
Check whether an amendment was/is enabled for a given sequence.
| yield | The coroutine context to use |
| key | The key of the amendment to check |
| seq | The sequence to check for |
Implements data::AmendmentCenterInterface.
|
nodiscardfinalvirtual |
Check whether an amendment was/is enabled for a given sequence.
| yield | The coroutine context to use |
| keys | The keys of the amendments to check |
| seq | The sequence to check for |
Implements data::AmendmentCenterInterface.
|
nodiscardfinalvirtual |
Check whether an amendment is supported by Clio.
| key | The key of the amendment to check |
Implements data::AmendmentCenterInterface.
|
nodiscardfinalvirtual |
Get an amendment by its key.
| key | The amendment key from |
Implements data::AmendmentCenterInterface.