From 2f2a897bdea37474e43084291fc20f1487816b8a Mon Sep 17 00:00:00 2001 From: "crypro.zoidberg" Date: Wed, 17 Apr 2019 19:43:06 +0200 Subject: [PATCH] added forgoten fields and conversion --- src/rpc/core_rpc_server.cpp | 2 ++ src/rpc/core_rpc_server_commands_defs.h | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index 64a38cc2..9a2ab644 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -193,6 +193,8 @@ namespace currency res.performance_data.etc_stuff_6 = pd.etc_stuff_6.get_avg(); res.performance_data.insert_time_4 = pd.insert_time_4.get_avg(); res.performance_data.raise_block_core_event = pd.raise_block_core_event.get_avg(); + res.performance_data.target_calculating_enum_blocks = pd.target_calculating_enum_blocks.get_avg(); + res.performance_data.target_calculating_calc = pd.target_calculating_calc.get_avg(); //tx processing zone res.performance_data.tx_check_inputs_time = pd.tx_check_inputs_time.get_avg(); res.performance_data.tx_add_one_tx_time = pd.tx_add_one_tx_time.get_avg(); diff --git a/src/rpc/core_rpc_server_commands_defs.h b/src/rpc/core_rpc_server_commands_defs.h index b27d7ddb..10fec97a 100644 --- a/src/rpc/core_rpc_server_commands_defs.h +++ b/src/rpc/core_rpc_server_commands_defs.h @@ -459,6 +459,8 @@ namespace currency uint64_t etc_stuff_6; uint64_t insert_time_4; uint64_t raise_block_core_event; + uint64_t target_calculating_enum_blocks; + uint64_t target_calculating_calc; //tx processing zone uint64_t tx_check_inputs_time; @@ -505,7 +507,8 @@ namespace currency KV_SERIALIZE(etc_stuff_6) KV_SERIALIZE(insert_time_4) KV_SERIALIZE(raise_block_core_event) - + KV_SERIALIZE(target_calculating_enum_blocks) + KV_SERIALIZE(target_calculating_calc) //tx processing zone KV_SERIALIZE(tx_check_inputs_time) KV_SERIALIZE(tx_add_one_tx_time)