grin/chain
Antioch Peverell 89c06ddab7
client invalidateheader and resetchainhead (#3618)
* wip - "reset_head" via owner api functionality

* jsonrpc pass hash in as a string

* sort of works

* not a reorg if we simply accept several blocks at once

* remember to reset header MMR separately
as it is readonly when interacting with txhashset extension

* basic client integration
needs error handling etc.

* reset sync status when reset chain head

* track "denylist" (todo) and validate headers against this via the ctx

* track denylist (header hashes) in chain itself

* header denylist in play

* expose invalidateheader as client cmd

* rework reset_chain_head - rewind txhashset then header MMR
2021-04-29 11:05:05 +01:00
..
src client invalidateheader and resetchainhead (#3618) 2021-04-29 11:05:05 +01:00
tests Add test for duplicate rangeproof inflation bug (#3630) 2021-04-06 11:06:52 +01:00
Cargo.toml Defork croaring (#3596) 2021-03-22 13:31:43 -04:00