Module data_source

Source
Expand description

This file contains the DataSource trait. This trait allows the [RequestResponseProtocol] to calculate/derive a response for a specific request. In the confirmation layer the implementer would be something like a [FeeMerkleTree] for fee catchup

Structs§

DataSource

Enums§

Storage
A type alias for SQL storage

Functions§

retain_v1_reward_accounts
Get a partial snapshot of the given reward state, which contains only the specified accounts.
retain_v2_reward_accounts
Get a partial snapshot of the given reward state, which contains only the specified accounts.

Type Aliases§

Consensus 🔒
A type alias for the consensus handle