* Remove obsolete header cache
why:
Was fall back for the case that the DB table was inaccessible before
`FC` module reorg.
* Add the number of unused connected peers to metric
* Update docu, add Grafana example
why:
Provides useful settings, e.g. for memory debugging
* Re-calibrate blocks queue for import
why:
Old queue setup provided a staging area which was much too large
consuming too much idle memory. Also the command-line re-calibrating
for debugging was much too complicated.
And the naming for the old setup was wrong: There is no max queue
size. Rather there is a HWM where filling the queue stops when reached.
The currently tested size allows for 1.5k blocks on the queue.
* Rename hidden command-line option for debug/re-calibrating blocks queue
By introducing the "shared rocksdb instance" concept to the backend, we
can remove the "piggybacking" mode , thus reducing the complexity of
database initialisation and opening the possibility of extending how
write batching works across kvt/aristo.
The change makes explicit the hidden shared state that was previously
hiding in closures and provides the first step towards simplifying the
"commit/persist" interface of coredb, preparing it for optimizations to
reduce the "layering tax" that `forked-layers` introduced.
* renamed nimbus folder to execution_chain
* Renamed "nimbus" references to "execution_chain"
* fixed wrongly changed http reference
* delete snap types file given that it was deleted before this PR merge
* missing 'execution_chain' replacement
---------
Co-authored-by: pmmiranda <pedro.miranda@nimbus.team>