Merge pull request #7772

eda5c30 Doc: Update blockchain stats with review comments (mj-xmr)
This commit is contained in:
luigi1111 2021-07-27 17:01:42 -04:00
commit d9c9a11c54
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
1 changed files with 4 additions and 2 deletions

View File

@ -10,8 +10,10 @@ From the command line run:
`$ monero-blockchain-stats`
This loads the existing blockchain and prints the results to the terminal. Default printed data includes Blocks per Day, Total Blocks, Transactions per Day, Total Transactions, Bytes per Day and Total Bytes. The format of the output is in tab delimited csv which is printed to the console. Piping the output of the command to a csv file allows for saving the output of the utilty to a file.
i.e. `monero-blockchain-stats > stats.csv`
This loads the existing blockchain and prints the results to the terminal. Default printed data includes Blocks per Day, Total Blocks, Transactions per Day, Total Transactions, Bytes per Day and Total Bytes. The format of the output is in tab delimited csv which is printed to the console. Redirecting or piping the output of the command allows for saving the output to a csv file or feeding your own script accordingly, i.e.:
- `monero-blockchain-stats > stats-$(date +'%Y-%m-%d').csv`
- `monero-blockchain-stats | save-to-database.sh`
### Options
`--data-dir arg`