|
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::monero_rpc_payment_info | |
| 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_miner_data > &data) |
| static std::shared_ptr< monero_miner_data > | deserialize (const std::string &json) |
Static Public Member Functions inherited from monero::monero_rpc_payment_info | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_rpc_payment_info > &rpc_payment_info) |
| static std::shared_ptr< monero_rpc_payment_info > | deserialize (const std::string &json) |
Public Attributes | |
| boost::optional< uint32_t > | m_major_version |
| boost::optional< uint64_t > | m_height |
| boost::optional< std::string > | m_prev_hash |
| boost::optional< std::string > | m_seed_hash |
| boost::optional< std::string > | m_difficulty |
| boost::optional< uint64_t > | m_median_weight |
| boost::optional< uint64_t > | m_already_generated_coins |
| std::vector< std::shared_ptr< monero_tx > > | m_tx_pool_backlog |
Public Attributes inherited from monero::monero_rpc_payment_info | |
| boost::optional< uint64_t > | m_credits |
| boost::optional< std::string > | m_top_block_hash |
Data needed to construct a block template for mining, e.g. for a pool that assembles its own block templates.
|
overridevirtual |
Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator |
Implements monero::serializable_struct.