#include <core_rpc_server_commands_defs.h>
◆ if()
| cryptonote::COMMAND_RPC_GET_OUTPUT_DISTRIBUTION::distribution::if |
( |
this_ref. | binary | ) |
|
|
inline |
Definition at line 2311 of file core_rpc_server_commands_defs.h.
2311 {
2312 if (is_store) {
2313 if (this_ref.compress) {
2314 const_cast<std::string &>(this_ref.compressed_data) = compress_integer_array(
2315 this_ref.data.distribution);
2317 } else
2319 } else {
2320 if (this_ref.compress) {
2322 const_cast<std::vector<uint64_t> &>(this_ref.data.distribution) = decompress_integer_array<uint64_t>(
2323 this_ref.compressed_data);
2324 } else
2326 }
2327 } else
#define KV_SERIALIZE(varialble)
#define KV_SERIALIZE_CONTAINER_POD_AS_BLOB_N(varialble, val_name)
rpc::output_distribution_data data
std::string compressed_data
◆ amount
| uint64_t cryptonote::COMMAND_RPC_GET_OUTPUT_DISTRIBUTION::distribution::amount |
◆ binary
| bool cryptonote::COMMAND_RPC_GET_OUTPUT_DISTRIBUTION::distribution::binary |
◆ compress
| bool cryptonote::COMMAND_RPC_GET_OUTPUT_DISTRIBUTION::distribution::compress |
◆ compressed_data
| std::string cryptonote::COMMAND_RPC_GET_OUTPUT_DISTRIBUTION::distribution::compressed_data |
◆ data
The documentation for this struct was generated from the following file: