Interface RequestVerifier


  • public interface RequestVerifier
    Classes that implement this interface are invoked within consensus instances upon reception of a PROPOSE message in order to enforce the "external validity". More precisely, objects extending this class must verify if the requests are valid in accordance to the application semantics (and not an erroneous requests sent by a Byzantine leader).
    • Method Detail

      • isValidRequest

        boolean isValidRequest​(TOMMessage request)
        Given a request, validated it
        Parameters:
        request - The request to be validated
        Returns:
        true if the request is valid, false otherwise