Just an idea to increase stability

Words
175
Reading
1 min
Listen
Play
5y

After, let's say, 50 missing blocks in a sequence, the witness have the value of their received votes divided by the count of sequential misses after the 50th having the count decremented for each successful block until reaching 1.


Here is the superficial pseudo code expressing the idea I had:

Starting with:


count_missed = 0;
miss_threshold = 50

For every assigned block:

if ( missed_block ) {
    count_missed++;
}
else{
    if( count_missed < miss_threshold )
        count_missed = 0;
    if ( count_missed > 0)
        count_missed--;
}

if( count_missed > miss_threshold ){
    computated_received_vesting_votes = received_vesting_votes / (count_missed - miss_threshold);
}
else{
    computated_received_vesting_votes = received_vesting_votes;
}


As I said, it was just an idea I had while looking at witnesses among the Top100 who happen to be missing blocks in sequence for many months.

I know witnesses can retire, temporarily deactivate and all other possibilities, but they already have the possibility of using the deactivation key(STM1111111111111111111111111111111114T1Anm) for disabling the witness.

I don't think this would be a bad thing for the witness itself as it would prevent their misses from increasing too much and also help to keep the network stable with less missed blocks.

As I said, it was just an idea. Feel free to comment your thoughts below.


If you have a spare vote...

Vote for me as your Hive Witness

Just an idea to increase stability | Ecency