Configure node for a multi-node testnet

This commit is contained in:
Luke Parker
2022-11-01 23:10:36 -04:00
parent 86aaadaea0
commit e3fc3f28fb
9 changed files with 65 additions and 31 deletions

View File

@@ -28,8 +28,8 @@ pub use block_import::TendermintSelectChain;
pub(crate) mod authority;
pub use authority::TendermintAuthority;
const CONSENSUS_ID: [u8; 4] = *b"tend";
const KEY_TYPE_ID: KeyTypeId = KeyTypeId(CONSENSUS_ID);
pub const CONSENSUS_ID: [u8; 4] = *b"tend";
pub const KEY_TYPE_ID: KeyTypeId = KeyTypeId(CONSENSUS_ID);
/// Trait consolidating all generics required by sc_tendermint for processing.
pub trait TendermintClient: Send + Sync + 'static {