block_log_util changes
This MR remakes tool block_log_util, list of changes:
- removing positional options, everything has to be specified explicitly,
- all logs are in one file, specified by
-l
option, tool output returns only result or error, - get-block returns additionally
block_id
andsigning_key
, - added get version option, which returns git revision and info for which type of network this tool was built
-
get-block-ids
,get-block-artifacts
,get-block
options accepts both block number and blocks range, negative numbers support was introduced (details can be see in tool's help) -
get-block
has output option which allows to dump all requested blocks into separate files
In addition to the above tool changes, the following changes have also been introduced:
- file lock on block_log and block_log.artifacts files, when opening them.
- fixed bugs in file appender - unified log to be similar to console logs + fixed problem when we wanted to create log file where there is no parent directory.
- compression dictionaries are now also used for testnet build.
FYI @kudmich
Edited by Andrzej Such