mirror of
https://github.com/Rucknium/misc-research.git
synced 2024-12-22 11:29:22 +00:00
Fix miscalc of p2pool revenue advantage
Previously used unique block_reward instead of taking each block_height
This commit is contained in:
parent
244fca3d66
commit
8b2c553732
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ xmr.blockchain <- merge(xmr.blockchain, p2pool.sim.confirm, by = "canon.receive_
|
|||
|
||||
xmr.blockchain[, mean(canon.block_receive_time - p2pool.sim.confirm.time, na.rm = TRUE)]
|
||||
|
||||
block.reward <- unique(xmr.blockchain[, .(block_reward, Pool, is_p2pool)])
|
||||
block.reward <- unique(xmr.blockchain[, .(block_height, block_reward, Pool, is_p2pool)])
|
||||
|
||||
|
||||
block.reward[, mean(block_reward, na.rm = TRUE) / 1e12, by = "Pool"]
|
||||
|
|
Loading…
Reference in a new issue