Expand description
ISMP message types
Structs§
- Consensus
Message - A consensus message is used to update the state of a consensus client and its children state machines.
- Create
Consensus State - Used for creating the initial consensus state for a given consensus client.
- Fraud
Proof Message - A fraud proof message is used to report byzantine misbehaviour in a consensus system.
- Message
With Weight - The ISMP Message with Weight consumed by the message
- Proof
- Proof holds the relevant proof data for the context in which it’s used.
- Request
Message - A request message holds a batch of requests to be dispatched from a source state machine
- Response
Message - A request message holds a batch of responses to be dispatched from a source state machine
- State
Commitment Height - Identifies a state commitment at a given height
Enums§
- Message
- The Overaching ISMP message type.
- Timeout
Message - A timeout message holds a batch of messages to be timed-out
Traits§
- Keccak256
- A trait that returns a 256 bit keccak has of some bytes
Functions§
- hash_
get_ response - Return the keccak256 of a get response
- hash_
post_ response - Return the keccak256 of a post response
- hash_
request - Return the keccak256 hash of a request
- hash_
response - Return the keccak256 of a response