Move import lock onto backend (#2797)

* Drop import_lock from client, move it into backend, impl default version via static mutex

* still need to allow depcretion because of client.backend

* additional docs

* Remove default impl of get_import_lock, impl on instances

* Bump parking_lot to 0.8.0 accross the board
This commit is contained in:
Benjamin Kampmann authored and Bastian Köcher committed 2019-06-05 15:46:01 +02:00
1 parent 4f888f34d3
commit eaa0ab014a
37 files changed
+101 -97

No files matched your search

+1 -1
View File
@@ -975,7 +975,7 @@ mod tests {
#[allow(deprecated)]
let select_chain = LongestChain::new(client.backend().clone(), client.import_lock().clone());
let select_chain = LongestChain::new(client.backend().clone());
let babe = start_babe(BabeParams {
config,