Serialize genesis block using bincode (#4687)

* use mmap to read the genesis block, and deserialize
This commit is contained in:
Pankaj Garg
2019-06-14 14:22:52 -07:00
committed by GitHub
parent 3fe5f886d7
commit 02abf422df
4 changed files with 19 additions and 7 deletions

View File

@@ -18,6 +18,7 @@ generic-array = { version = "0.13.0", default-features = false, features = ["ser
hex = "0.3.2"
itertools = "0.8.0"
log = "0.4.2"
memmap = "0.6.2"
num-derive = "0.2"
num-traits = "0.2"
rand = "0.6.5"