Module request_response::data_source

source ·
Expand description

The data source trait. Is what we use to derive the response data for a request 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

Traits§

  • The trait that allows the [RequestResponseProtocol] to calculate/derive a response for a specific request