grin/chain/tests
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
..
data_file_integrity.rs Reduce number of unwraps in chain crate (#2679) 2019-03-17 13:32:48 +01:00
mine_simple_chain.rs Reduce number of unwraps in chain crate (#2679) 2019-03-17 13:32:48 +01:00
store_indices.rs Re-launch floonet (#2249) 2018-12-28 14:46:21 -08:00
test_coinbase_maturity.rs Reduce number of unwraps in chain crate (#2679) 2019-03-17 13:32:48 +01:00
test_txhashset.rs use sandbox folder for txhashset validation on state sync (#2685) 2019-03-28 23:24:31 +08:00