Jacek Sieka ee79c10a7d
update validator key cache on startup (#2760)
* update validator key cache on startup

Versions prior to 1.1.0 do not write a validator key cache at all.

Versions from 1.4.0 and upwards require an immutable validator key cache
to verify blocks - normally, block verification fills the cache but that
assumes that at least one block was verified by a version that has the
key cache.

Taken together, this breaks direct upgrades from anything <1.1.0 to
1.4.0.

The fix is simply to refresh fill the cache from an existing state on
startup.

* also log serious block validation failures at info level
2021-08-05 11:26:10 +03:00
..
2020-11-20 11:00:22 +01:00
2021-06-01 20:43:44 +03:00
2021-06-04 10:38:00 +00:00
2021-06-04 10:38:00 +00:00
2021-05-17 18:37:26 +02:00
2021-05-11 22:03:40 +02:00
2021-06-01 20:43:44 +03:00
2021-06-01 20:43:44 +03:00
2021-05-17 18:37:26 +02:00
2021-06-01 20:43:44 +03:00
2021-05-17 18:37:26 +02:00