Difference between revisions of "Talk:Cardano"

From Organic Design wiki
(shouldn't a pool of 1% stake win an average of 432 slots per epoch?)
 
m
Line 1: Line 1:
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 430 slots per epoch? In reality pools with around 1% stake seem to be winning about 43 slots... I asked the community [https://www.reddit.com/r/cardano/comments/eenglt/how_to_choose_a_stake_pool_in_the_testnet/ 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:
+
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 [https://www.reddit.com/r/cardano/comments/eenglt/how_to_choose_a_stake_pool_in_the_testnet/ 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:
 
<source lang="perl">
 
<source lang="perl">
 
open LOG, '<', 'sentinel.log';
 
open LOG, '<', 'sentinel.log';

Revision as of 21:30, 26 December 2019

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;