Handle RPC requests in the substrate-service (#2866)

* Rework RPC queries

* Remove SyncProvider trait

* Fix RPC tests
This commit is contained in:
Pierre Krieger authored and Gavin Wood committed 2019-06-15 15:44:04 +02:00
1 parent c48aebe897
commit f7bd56d2a8
10 files changed
+180 -133

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ use std::time;
use futures::{Future, Stream};
use service::{Service, Components};
use tokio::runtime::TaskExecutor;
use network::{SyncState, SyncProvider};
use network::SyncState;
use client::{backend::Backend, BlockchainEvents};
use log::{info, warn};