[#132] Add internal event to process cleanup

This event will be produced by new epoch handler. All
cleanups should be synchronous because smart contract can't
store inner ring votes forever. Therefore voting should be done
in similar time interval for all inner ring nodes.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-10-29 18:57:16 +03:00 committed by Alex Vanin
parent dfc2e81717
commit 9b97e95f82

View file

@ -0,0 +1,9 @@
package netmap
// netmapCleanupTick is a event to remove offline nodes.
type netmapCleanupTick struct {
epoch uint64
}
// MorphEvent implements Event interface.
func (netmapCleanupTick) MorphEvent() {}