Skip to content

Instantly share code, notes, and snippets.

@Rucknium
Created December 13, 2021 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rucknium/e04fc1f5e698a4f6d3ab1a52641b3dea to your computer and use it in GitHub Desktop.
Save Rucknium/e04fc1f5e698a4f6d3ab1a52641b3dea to your computer and use it in GitHub Desktop.
Calculates the probability of waiting at least X minutes for the next Monero block to be found
minutes.waiting <- 10
1 - pexp(minutes.waiting, rate = 1/2)
# [1] 0.006737947
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment