grin/store/src
Antioch Peverell 8b7a20f8b0
The Header MMR (One MMR To Rule Them All) (#1716)
* header MMR in use within txhashset itself
works with fast sync
not yet in place for initial header sync

* add the (currently unused) sync_head mmr

* use sync MMR during fast sync
rebuild header MMR after we validate full txhashset after download

* support missing header MMR (rebuild as necessary) for legacy nodes

* rustfmt

* comments/docs

* rustfmt

* cleanup DBBackend

* cleanup DBBackend

* cleanup

* rename to HashOnly

* rustfmt

* cleanup backend.append()

* simply pmmr append api
no need to pass position when appending

* cleanup

* simplify vec_backend to match simpler append api

* rustfmt

* docs/comments

* rustfmt

* cleanup
2018-10-15 17:16:34 +01:00
..
leaf_set.rs Cleanup generics (where not needed) (#1429) 2018-08-27 17:22:48 -04:00
lib.rs The Header MMR (One MMR To Rule Them All) (#1716) 2018-10-15 17:16:34 +01:00
lmdb.rs Spit chain and peer lmdb envs (#1680) 2018-10-07 10:25:12 -07:00
pmmr.rs The Header MMR (One MMR To Rule Them All) (#1716) 2018-10-15 17:16:34 +01:00
prune_list.rs cache get_shift() and get_leaf_shift() in prune_list (#1495) 2018-09-12 08:19:05 +01:00
rm_log.rs The Header MMR (One MMR To Rule Them All) (#1716) 2018-10-15 17:16:34 +01:00
types.rs The Header MMR (One MMR To Rule Them All) (#1716) 2018-10-15 17:16:34 +01:00