|
Monero C++ Library
|
#include <monero_daemon_model.h>
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const override |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Static Public Member Functions | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_get_blocks_by_hash_result > &result) |
| static std::shared_ptr< monero_get_blocks_by_hash_result > | deserialize (const std::string &json) |
Public Attributes | |
| std::vector< std::shared_ptr< monero_block > > | m_blocks |
| boost::optional< uint64_t > | m_current_height |
Models the result of getting blocks by hash.
|
overridevirtual |
Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator |
Implements monero::serializable_struct.