So if I understand you correctly, what you suggest is:
- EvilBob waits with generating block n, cause he wants to maximize his gains,
- In the meantime Alice produced block n
I want to prevent behavior
compensation should be given to Alice?
The solution proposed
That might not be that easy to do. There is (quite likely) chance that transactions in block generated by Alice,
will be different, than those, that EvilBob wanted to include.
Not likely , Is sure transaction are different
Change for switch the solution is quickly and safe .
only block use moment switch {
Block XXXXXXXXX0 , can not include transaction
Block XXXXXXXXX1 , compensation use new methode
If XXXXXXXXXX0 include fee, fee is add to account generator ( XXXXXXXX0 and XXXXXXXX1 )
}
And for get ammount fee :
Retrieve information from the previous block with same method to get signature to forge the current block
We must accept we are not paid for the transaction includes block but are in the previous block
If the previous block at zero fee. No one's interest to stay long on the current block.
Everyone wants new blocks with transactions forge