pub fn new_data_provider<B, C>(
client: &C,
parent: &B::Hash
) -> Result<InherentDataProvider, Error>where
B: BlockT,
C: IndexedBody<B>,
Expand description
Create a new inherent data provider instance for a given parent block hash.
pub fn new_data_provider<B, C>(
client: &C,
parent: &B::Hash
) -> Result<InherentDataProvider, Error>where
B: BlockT,
C: IndexedBody<B>,
Create a new inherent data provider instance for a given parent block hash.