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.
validate |
Validates that the message from the peer is valid. abstract fun validate(message: Bytes!, peer: Peer!): Boolean |