Monero C++ Library
Loading...
Searching...
No Matches
monero::monero_daemon_info Struct Reference

#include <monero_daemon_model.h>

Inheritance diagram for monero::monero_daemon_info:
monero::monero_rpc_payment_info monero::serializable_struct

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_daemon_info > &info)
 
- 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)
 

Public Attributes

boost::optional< std::string > m_version
 
boost::optional< uint64_t > m_num_alt_blocks
 
boost::optional< uint64_t > m_block_size_limit
 
boost::optional< uint64_t > m_block_size_median
 
boost::optional< uint64_t > m_block_weight_limit
 
boost::optional< uint64_t > m_block_weight_median
 
boost::optional< std::string > m_bootstrap_daemon_address
 
boost::optional< uint64_t > m_difficulty_low
 
boost::optional< uint64_t > m_difficulty_high
 
boost::optional< uint64_t > m_cumulative_difficulty_low
 
boost::optional< uint64_t > m_cumulative_difficulty_high
 
boost::optional< uint64_t > m_free_space
 
boost::optional< int > m_num_offline_peers
 
boost::optional< int > m_num_online_peers
 
boost::optional< uint64_t > m_height
 
boost::optional< uint64_t > m_height_without_bootstrap
 
boost::optional< monero_network_typem_network_type
 
boost::optional< bool > m_is_offline
 
boost::optional< int > m_num_incoming_connections
 
boost::optional< int > m_num_outgoing_connections
 
boost::optional< int > m_num_rpc_connections
 
boost::optional< uint64_t > m_start_timestamp
 
boost::optional< uint64_t > m_adjusted_timestamp
 
boost::optional< uint64_t > m_target
 
boost::optional< uint64_t > m_target_height
 
boost::optional< int > m_num_txs
 
boost::optional< int > m_num_txs_pool
 
boost::optional< bool > m_was_bootstrap_ever_used
 
boost::optional< uint64_t > m_database_size
 
boost::optional< bool > m_update_available
 
boost::optional< bool > m_is_busy_syncing
 
boost::optional< bool > m_is_synchronized
 
boost::optional< bool > m_is_restricted
 
- Public Attributes inherited from monero::monero_rpc_payment_info
boost::optional< uint64_t > m_credits
 
boost::optional< std::string > m_top_block_hash
 

Detailed Description

Monero daemon info.

Member Function Documentation

◆ to_rapidjson_val()

rapidjson::Value monero::monero_daemon_info::to_rapidjson_val ( rapidjson::Document::AllocatorType & allocator) const
overridevirtual

Converts the struct to a rapidjson Value.

Parameters
allocatoris the rapidjson document allocator
Returns
the struct as a rapidjson Value

Implements monero::serializable_struct.


The documentation for this struct was generated from the following files: