Skip to content

aea.protocols.generator.validate

This module validates a protocol specification.

validate

validate(protocol_specification: ProtocolSpecification) -> Tuple[bool, str]

Evaluate whether a protocol specification is valid.

Arguments:

  • protocol_specification: a protocol specification.

Returns:

Boolean result, and associated message.

Back to top