interface MessageValidator
(source)
Validator for a message and a peer. This validator is called prior to gossiping the message from that peer to other peers.
abstract fun validate(message: Bytes, peer: Peer): Boolean
Validates that the message from the peer is valid. |