DECENT
Functions
Monitoring

Functions

void graphene::wallet::wallet_api::reset_counters (const std::vector< std::string > &names)
 Reset values of monitoring counters to zero. More...
 
std::vector< monitoring::counter_item_cli > graphene::wallet::wallet_api::get_counters (const std::vector< std::string > &names)
 Retrieves monitoring counters. More...
 

Detailed Description

Function Documentation

std::vector< monitoring::counter_item_cli > wallet_api::get_counters ( const std::vector< std::string > &  names)

Retrieves monitoring counters.

Parameters
namesvector of names of counters to return. Use empty vector to return all counters
Returns
a vector of counter objects

Definition at line 8 of file wallet.cpp.

void wallet_api::reset_counters ( const std::vector< std::string > &  names)

Reset values of monitoring counters to zero.

Parameters
namesvector of names of counters to reset. Use empty vector to reset all counters

Definition at line 3 of file wallet.cpp.