Reexport some HB types.

This commit is contained in:
c0gent 2019-01-21 18:09:30 -08:00
parent 42919d730a
commit 161b31f583
No known key found for this signature in database
GPG Key ID: 9CC25E71A743E892
2 changed files with 4 additions and 3 deletions

View File

@ -59,6 +59,7 @@ version = "*"
git = "https://github.com/poanetwork/hbbft"
# branch = "master"
rev = "ceb416a6"
# rev = "d4a7b19adb7021efcefdf735f6dd2c45cce0a1d2"
# path = "../hbbft"
[profile.release]

View File

@ -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)]