Support synching of blocks that are not new_best (#6508)

* Start

* Remove debug println

* Add tests
This commit is contained in:
Bastian Köcher authored and GitHub committed 2020-06-30 14:44:52 +00:00
1 parent 4fd770dcf9
commit 53be6ec510
9 files changed
+172 -53

No files matched your search

@@ -106,7 +106,7 @@ impl TestNetFactory for GrandpaTestNet {
_cfg: &ProtocolConfig,
_: &PeerData,
) -> Self::Verifier {
PassThroughVerifier(false) // use non-instant finality.
PassThroughVerifier::new(false) // use non-instant finality.
}
fn make_block_import<Transaction>(&self, client: PeersClient)