grin/chain
Gary Yu 37b3a72c2f
use sandbox folder for txhashset validation on state sync (#2685)
* use sandbox folder for txhashset validation on state sync

* rustfmt

* use temp directory as the sandbox instead actual db_root txhashset dir

* rustfmt

* move txhashset overwrite to the end of full validation

* fix travis-ci test

* rustfmt

* fix: hashset have 2 folders including txhashset and header

* rustfmt

* 
(1)switch to rebuild_header_mmr instead of copy the sandbox header mmr 
(2)lock txhashset when overwriting and opening and rebuild

* minor improve on sandbox_dir
2019-03-28 23:24:31 +08:00
..
src use sandbox folder for txhashset validation on state sync (#2685) 2019-03-28 23:24:31 +08:00
tests use sandbox folder for txhashset validation on state sync (#2685) 2019-03-28 23:24:31 +08:00
Cargo.toml Don't extract unexpected files from txhashset archive (#2624) 2019-02-24 22:57:56 -08:00