mirror of https://github.com/poanetwork/hbbft.git
update Cargo.toml
This commit is contained in:
parent
2f12266526
commit
9605f8f6d7
30
Cargo.toml
30
Cargo.toml
|
@ -21,30 +21,30 @@ edition = "2018"
|
|||
travis-ci = { repository = "poanetwork/hbbft" }
|
||||
|
||||
[dependencies]
|
||||
bincode = "1.1.2"
|
||||
byteorder = "1.3.1"
|
||||
derivative = "1.0.2"
|
||||
env_logger = "0.6.1"
|
||||
failure = "0.1.5"
|
||||
bincode = "1.2.0"
|
||||
byteorder = "1.3.2"
|
||||
derivative = "1.0.3"
|
||||
env_logger = "0.7.1"
|
||||
failure = "0.1.6"
|
||||
hex_fmt = "0.3"
|
||||
init_with = "1.1.0"
|
||||
log = "0.4.6"
|
||||
log = "0.4.8"
|
||||
rand = "0.6.5"
|
||||
rand_derive = "0.5.0"
|
||||
reed-solomon-erasure = "3.1.1"
|
||||
serde = { version = "1.0.89", features = ["derive", "rc"] }
|
||||
threshold_crypto = "0.3.1"
|
||||
tiny-keccak = "1.4"
|
||||
serde = { version = "1.0.102", features = ["derive", "rc"] }
|
||||
threshold_crypto = { git = "https://github.com/kigawas/threshold_crypto", branch = "cleanup-and-codec"}
|
||||
tiny-keccak = "1.5.0"
|
||||
|
||||
[dev-dependencies]
|
||||
colored = "1.7"
|
||||
crossbeam = "0.7.1"
|
||||
crossbeam-channel = "0.3"
|
||||
docopt = "1.0"
|
||||
colored = "1.8.0"
|
||||
crossbeam = "0.7.3"
|
||||
crossbeam-channel = "0.4.0"
|
||||
docopt = "1.1.0"
|
||||
hbbft_testing = { path = "hbbft_testing", features = ["use-insecure-test-only-mock-crypto"] }
|
||||
itertools = "0.8.0"
|
||||
itertools = "0.8.1"
|
||||
signifix = "0.10.0"
|
||||
proptest = "0.9.2"
|
||||
proptest = "0.9.4"
|
||||
|
||||
[[example]]
|
||||
name = "consensus-node"
|
||||
|
|
|
@ -22,13 +22,13 @@ edition = "2018"
|
|||
travis-ci = { repository = "poanetwork/hbbft" }
|
||||
|
||||
[dependencies]
|
||||
failure = "0.1.5"
|
||||
failure = "0.1.6"
|
||||
hbbft = { path = ".." }
|
||||
integer-sqrt = "0.1.2"
|
||||
proptest = "0.9.2"
|
||||
proptest = "0.9.4"
|
||||
rand = "0.6.5"
|
||||
rand_xorshift = "0.1.1"
|
||||
threshold_crypto = "0.3.1"
|
||||
threshold_crypto = { git = "https://github.com/kigawas/threshold_crypto", branch = "cleanup-and-codec"}
|
||||
|
||||
[features]
|
||||
use-insecure-test-only-mock-crypto = ["hbbft/use-insecure-test-only-mock-crypto"]
|
||||
|
|
|
@ -17,7 +17,7 @@ impl<C, N: NodeIdT> Batch<C, N> {
|
|||
where
|
||||
&'a C: IntoIterator,
|
||||
{
|
||||
self.contributions.values().flat_map(|item| item)
|
||||
self.contributions.values().flatten()
|
||||
}
|
||||
|
||||
/// Returns an iterator over all transactions included in the batch. Consumes the batch.
|
||||
|
|
Loading…
Reference in New Issue