client: add a block blacklist extension (#4544)

* client: add a block blacklist extension

* test-utils: fix client construction

* client: fix rustdoc test
This commit is contained in:
André Silva
2020-01-06 18:03:44 +00:00
committed by GitHub
parent b65e336a1d
commit a89d87d708
9 changed files with 70 additions and 9 deletions
+8 -1
View File
@@ -70,7 +70,14 @@ pub fn new_light<B, S, GS, RA, E>(
{
let local_executor = LocalCallExecutor::new(backend.clone(), code_executor);
let executor = GenesisCallExecutor::new(backend.clone(), local_executor);
Client::new(backend, executor, genesis_storage, Default::default(), Default::default())
Client::new(
backend,
executor,
genesis_storage,
Default::default(),
Default::default(),
Default::default(),
)
}
/// Create an instance of fetch data checker.