1
0
Fork 0
forked from lthn/blockchain

added forgoten fields and conversion

This commit is contained in:
crypro.zoidberg 2019-04-17 19:43:06 +02:00
parent 5dec82a2fc
commit 2f2a897bde
2 changed files with 6 additions and 1 deletions

View file

@ -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();

View file

@ -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)