From df73504a04133833b31e3832cc597abf9b603399 Mon Sep 17 00:00:00 2001 From: asuch Date: Mon, 5 Aug 2024 09:55:19 +0200 Subject: [PATCH] Rename arg splitted_block_log_destination_dir to split_block_log_destination_dir --- .../utilities/include/hive/utilities/split_block_log.hpp | 4 ++-- libraries/utilities/split_block_log.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/utilities/include/hive/utilities/split_block_log.hpp b/libraries/utilities/include/hive/utilities/split_block_log.hpp index a759aea6b4..e581589927 100644 --- a/libraries/utilities/include/hive/utilities/split_block_log.hpp +++ b/libraries/utilities/include/hive/utilities/split_block_log.hpp @@ -14,11 +14,11 @@ namespace hive { namespace utilities { * @param monolith_path to log file. * @param head_part_number highest number of part file to be generated, Deduct from source file if 0. * @param part_count how many part files shall be generated. All if 0. - * @param splitted_block_log_destination_dir directory where new style multiple block_log files will be stored. By default it's the same place where monolith block_log is. + * @param split_block_log_destination_dir directory where new style multiple block_log files will be stored. By default it's the same place where monolith block_log is. * @throws lots of FC_ASSERTs. */ void split_block_log( fc::path monolith_path, uint32_t head_part_number, size_t part_count, appbase::application& app, hive::chain::blockchain_worker_thread_pool& thread_pool, - const fc::optional splitted_block_log_destination_dir = fc::optional() ); + const fc::optional split_block_log_destination_dir = fc::optional() ); } } // hive::utilities diff --git a/libraries/utilities/split_block_log.cpp b/libraries/utilities/split_block_log.cpp index 55cce6fc9a..b2cdc0ef5c 100644 --- a/libraries/utilities/split_block_log.cpp +++ b/libraries/utilities/split_block_log.cpp @@ -13,7 +13,7 @@ using hive::chain::blockchain_worker_thread_pool; void split_block_log( fc::path monolith_path, uint32_t head_part_number, size_t part_count, appbase::application& app, blockchain_worker_thread_pool& thread_pool, - const fc::optional splitted_block_log_destination_dir ) + const fc::optional split_block_log_destination_dir ) { std::stringstream request; request << "Requested generation of " @@ -49,7 +49,7 @@ void split_block_log( fc::path monolith_path, uint32_t head_part_number, size_t ilog( "Actual tail_part_number: ${tail_part_number}", (tail_part_number) ); - fc::path output_path( (splitted_block_log_destination_dir ? *splitted_block_log_destination_dir : monolith_path.parent_path()) ); + fc::path output_path( (split_block_log_destination_dir ? *split_block_log_destination_dir : monolith_path.parent_path()) ); fc::directory_iterator it( output_path ); fc::directory_iterator end_it; for( ; it != end_it; it++ )