pub type DataSource = SqlDataSource<SeqTypes, Provider>;
Aliased Type§
pub struct DataSource { /* private fields */ }
Trait Implementations§
Source§impl CatchupStorage for DataSource
impl CatchupStorage for DataSource
Source§async fn get_accounts(
&self,
instance: &NodeState,
height: u64,
view: ViewNumber,
accounts: &[FeeAccount],
) -> Result<(FeeMerkleTree, Leaf2)>
async fn get_accounts( &self, instance: &NodeState, height: u64, view: ViewNumber, accounts: &[FeeAccount], ) -> Result<(FeeMerkleTree, Leaf2)>
Get the state of the requested
accounts
. Read moreasync fn get_reward_accounts_v2( &self, instance: &NodeState, height: u64, view: ViewNumber, accounts: &[RewardAccountV2], ) -> Result<(RewardMerkleTreeV2, Leaf2)>
async fn get_reward_accounts_v1( &self, instance: &NodeState, height: u64, view: ViewNumber, accounts: &[RewardAccountV1], ) -> Result<(RewardMerkleTreeV1, Leaf2)>
Source§async fn get_frontier(
&self,
instance: &NodeState,
height: u64,
view: ViewNumber,
) -> Result<BlocksFrontier>
async fn get_frontier( &self, instance: &NodeState, height: u64, view: ViewNumber, ) -> Result<BlocksFrontier>
Get the blocks Merkle tree frontier. Read more