grin/api/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
..
auth.rs Use constant-time token verification in API (#1690) 2018-10-09 09:32:53 -04:00
client.rs Support pem TLS certificates 2018-10-05 17:09:19 +02:00
handlers.rs Replace RefCell with RwLock in OneTime (and cleanup Weak usage) (#1694) 2018-10-09 16:53:57 +01:00
lib.rs Use constant-time token verification in API (#1690) 2018-10-09 09:32:53 -04:00
rest.rs Support pem TLS certificates 2018-10-05 17:09:19 +02:00
router.rs Implement Basic Auth for API and Owner API (#1566) 2018-09-26 22:38:44 +02:00
types.rs The Header MMR (One MMR To Rule Them All) (#1716) 2018-10-15 17:16:34 +01:00
web.rs Support TLS in ApiServer (#1565) 2018-09-21 13:33:23 +02:00