fuel-core 0.48.0

Fuel client library is aggregation of all fuels service. It contains the all business logic of the fuel protocol.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::service::adapters::BlockImporterAdapter;
use fuel_core_services::stream::BoxStream;
use fuel_core_shared_sequencer::ports::BlocksProvider;
use fuel_core_types::services::block_importer::SharedImportResult;

impl BlocksProvider for BlockImporterAdapter {
    fn subscribe(&self) -> BoxStream<SharedImportResult> {
        self.events_shared_result()
    }
}