|
Monero C++ Library
|
#include <monero_daemon_rpc_model.h>
Public Member Functions | |
| monero_rpc_ban (const std::shared_ptr< monero_ban > &ban) | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const override |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Additional Inherited Members | |
Static Public Member Functions inherited from monero::monero_ban | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_ban > &ban) |
Public Attributes inherited from monero::monero_ban | |
| boost::optional< std::string > | m_host |
| boost::optional< uint32_t > | m_ip |
| boost::optional< bool > | m_is_banned |
| boost::optional< uint64_t > | m_seconds |
Models a Monero RPC banhammer.
|
overridevirtual |
Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator |
Reimplemented from monero::monero_ban.