From 4aa7bc9c6b064ff449940209da4ae2c6ec968fd9 Mon Sep 17 00:00:00 2001 From: Srayman <42743016+Srayman@users.noreply.github.com> Date: Sun, 15 Sep 2019 22:37:07 -0400 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c980e0e..904e583 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ These scripts use the requests library as well as a few others. Install any miss ## Warning - Use Ctrl-C only once to quit. It may take a few seconds to end the loops and write to disk before closing. -# Usage - Node Stats +# Node Stats Node Stats will collect other statistical measures to help with plotting the node performance. The script by default checks every 15 seconds and saves to a file every 60 seconds. The file save amount should be in multiples of the RPC delay. The process will save to a file with the date in the filename (eg. stats_2019-06-29.json). It will read the contents of any file that matches the filename and combine the results for that day. @@ -28,7 +28,7 @@ After quiting the execution (eg. Ctrl-C) it will save the current run to stats.j `python node_stats.py` -# Usage - Confirmation History +# Confirmation History Confirmation History is pulled from the confirmation_history RPC. The script by default runs every 10 seconds and saves to a file every 60 seconds. The file save amount should be in multiples of the RPC delay. The process will save to a file with the date in the filename (eg. confirmation_history_2019-06-29.json). It will read the contents of any file that matches the filename and combine the results for that day. @@ -37,7 +37,7 @@ After quiting the execution (eg. Ctrl-C) it will save the current run to confirm `python confirmation_history.py` -# Usage - Vote Analysis +# Vote Analysis Vote Analysis will connect to the nodes websocket to record votes and confirmations for designated accounts. This is used to analyze timing of votes, number of votes per rep and how many votes a particular block received. It will generate 4 files when closed. vote_batching.csv - shows how many vote hashes and count of votes per representative that voted during the test @@ -47,5 +47,5 @@ vote_hashes.json - saves the confirmation history for blocks sent during the tes `python vote_analysis.py` without any arguments will monitor votes only. -send true will send/receive every 5 seconds if an account and wallet is configured in config.py and if the account is setup with at least 1 raw. -# Usage - Upload +# Upload Use automatically by node_stats and record_confirmations but can be used manually to upload a file outside of the normal interval. The automatic upload happens at 12:00am UTC when the filename rolls over, but a manual upload can be done by specifying the filename to upload. It must end in json or csv extensions.