Expand description
RewardApi trait implementations for espresso-node
This module provides implementations for both v1::RewardApi (internal types) and v2::RewardApi (proto types), backed by the same data source.
Structsยง
- Node
ApiState Impl - Node API state implementation
Traitsยง
- State
Signature ๐Data Source Erased - Submit
Data ๐Source Erased - Network-agnostic submit hook used by the axum wrapper. The original
SubmitDataSource<N, P>trait is parameterized by the network type; this erased trait letsNodeApiStateImplavoid carrying those parameters.
Functionsยง
- bad_
request ๐ - block_
id_ ๐to_ hs - classify_
query_ ๐error - enforce_
range ๐ - fetch_
supply_ ๐inputs - lc_
fetch_ ๐timeout - lc_
large_ ๐object_ range_ limit - lc_
leaf_ ๐proof_ chain_ limit - node_
window_ ๐limit - not_
found ๐ - payload_
id_ ๐to_ hs - range_
exceeded ๐