forked from nanocurrency/nano-node
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make logging election tally an optional config (nanocurrency#13)
One config for logging on expired elections, another for confirmed elections with multiple blocks, both default to false. Since these are similar in output, added a prefix "Election expired" to differentiate them, e.g.: ``` [2020-Aug-19 16:02:50.492453]: Election expired Vote tally for root E5E09C2BF257A50E8F5E823D9BAC1B70E15A6EA5EF06AC66B3F55B1AD689E1F0 Block D0170F94D063F4F06469EE8E3D7CCC126120C32948F7D56ED816A84CAEAF2521 weight 6652414849999999639484121623621009408 nano_1robotghjtaub18dmo1ihkzg9jjs53ukthxrpt5x7eie3pg7k4ahb5i1uw64 0 D0170F94D063F4F06469EE8E3D7CCC126120C32948F7D56ED816A84CAEAF2521 ``` Original pull request: nanocurrency#2888
- Loading branch information
1 parent
abc0959
commit 79e07ac
Showing
4 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters