From 9f1a133c95f0413bdd6fda0b7f899b0acbeea61f Mon Sep 17 00:00:00 2001 From: Steve Pack Date: Thu, 18 Apr 2024 15:19:47 -0600 Subject: [PATCH 1/2] Update staking-service-guidelines.mdx Added simplified formula for calculating chance of winning block. --- docs/node-operators/staking-service-guidelines.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/node-operators/staking-service-guidelines.mdx b/docs/node-operators/staking-service-guidelines.mdx index 519c260d8..7f2a519fa 100644 --- a/docs/node-operators/staking-service-guidelines.mdx +++ b/docs/node-operators/staking-service-guidelines.mdx @@ -109,6 +109,8 @@ Since each VRF is compared against this threshold (which is between 0 and 1), an As an example, let's say there is an account on the network which has $10^6$ (1 million) mina tokens in the staking ledger epoch $ep$. This same staking ledger for epoch $ep$ has a total supply of $8\times10^8$ (800 million) mina tokens. We can compute the odds that this account will win an individual slot in $ep$ using $\phi\left(\dfrac{10^6}{8\times10^8}\right) = 0.0017313674$. This gives us a $\sim0.17\%$ chance that this account will win each slot during epoch $ep$. We can then compute the mean number of blocks we expect this account to produce for this epoch by multiplying the result by $7140$, giving us a probabilistic mean of $\sim12.36$ blocks for the epoch. +Another way to calculate the probability is $`1 - 0.25^{\left(\dfrac{10^6}{8\times10^8}\right)}`$ which gives the same result as above. + ## Sending Many Transactions See [Sending Many Transactions](/mina-protocol/sending-a-payment#sending-many-transactions). From 2833062074c1ae155f1f1460639ac8d76440efd0 Mon Sep 17 00:00:00 2001 From: Steve Pack Date: Tue, 7 May 2024 17:54:08 -0600 Subject: [PATCH 2/2] Removed backticks --- docs/node-operators/staking-service-guidelines.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/node-operators/staking-service-guidelines.mdx b/docs/node-operators/staking-service-guidelines.mdx index 7f2a519fa..36da260a4 100644 --- a/docs/node-operators/staking-service-guidelines.mdx +++ b/docs/node-operators/staking-service-guidelines.mdx @@ -109,7 +109,7 @@ Since each VRF is compared against this threshold (which is between 0 and 1), an As an example, let's say there is an account on the network which has $10^6$ (1 million) mina tokens in the staking ledger epoch $ep$. This same staking ledger for epoch $ep$ has a total supply of $8\times10^8$ (800 million) mina tokens. We can compute the odds that this account will win an individual slot in $ep$ using $\phi\left(\dfrac{10^6}{8\times10^8}\right) = 0.0017313674$. This gives us a $\sim0.17\%$ chance that this account will win each slot during epoch $ep$. We can then compute the mean number of blocks we expect this account to produce for this epoch by multiplying the result by $7140$, giving us a probabilistic mean of $\sim12.36$ blocks for the epoch. -Another way to calculate the probability is $`1 - 0.25^{\left(\dfrac{10^6}{8\times10^8}\right)}`$ which gives the same result as above. +Another way to calculate the probability is $1 - 0.25^{\left(\dfrac{10^6}{8\times10^8}\right)}$ which gives the same result as above. ## Sending Many Transactions