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

#include <monero_daemon_model.h>

Inheritance diagram for monero::monero_tx_pool_stats:
monero::serializable_struct

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_tx_pool_stats > &stats)
 

Public Attributes

boost::optional< int > m_num_txs
 
boost::optional< int > m_num_not_relayed
 
boost::optional< int > m_num_failing
 
boost::optional< int > m_num_double_spends
 
boost::optional< int > m_num10m
 
boost::optional< uint64_t > m_fee_total
 
boost::optional< uint64_t > m_bytes_max
 
boost::optional< uint64_t > m_bytes_med
 
boost::optional< uint64_t > m_bytes_min
 
boost::optional< uint64_t > m_bytes_total
 
std::map< uint64_t, uint64_t > m_histo
 
boost::optional< uint64_t > m_histo98pc
 
boost::optional< uint64_t > m_oldest_timestamp
 

Detailed Description

Models transaction pool statistics.

Member Function Documentation

◆ to_rapidjson_val()

rapidjson::Value monero::monero_tx_pool_stats::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: