grin/servers/src
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
..
common client invalidateheader and resetchainhead (#3618) 2021-04-29 11:05:05 +01:00
grin track sync_head on header_sync sync status (#3626) 2021-04-06 11:16:20 +01:00
mining fix share difficulty validation - compare stratum server minimum_share_difficulty as unscaled difficulty (#3624) 2021-04-23 09:28:29 -04:00
common.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
grin.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00
lib.rs never speak of the verifier cache again (#3628) 2021-04-01 15:04:53 +01:00
mining.rs Update copyright year to 2021 (#3592) 2021-03-10 10:14:48 -05:00