|
Monero C++ Library
|
#include <monero_daemon_rpc_model.h>
Public Member Functions | |
| monero_get_blocks_by_hash_request (const std::vector< std::string > &block_hashes, uint64_t start_height, bool prune, uint64_t max_block_count=0) | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const override |
Public Member Functions inherited from monero::monero_rpc_request | |
| monero_rpc_request (const std::string &method, const std::shared_ptr< serializable_struct > ¶ms, bool json_rpc=true) | |
| bool | is_json_rpc () const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const override |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Attributes | |
| std::vector< std::string > | m_block_hashes |
| uint64_t | m_start_height |
| bool | m_prune |
| uint64_t | m_max_block_count |
Public Attributes inherited from monero::monero_rpc_request | |
| boost::optional< std::string > | m_id |
| boost::optional< std::string > | m_version |
| boost::optional< std::string > | m_method |
| std::shared_ptr< serializable_struct > | m_params |
Models paramaters for monerod-rpc /get_blocks.bin method (fast sync by short chain history).
|
overridevirtual |
Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator |
Implements monero::serializable_struct.