#include <monero_daemon_model.h>
|
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const override |
| |
| std::string | serialize () const |
| |
|
|
static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_tx_pool_stats > &stats) |
| |
|
|
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 |
| |
Models transaction pool statistics.
◆ 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
-
| allocator | is 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: