pub trait BlocksProvider {
// Required method
fn subscribe(&self) -> BoxStream<SharedImportResult>;
}
Expand description
Provider of the blocks.
Required Methods§
Sourcefn subscribe(&self) -> BoxStream<SharedImportResult>
fn subscribe(&self) -> BoxStream<SharedImportResult>
Subscribe to new blocks.