Availability store subsystem (#1404)

* Initial commit

* WIP

* Make atomic transactions

* Remove pruning code

* Fix build and add a Nop to bridge

* Fixes from review

* Move config struct around for clarity

* Rename constructor and warn on missing docs

* Fix a test and rename a message

* Fix some more reviews

* Obviously failed to rebase cleanly
This commit is contained in:
Fedor Sakharov
2020-07-27 14:13:02 +03:00
committed by GitHub
parent 65797c001c
commit 32a20a178c
15 changed files with 701 additions and 57 deletions
+3
View File
@@ -808,6 +808,8 @@ where
self.broadcast_signal(OverseerSignal::ActiveLeaves(update)).await?;
self.broadcast_signal(OverseerSignal::BlockFinalized(block.hash)).await?;
Ok(())
}
@@ -1388,6 +1390,7 @@ mod tests {
deactivated: [first_block_hash, second_block_hash].as_ref().into(),
..Default::default()
}),
OverseerSignal::BlockFinalized(third_block_hash),
];
loop {