mirror of
https://github.com/Rucknium/misc-research.git
synced 2024-12-22 19:39:21 +00:00
Update README.md
This commit is contained in:
parent
401e809aab
commit
f457dababd
1 changed files with 12 additions and 2 deletions
|
@ -1,6 +1,16 @@
|
||||||
# Monero-p2pool-Output-Stats
|
# Monero-p2pool-Output-Stats
|
||||||
|
|
||||||
The p2pool-output-stats.R script
|
The `p2pool-output-stats.R` script computes the number of p2pool payout transaction outputs on the Monero blockchain. It allows a user to choose the block height interval to analyze. The script outputs to the console:
|
||||||
|
|
||||||
|
- Number of blocks found by p2pool
|
||||||
|
- Summary statistics on number of payout outputs per block found by p2pool
|
||||||
|
- Total number of transaction outputs (subject to some rounding errors)
|
||||||
|
- Number of p2pool payout transaction outputs
|
||||||
|
|
||||||
|
In the directory where the script is run, it also creates two csv files:
|
||||||
|
|
||||||
|
- `blockchain-stats-begin_height-to-end_height.csv`
|
||||||
|
- `miner-payouts-begin_height-to-end_height.csv`
|
||||||
|
|
||||||
## Steps to run:
|
## Steps to run:
|
||||||
|
|
||||||
|
@ -12,5 +22,5 @@ The p2pool-output-stats.R script
|
||||||
|
|
||||||
4) You must have the `monero-blockchain-stats` utility somewhere on your computer. The easiest way to get this is to [download the Monero CLI Wallet](https://www.getmonero.org/downloads/#cli). The `monero-blockchain-stats` utility is bundled with the CLI Wallet.
|
4) You must have the `monero-blockchain-stats` utility somewhere on your computer. The easiest way to get this is to [download the Monero CLI Wallet](https://www.getmonero.org/downloads/#cli). The `monero-blockchain-stats` utility is bundled with the CLI Wallet.
|
||||||
|
|
||||||
5) To run the script, in your terminal input `Rscript <path/to/p2pool-output-stats.R> <initial_block_height> <end_block_height> "<path/to/monero-blockchain-stats>"`. For example, if the path to p2pool-output-stats.R is ~/misc-research/Monero-p2pool-Output-Stats/p2pool-output-stats.R, the initial block height is 2721396, the end block height is 2786779, and the path to monero-blockchain-stats is ~/monero/monero-blockchain-stats, then the input into terminal would be `Rscript ~/misc-research/Monero-p2pool-Output-Stats/p2pool-output-stats.R 2721396 2786779 "~/monero/monero-blockchain-stats"`.
|
5) To run the script, in your terminal input `Rscript <path/to/p2pool-output-stats.R> <initial_block_height> <end_block_height> "<path/to/monero-blockchain-stats>"`. For example, if the path to `p2pool-output-stats.R` is `~/misc-research/Monero-p2pool-Output-Stats/p2pool-output-stats.R`, the initial block height is `2721396`, the end block height is `2786779`, and the path to `monero-blockchain-stats` is `~/monero/monero-blockchain-stats`, then the input into terminal would be `Rscript ~/misc-research/Monero-p2pool-Output-Stats/p2pool-output-stats.R 2721396 2786779 "~/monero/monero-blockchain-stats"`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue