Rucknium

joined 1 month ago
[–] [email protected] 0 points 2 weeks ago

If I understand your question right, I think you're looking for the inverse cumulative distribution function (a.k.a. quantile function) of the Erlang distribution.

The random length of time to mine the next block has an exponential distribution with rate parameter 1/t. The length of time to mine n blocks has an Erlang distribution with shape parameter n and rate parameter 1/t.

The Erlang distribution is a special case of the Gamma distribution. The Erlang distribution's shape parameter must be an integer, but the Gamma distribution's shape parameter can be any positive real number. We can use the Gamma distribution if Erlang isn't given to us by our calculator.

You would compute T in the R language with:

qgamma(p = p, shape = n, rate = 1/t)/n

The results of this simulation match the closed-form computation:

t <- 120
n <- 15
p <- 0.4

set.seed(314)

mining.times <- matrix(rexp(n * 100000, rate = 1/t), ncol = n)

mining.times <- rowSums(mining.times)

quantile(mining.times/n, probs = p)

qgamma(p = p, shape = n, rate = 1/t)/n
# Divide by n to get the mean instead of the total
 

I've perceived an increase in the number of newborn nodes syncing the blockchain from my nodes. Maybe after the Chainalysis video showed the privacy risks of using remote nodes over clearnet, more people are setting up their own nodes.

If you run your own node, you can make a get_connections call to monerod's unrestricted RPC port (18081 by default) to get data on the sync status of your peer nodes. I wrote a little script to display this info if anyone is interested.

 

V0.36.0.0 Starting Soon

The Townforge is going to restart on the 1st of september, wtth Townforge 0.36. The main addition to this new version [is] PoS, which allows you to stake in-game buildings (in lieu of raw currency like most other PoS coins).

More detalls on Townforge PoS can be found here.

Hopefully this is the last testnet before mainnet this time.

Feel free to pop in #townforge on irc.libera.chat, or there is now a Matrix room relaying to/from it at #townforge:matrix.org.

Aug 23, 2024 • moneromooo

[–] [email protected] 0 points 1 month ago (1 children)

I've put this video on the next Monero Research Lab meeting agenda: https://github.com/monero-project/meta/issues/1070

All are free to join the text-based MRL meetings.