Implement graceful shutdown (#2812)

* Remove stop status mutex
* remove some deadlocks
* Rewrite stop channel handling
* fix deadlock in peers object
* add missing test fixes
This commit is contained in:
hashmap
2019-05-15 17:51:35 +02:00
committed by Ignotus Peverell
parent 884851cdeb
commit 9ab23f6eef
23 changed files with 452 additions and 293 deletions
+1 -2
View File
@@ -434,8 +434,7 @@ impl<'de> serde::de::Deserialize<'de> for OutputPrintable {
}
if output_type.is_none()
|| commit.is_none()
|| spent.is_none()
|| commit.is_none() || spent.is_none()
|| proof_hash.is_none()
|| mmr_index.is_none()
{