[ADD] slash node accounts not observing inbound txs

This adds logic to slash node accounts for not observing. This adds slash points which are used later (on leave) to calculate how many block reward units a node account should receive. This does not take away from their bond, just rewards.

This is calculated within a block only and the data does not persist beyond any given block.

If, within a block, there are no observations at all (ie no transactions), block rewards are granted to all node accounts.

Edited by Son of Odin

Merge request reports

Loading