Any malicious node can retrieve all mini blocks from chain and send them all to all connected peers to increase bandwith use, and to consume CPU by verifying all these mini blocks.
The fix consist to reject all stale mini blocks to prevent such spam because nodes getting such old mini blocks are going to broadcast them too spamming the whole network.
Because flip_top function has a return at beginning, I don't verify that the mini block height is not greater than stable limit chain.
Any malicious node can retrieve all mini blocks from chain and send them all to all connected peers to increase bandwith use, and to consume CPU by verifying all these mini blocks.
The fix consist to reject all stale mini blocks to prevent such spam because nodes getting such old mini blocks are going to broadcast them too spamming the whole network.
Because
flip_top
function has areturn
at beginning, I don't verify that the mini block height is not greater than stable limit chain.