|
|
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 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">
| |
− | 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;
| |
− | </source>
| |
− | :'''Answered:''' Being elected as a slot winner gives you the right to create a block, but new blocks are required far less frequently than every slot. The reward is for creating a block, not for simply being elected the slot winner. --[[User:Nad|Nad]] ([[User talk:Nad|talk]]) 17:16, 31 December 2019 (UTC)
| |