Multi threaded sync (#27)

* Sync on a threadpool

* Retry on broken connection

* Update README.md

* Update README.md

* Optional Embedded params

* Update (#24)

* Update librustzcash dep

* Update to latest librustzcash

* Fetch blocks on a new thread

* Save wallet deterministically

* Sync on a threadpool

* Fetch blocks on a new thread

* Save wallet deterministically

* At least 2 threads

Co-authored-by: Aditya Kulkarni <adityapk@tr32.home.adityapk.com>
This commit is contained in:
adityapk00
2020-06-29 10:21:22 -07:00
committed by GitHub
parent 2a88501a4c
commit 5d2b85c03a
5 changed files with 407 additions and 82 deletions

View File

@@ -27,6 +27,9 @@ rand = "0.7.2"
sodiumoxide = "0.2.5"
ring = "0.16.9"
libflate = "0.1"
subtle = "2"
threadpool = "1.8.0"
num_cpus = "1.13.0"
tonic = { version = "0.2.1", features = ["tls", "tls-roots"] }
bytes = "0.4"