Substrate relay guards (#470)

* substrate relay guards

* checked time condition

* ChainWithBalances

* removed obsolete comment

* Update relays/substrate-client/src/chain.rs

Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>

* trailing space

Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
This commit is contained in:
Svyatoslav Nikolsky
2020-11-02 15:01:59 +03:00
committed by Bastian Köcher
parent cc1da1bb39
commit b027c81266
12 changed files with 498 additions and 20 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ use sp_runtime::traits::{
use sp_std::str::FromStr;
/// Minimal Substrate-based chain representation that may be used from no_std environment.
pub trait Chain {
pub trait Chain: Send + Sync + 'static {
/// A type that fulfills the abstract idea of what a Substrate block number is.
// Constraits come from the associated Number type of `sp_runtime::traits::Header`
// See here for more info: