Talk:Cardano

From Organic Design wiki
Revision as of 21:30, 26 December 2019 by Nad (talk | contribs)

One thing I don't understand is that if there's 43,200 slots per epoch, then shouldn't a pool with 1% of the total stake be winning an average of 432 slots per epoch? In reality pools with around 1% stake seem to be winning about 43 slots... I asked the community here in this redit thread. The average time between new slots as shown by the pool API seems to be about 30s which I found by parsing the sentinel log with this perl snippet:

open LOG, '<', 'sentinel.log';
my $n = 0;
my $t = 0;
while(<LOG>) {
	if( /^\[\d+\/(\d+)\] Epoch:/ ) {
		$n++;
		$t += $1;
		print "$1, " . ($t/$n) . "\n";
	}
}
close LOG;