Reexport some HB types.
This commit is contained in:
parent
42919d730a
commit
161b31f583
|
@ -59,6 +59,7 @@ version = "*"
|
|||
git = "https://github.com/poanetwork/hbbft"
|
||||
# branch = "master"
|
||||
rev = "ceb416a6"
|
||||
# rev = "d4a7b19adb7021efcefdf735f6dd2c45cce0a1d2"
|
||||
# path = "../hbbft"
|
||||
|
||||
[profile.release]
|
||||
|
|
|
@ -170,9 +170,9 @@ impl fmt::Debug for Uid {
|
|||
}
|
||||
}
|
||||
|
||||
type Message<N> = DhbMessage<N>;
|
||||
type Step<C, N> = MessagingStep<DynamicHoneyBadger<C, N>>;
|
||||
type Change<N> = DhbChange<N>;
|
||||
pub type Message<N> = DhbMessage<N>;
|
||||
pub type Step<C, N> = MessagingStep<DynamicHoneyBadger<C, N>>;
|
||||
pub type Change<N> = DhbChange<N>;
|
||||
|
||||
/// A peer's incoming (listening) address.
|
||||
#[derive(Clone, Copy, Debug, Serialize, Deserialize, PartialEq, Eq, Hash)]
|
||||
|
|
Loading…
Reference in New Issue