Module sentry::db::validator_message
source · Functions
Retrieves [
ValidatorMessage
]s for a given [Channel
],
filters them by the message_types
and optionally,
filters them by the provided from
[ValidatorId
].Returns the latest 2 [
Heartbeat
] messages for this [Channel
] received from
the [ValidatorId
].Returns the latest [
NewState
] message for this [Channel
] and the provided state_root
.