Chain Selection: Follow-ups (#3328)

* DB skeleton

* key formats

* lexicographic test

* custom types for DB

* implement backend for db-v1

* remove VoidBackend and integrate with real DbBackend

* detect stagnant blocks on in interval

* fix tests

* add tests for stagnant

* send ChainSelectionMessage::Approved

* tests for DB backend

* unused import

* upgrade kvdb-memorydb

Co-authored-by: Andronik Ordian <write@reusable.software>
This commit is contained in:
Robert Habermeier
2021-07-06 16:00:52 -05:00
committed by GitHub
parent 5ba0de035e
commit f69c175119
12 changed files with 1353 additions and 144 deletions
+2
View File
@@ -6176,7 +6176,9 @@ version = "0.1.0"
dependencies = [
"assert_matches",
"futures 0.3.15",
"futures-timer 3.0.2",
"kvdb",
"kvdb-memorydb",
"parity-scale-codec",
"parking_lot 0.11.1",
"polkadot-node-primitives",