pub fn new(client: Arc<I>, key: Arc<ed25519::Pair>, factory: P) -> BftService<B, P, I> {
		BftService {
			client: client,
			live_agreement: Mutex::new(None),
			round_cache: Arc::new(Mutex::new(RoundCache {
				hash: None,
				start_round: 0,
			})),
			round_timeout_multiplier: 10,
			key: key,
			factory,
		}
	}
/// Create a new service instance.
Create a new service instance.
Create a new service instance .
pub fn new(client: Arc<I>, key: Arc<ed25519::Pair>, factory: P) -> BftService<B, P, I> {
		BftService {
			client: client,
			live_agreement: Mutex::new(None),
			round_cache: Arc::new(Mutex::new(RoundCache {
				hash: None,
				start_round: 0,
			})),
			round_timeout_multiplier: 10,
			key: key,
			factory,
		}
	}
pub fn new ( client : Arc < I > , key : Arc < ed25519 :: Pair > , factory : P ) -> BftService < B , P , I > { BftService { client : client , live_agreement : Mutex :: new ( None ) , round_cache : Arc :: new ( Mutex :: new ( RoundCache { hash : None , start_round : 0 , } ) ) , round_timeout_multiplier : 10 , key : key , factory , } }
Create a new service instance.
Create a new service instance .
client
Arc<I>
key
Arc<ed25519::Pair>
factory
P
client
Arc<I>
key
Arc<ed25519::Pair>
factory
P