Update libp2p (#2101)

This is a little bit of a tip-of-the-iceberg PR. It houses a lot of code changes in the libp2p dependency. 

This needs a bit of thorough testing before merging. 

The primary code changes are:
- General libp2p dependency update
- Gossipsub refactor to shift compression into gossipsub providing performance improvements and improved API for handling compression



Co-authored-by: Paul Hauner <paul@paulhauner.com>
This commit is contained in:
Age Manning
2020-12-23 07:53:36 +00:00
parent b5e81eb6b2
commit 2931b05582
22 changed files with 396 additions and 509 deletions

268
Cargo.lock generated
View File

@@ -31,7 +31,7 @@ dependencies = [
"slog-term",
"slot_clock",
"tempfile",
"tokio 0.3.5",
"tokio 0.3.6",
"tokio-compat-02",
"types",
"validator_dir",
@@ -130,7 +130,7 @@ dependencies = [
"aes 0.5.0",
"block-cipher",
"ghash",
"subtle 2.3.0",
"subtle 2.4.0",
]
[[package]]
@@ -144,7 +144,7 @@ dependencies = [
"cipher",
"ctr",
"ghash",
"subtle 2.3.0",
"subtle 2.4.0",
]
[[package]]
@@ -430,9 +430,9 @@ checksum = "e91831deabf0d6d7ec49552e489aed63b7456a7a3c46cff62adad428110b0af0"
[[package]]
name = "async-tls"
version = "0.10.0"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d85a97c4a0ecce878efd3f945f119c78a646d8975340bca0398f9bb05c30cc52"
checksum = "2f23d769dbf1838d5df5156e7b1ad404f4c463d1ac2c6aeb6cd943630f8a8400"
dependencies = [
"futures-core",
"futures-io",
@@ -473,7 +473,7 @@ version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf13118df3e3dce4b5ac930641343b91b656e4e72c8f8325838b01a4b1c9d45"
dependencies = [
"http 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"http 0.2.2",
"log",
"url",
]
@@ -599,7 +599,7 @@ dependencies = [
"store",
"task_executor",
"tempfile",
"tokio 0.3.5",
"tokio 0.3.6",
"tree_hash",
"types",
]
@@ -636,7 +636,7 @@ dependencies = [
"slog-term",
"store",
"task_executor",
"tokio 0.3.5",
"tokio 0.3.6",
"tokio-compat-02",
"types",
]
@@ -848,7 +848,7 @@ dependencies = [
"slog-stdlog",
"slog-term",
"sloggers",
"tokio 0.3.5",
"tokio 0.3.6",
"types",
]
@@ -1099,7 +1099,7 @@ dependencies = [
"task_executor",
"time 0.2.23",
"timer",
"tokio 0.3.5",
"tokio 0.3.6",
"toml",
"tree_hash",
"types",
@@ -1350,7 +1350,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab"
dependencies = [
"generic-array 0.14.4",
"subtle 2.3.0",
"subtle 2.4.0",
]
[[package]]
@@ -1360,7 +1360,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "58bcd97a54c7ca5ce2f6eb16f6bede5b0ab5f0055fedc17d2f0b4466e21671ca"
dependencies = [
"generic-array 0.14.4",
"subtle 2.3.0",
"subtle 2.4.0",
]
[[package]]
@@ -1370,7 +1370,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4857fd85a0c34b3c3297875b747c1e02e06b6a0ea32dd892d8192b9ce0813ea6"
dependencies = [
"generic-array 0.14.4",
"subtle 2.3.0",
"subtle 2.4.0",
]
[[package]]
@@ -1454,7 +1454,7 @@ dependencies = [
"byteorder",
"digest 0.9.0",
"rand_core 0.5.1",
"subtle 2.3.0",
"subtle 2.4.0",
"zeroize",
]
@@ -1649,7 +1649,7 @@ dependencies = [
"rlp",
"sha2 0.9.2",
"smallvec",
"tokio 0.3.5",
"tokio 0.3.6",
"tokio-util 0.5.1",
"tracing",
"tracing-subscriber",
@@ -1751,7 +1751,7 @@ dependencies = [
"generic-array 0.14.4",
"group",
"rand_core 0.5.1",
"subtle 2.3.0",
"subtle 2.4.0",
"zeroize",
]
@@ -1832,7 +1832,7 @@ dependencies = [
"slog-term",
"sloggers",
"task_executor",
"tokio 0.3.5",
"tokio 0.3.6",
"types",
]
@@ -1871,7 +1871,7 @@ dependencies = [
"sloggers",
"state_processing",
"task_executor",
"tokio 0.3.5",
"tokio 0.3.6",
"tokio-compat-02",
"toml",
"tree_hash",
@@ -1886,7 +1886,7 @@ dependencies = [
"deposit_contract",
"futures 0.3.8",
"serde_json",
"tokio 0.3.5",
"tokio 0.3.6",
"tokio-compat-02",
"types",
"web3",
@@ -2025,7 +2025,7 @@ dependencies = [
"task_executor",
"tempdir",
"tiny-keccak 2.0.2",
"tokio 0.3.5",
"tokio 0.3.6",
"tokio-io-timeout",
"tokio-util 0.4.0",
"types",
@@ -2215,7 +2215,7 @@ checksum = "01646e077d4ebda82b73f1bca002ea1e91561a77df2431a9e79729bcc31950ef"
dependencies = [
"bitvec 0.18.4",
"rand_core 0.5.1",
"subtle 2.3.0",
"subtle 2.4.0",
]
[[package]]
@@ -2532,7 +2532,7 @@ dependencies = [
"serde_derive",
"slog",
"state_processing",
"tokio 0.3.5",
"tokio 0.3.6",
"tokio-compat-02",
"tree_hash",
"types",
@@ -2613,7 +2613,7 @@ checksum = "cc11f9f5fbf1943b48ae7c2bf6846e7d827a512d1be4f23af708f5ca5d01dde1"
dependencies = [
"ff",
"rand_core 0.5.1",
"subtle 2.3.0",
"subtle 2.4.0",
]
[[package]]
@@ -2627,7 +2627,7 @@ dependencies = [
"futures-core",
"futures-sink",
"futures-util",
"http 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"http 0.2.2",
"indexmap",
"slab",
"tokio 0.2.24",
@@ -2646,10 +2646,10 @@ dependencies = [
"futures-core",
"futures-sink",
"futures-util",
"http 0.2.1 (git+https://github.com/agemanning/http?branch=lighthouse)",
"http 0.2.1",
"indexmap",
"slab",
"tokio 0.3.5",
"tokio 0.3.6",
"tokio-util 0.5.1",
"tracing",
"tracing-futures",
@@ -2684,7 +2684,7 @@ name = "hashset_delay"
version = "0.2.0"
dependencies = [
"futures 0.3.8",
"tokio 0.3.5",
"tokio 0.3.6",
"tokio-util 0.5.1",
]
@@ -2698,7 +2698,7 @@ dependencies = [
"bitflags",
"bytes 0.5.6",
"headers-core 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"http 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"http 0.2.2",
"mime",
"sha-1 0.8.2",
"time 0.1.44",
@@ -2713,7 +2713,7 @@ dependencies = [
"bitflags",
"bytes 0.6.0",
"headers-core 0.2.0 (git+https://github.com/blacktemplar/headers?branch=lighthouse)",
"http 0.2.1 (git+https://github.com/agemanning/http?branch=lighthouse)",
"http 0.2.1",
"mime",
"sha-1 0.8.2",
"time 0.1.44",
@@ -2725,7 +2725,7 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429"
dependencies = [
"http 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"http 0.2.2",
]
[[package]]
@@ -2733,7 +2733,7 @@ name = "headers-core"
version = "0.2.0"
source = "git+https://github.com/blacktemplar/headers?branch=lighthouse#8bffbd8aa2e170745a81e62fc0d7e98c0a23a69a"
dependencies = [
"http 0.2.1 (git+https://github.com/agemanning/http?branch=lighthouse)",
"http 0.2.1",
]
[[package]]
@@ -2830,20 +2830,20 @@ dependencies = [
[[package]]
name = "http"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28d569972648b2c512421b5f2a405ad6ac9666547189d0c5477a3f200f3e02f9"
source = "git+https://github.com/agemanning/http?branch=lighthouse#144a8ad6334f40bf4f84e26cf582ff164795024a"
dependencies = [
"bytes 0.5.6",
"bytes 0.6.0",
"fnv",
"itoa",
]
[[package]]
name = "http"
version = "0.2.1"
source = "git+https://github.com/agemanning/http?branch=lighthouse#144a8ad6334f40bf4f84e26cf582ff164795024a"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "84129d298a6d57d246960ff8eb831ca4af3f96d29e2e28848dae275408658e26"
dependencies = [
"bytes 0.6.0",
"bytes 0.5.6",
"fnv",
"itoa",
]
@@ -2855,7 +2855,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b"
dependencies = [
"bytes 0.5.6",
"http 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"http 0.2.2",
]
[[package]]
@@ -2864,7 +2864,7 @@ version = "0.3.1"
source = "git+https://github.com/agemanning/http-body?branch=lighthouse#a10365c24eaee8eab881519accad48b695b88ccf"
dependencies = [
"bytes 0.6.0",
"http 0.2.1 (git+https://github.com/agemanning/http?branch=lighthouse)",
"http 0.2.1",
]
[[package]]
@@ -2892,7 +2892,7 @@ dependencies = [
"slot_clock",
"state_processing",
"store",
"tokio 0.3.5",
"tokio 0.3.6",
"tokio-compat-02",
"tree_hash",
"types",
@@ -2917,7 +2917,7 @@ dependencies = [
"slog",
"slot_clock",
"store",
"tokio 0.3.5",
"tokio 0.3.6",
"tokio-compat-02",
"types",
"warp",
@@ -2980,7 +2980,7 @@ dependencies = [
"futures-core",
"futures-util",
"h2 0.2.7",
"http 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"http 0.2.2",
"http-body 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"httparse",
"httpdate",
@@ -3003,14 +3003,14 @@ dependencies = [
"futures-core",
"futures-util",
"h2 0.3.0",
"http 0.2.1 (git+https://github.com/agemanning/http?branch=lighthouse)",
"http 0.2.1",
"http-body 0.3.1 (git+https://github.com/agemanning/http-body?branch=lighthouse)",
"httparse",
"httpdate",
"itoa",
"pin-project 1.0.2",
"socket2",
"tokio 0.3.5",
"tokio 0.3.6",
"tower-service",
"tracing",
"want",
@@ -3024,7 +3024,7 @@ checksum = "f93ec5be69758dfc06b9b29efa9d6e9306e387c85eb362c603912eead2ad98c7"
dependencies = [
"bytes 0.5.6",
"futures 0.3.8",
"http 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"http 0.2.2",
"hyper 0.13.9",
"hyper-tls",
"native-tls",
@@ -3121,9 +3121,9 @@ dependencies = [
[[package]]
name = "indexmap"
version = "1.6.0"
version = "1.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "55e2e4c765aa53a0424761bf9f41aa7a6ac1efa87238f59560640e27fca028f2"
checksum = "4fb1fa934250de4de8aef298d81c729a7d33d8c239daa3a7575e6b92bfc7313b"
dependencies = [
"autocfg 1.0.1",
"hashbrown",
@@ -3193,7 +3193,7 @@ dependencies = [
"encoding_rs",
"flume",
"futures-lite",
"http 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"http 0.2.2",
"log",
"mime",
"once_cell",
@@ -3354,7 +3354,7 @@ dependencies = [
"serde_yaml",
"simple_logger",
"state_processing",
"tokio 0.3.5",
"tokio 0.3.6",
"tokio-compat-02",
"tree_hash",
"types",
@@ -3431,14 +3431,14 @@ dependencies = [
[[package]]
name = "libp2p"
version = "0.30.1"
source = "git+https://github.com/sigp/rust-libp2p?rev=830e6fabb7ee51281a98f5e092f056668adbef25#830e6fabb7ee51281a98f5e092f056668adbef25"
version = "0.33.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=97000533e4710183124abde017c6c3d68287c1ae#97000533e4710183124abde017c6c3d68287c1ae"
dependencies = [
"atomic",
"bytes 0.5.6",
"futures 0.3.8",
"lazy_static",
"libp2p-core 0.25.0",
"libp2p-core 0.26.0",
"libp2p-core-derive",
"libp2p-dns",
"libp2p-gossipsub",
@@ -3449,7 +3449,7 @@ dependencies = [
"libp2p-tcp",
"libp2p-websocket",
"libp2p-yamux",
"parity-multiaddr 0.9.6 (git+https://github.com/sigp/rust-libp2p?rev=830e6fabb7ee51281a98f5e092f056668adbef25)",
"parity-multiaddr 0.10.0",
"parking_lot",
"pin-project 1.0.2",
"smallvec",
@@ -3473,8 +3473,8 @@ dependencies = [
"libsecp256k1",
"log",
"multihash 0.11.4",
"multistream-select 0.8.5 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-multiaddr 0.9.6 (registry+https://github.com/rust-lang/crates.io-index)",
"multistream-select 0.8.5",
"parity-multiaddr 0.9.6",
"parking_lot",
"pin-project 1.0.2",
"prost",
@@ -3492,12 +3492,11 @@ dependencies = [
[[package]]
name = "libp2p-core"
version = "0.25.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=830e6fabb7ee51281a98f5e092f056668adbef25#830e6fabb7ee51281a98f5e092f056668adbef25"
version = "0.26.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=97000533e4710183124abde017c6c3d68287c1ae#97000533e4710183124abde017c6c3d68287c1ae"
dependencies = [
"asn1_der",
"bs58 0.4.0",
"bytes 0.5.6",
"ed25519-dalek",
"either",
"fnv",
@@ -3507,8 +3506,8 @@ dependencies = [
"libsecp256k1",
"log",
"multihash 0.13.2",
"multistream-select 0.8.5 (git+https://github.com/sigp/rust-libp2p?rev=830e6fabb7ee51281a98f5e092f056668adbef25)",
"parity-multiaddr 0.9.6 (git+https://github.com/sigp/rust-libp2p?rev=830e6fabb7ee51281a98f5e092f056668adbef25)",
"multistream-select 0.9.1",
"parity-multiaddr 0.10.0",
"parking_lot",
"pin-project 1.0.2",
"prost",
@@ -3526,8 +3525,8 @@ dependencies = [
[[package]]
name = "libp2p-core-derive"
version = "0.20.2"
source = "git+https://github.com/sigp/rust-libp2p?rev=830e6fabb7ee51281a98f5e092f056668adbef25#830e6fabb7ee51281a98f5e092f056668adbef25"
version = "0.21.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=97000533e4710183124abde017c6c3d68287c1ae#97000533e4710183124abde017c6c3d68287c1ae"
dependencies = [
"quote",
"syn",
@@ -3535,18 +3534,18 @@ dependencies = [
[[package]]
name = "libp2p-dns"
version = "0.25.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=830e6fabb7ee51281a98f5e092f056668adbef25#830e6fabb7ee51281a98f5e092f056668adbef25"
version = "0.26.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=97000533e4710183124abde017c6c3d68287c1ae#97000533e4710183124abde017c6c3d68287c1ae"
dependencies = [
"futures 0.3.8",
"libp2p-core 0.25.0",
"libp2p-core 0.26.0",
"log",
]
[[package]]
name = "libp2p-gossipsub"
version = "0.25.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=830e6fabb7ee51281a98f5e092f056668adbef25#830e6fabb7ee51281a98f5e092f056668adbef25"
version = "0.26.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=97000533e4710183124abde017c6c3d68287c1ae#97000533e4710183124abde017c6c3d68287c1ae"
dependencies = [
"base64 0.13.0",
"byteorder",
@@ -3555,12 +3554,13 @@ dependencies = [
"futures 0.3.8",
"futures_codec",
"hex_fmt",
"libp2p-core 0.25.0",
"libp2p-core 0.26.0",
"libp2p-swarm",
"log",
"prost",
"prost-build",
"rand 0.7.3",
"regex",
"sha2 0.9.2",
"smallvec",
"unsigned-varint 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3569,11 +3569,11 @@ dependencies = [
[[package]]
name = "libp2p-identify"
version = "0.25.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=830e6fabb7ee51281a98f5e092f056668adbef25#830e6fabb7ee51281a98f5e092f056668adbef25"
version = "0.26.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=97000533e4710183124abde017c6c3d68287c1ae#97000533e4710183124abde017c6c3d68287c1ae"
dependencies = [
"futures 0.3.8",
"libp2p-core 0.25.0",
"libp2p-core 0.26.0",
"libp2p-swarm",
"log",
"prost",
@@ -3584,13 +3584,13 @@ dependencies = [
[[package]]
name = "libp2p-mplex"
version = "0.25.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=830e6fabb7ee51281a98f5e092f056668adbef25#830e6fabb7ee51281a98f5e092f056668adbef25"
version = "0.26.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=97000533e4710183124abde017c6c3d68287c1ae#97000533e4710183124abde017c6c3d68287c1ae"
dependencies = [
"bytes 0.5.6",
"futures 0.3.8",
"futures_codec",
"libp2p-core 0.25.0",
"libp2p-core 0.26.0",
"log",
"nohash-hasher",
"parking_lot",
@@ -3601,14 +3601,14 @@ dependencies = [
[[package]]
name = "libp2p-noise"
version = "0.27.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=830e6fabb7ee51281a98f5e092f056668adbef25#830e6fabb7ee51281a98f5e092f056668adbef25"
version = "0.28.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=97000533e4710183124abde017c6c3d68287c1ae#97000533e4710183124abde017c6c3d68287c1ae"
dependencies = [
"bytes 0.5.6",
"curve25519-dalek",
"futures 0.3.8",
"lazy_static",
"libp2p-core 0.25.0",
"libp2p-core 0.26.0",
"log",
"prost",
"prost-build",
@@ -3622,12 +3622,12 @@ dependencies = [
[[package]]
name = "libp2p-swarm"
version = "0.25.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=830e6fabb7ee51281a98f5e092f056668adbef25#830e6fabb7ee51281a98f5e092f056668adbef25"
version = "0.26.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=97000533e4710183124abde017c6c3d68287c1ae#97000533e4710183124abde017c6c3d68287c1ae"
dependencies = [
"either",
"futures 0.3.8",
"libp2p-core 0.25.0",
"libp2p-core 0.26.0",
"log",
"rand 0.7.3",
"smallvec",
@@ -3637,28 +3637,28 @@ dependencies = [
[[package]]
name = "libp2p-tcp"
version = "0.25.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=830e6fabb7ee51281a98f5e092f056668adbef25#830e6fabb7ee51281a98f5e092f056668adbef25"
version = "0.26.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=97000533e4710183124abde017c6c3d68287c1ae#97000533e4710183124abde017c6c3d68287c1ae"
dependencies = [
"futures 0.3.8",
"futures-timer",
"if-addrs",
"ipnet",
"libp2p-core 0.25.0",
"libp2p-core 0.26.0",
"log",
"socket2",
"tokio 0.3.5",
"tokio 0.3.6",
]
[[package]]
name = "libp2p-websocket"
version = "0.26.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=830e6fabb7ee51281a98f5e092f056668adbef25#830e6fabb7ee51281a98f5e092f056668adbef25"
version = "0.27.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=97000533e4710183124abde017c6c3d68287c1ae#97000533e4710183124abde017c6c3d68287c1ae"
dependencies = [
"async-tls",
"either",
"futures 0.3.8",
"libp2p-core 0.25.0",
"libp2p-core 0.26.0",
"log",
"quicksink",
"rustls",
@@ -3671,11 +3671,11 @@ dependencies = [
[[package]]
name = "libp2p-yamux"
version = "0.28.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=830e6fabb7ee51281a98f5e092f056668adbef25#830e6fabb7ee51281a98f5e092f056668adbef25"
version = "0.29.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=97000533e4710183124abde017c6c3d68287c1ae#97000533e4710183124abde017c6c3d68287c1ae"
dependencies = [
"futures 0.3.8",
"libp2p-core 0.25.0",
"libp2p-core 0.26.0",
"parking_lot",
"thiserror",
"yamux",
@@ -3693,7 +3693,7 @@ dependencies = [
"hmac-drbg",
"rand 0.7.3",
"sha2 0.8.2",
"subtle 2.3.0",
"subtle 2.4.0",
"typenum",
]
@@ -3745,7 +3745,7 @@ dependencies = [
"slog-term",
"sloggers",
"tempfile",
"tokio 0.3.5",
"tokio 0.3.6",
"tokio-compat-02",
"types",
"validator_client",
@@ -3847,9 +3847,9 @@ dependencies = [
[[package]]
name = "lru"
version = "0.6.1"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be716eb6878ca2263eb5d00a781aa13264a794f519fe6af4fbb2668b2d5441c0"
checksum = "3abe07af102235a56ac9a6dd904aab1e05483e2e8afdfffec3598be55b1b7606"
dependencies = [
"hashbrown",
]
@@ -4136,8 +4136,8 @@ dependencies = [
[[package]]
name = "multistream-select"
version = "0.8.5"
source = "git+https://github.com/sigp/rust-libp2p?rev=830e6fabb7ee51281a98f5e092f056668adbef25#830e6fabb7ee51281a98f5e092f056668adbef25"
version = "0.9.1"
source = "git+https://github.com/sigp/rust-libp2p?rev=97000533e4710183124abde017c6c3d68287c1ae#97000533e4710183124abde017c6c3d68287c1ae"
dependencies = [
"bytes 0.5.6",
"futures 0.3.8",
@@ -4223,7 +4223,7 @@ dependencies = [
"store",
"task_executor",
"tempfile",
"tokio 0.3.5",
"tokio 0.3.6",
"tree_hash",
"types",
]
@@ -4481,8 +4481,8 @@ dependencies = [
[[package]]
name = "parity-multiaddr"
version = "0.9.6"
source = "git+https://github.com/sigp/rust-libp2p?rev=830e6fabb7ee51281a98f5e092f056668adbef25#830e6fabb7ee51281a98f5e092f056668adbef25"
version = "0.10.0"
source = "git+https://github.com/sigp/rust-libp2p?rev=97000533e4710183124abde017c6c3d68287c1ae#97000533e4710183124abde017c6c3d68287c1ae"
dependencies = [
"arrayref",
"bs58 0.4.0",
@@ -5303,7 +5303,7 @@ dependencies = [
"remote_signer_test",
"reqwest",
"serde",
"tokio 0.3.5",
"tokio 0.3.6",
"types",
]
@@ -5321,7 +5321,7 @@ dependencies = [
"serde",
"serde_json",
"tempdir",
"tokio 0.3.5",
"tokio 0.3.6",
"tokio-compat-02",
"types",
]
@@ -5337,16 +5337,16 @@ dependencies = [
[[package]]
name = "reqwest"
version = "0.10.9"
version = "0.10.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb15d6255c792356a0f578d8a645c677904dc02e862bebe2ecc18e0c01b9a0ce"
checksum = "0718f81a8e14c4dbb3b34cf23dc6aaf9ab8a0dfec160c534b3dbca1aaa21f47c"
dependencies = [
"base64 0.13.0",
"bytes 0.5.6",
"encoding_rs",
"futures-core",
"futures-util",
"http 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"http 0.2.2",
"http-body 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"hyper 0.13.9",
"hyper-tls",
@@ -5367,7 +5367,6 @@ dependencies = [
"url",
"wasm-bindgen",
"wasm-bindgen-futures",
"wasm-bindgen-test",
"web-sys",
"winreg",
]
@@ -5468,11 +5467,11 @@ dependencies = [
[[package]]
name = "rustls"
version = "0.18.1"
version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5d1126dcf58e93cee7d098dbda643b5f92ed724f1f6a63007c1116eed6700c81"
checksum = "064fd21ff87c6e87ed4506e68beb42459caa4a0e2eb144932e6776768556980b"
dependencies = [
"base64 0.12.3",
"base64 0.13.0",
"log",
"ring",
"sct",
@@ -5861,7 +5860,7 @@ dependencies = [
"node_test_rig",
"parking_lot",
"rayon",
"tokio 0.3.5",
"tokio 0.3.6",
"tokio-compat-02",
"types",
"validator_client",
@@ -5920,7 +5919,7 @@ dependencies = [
"slot_clock",
"state_processing",
"task_executor",
"tokio 0.3.5",
"tokio 0.3.6",
"types",
]
@@ -6083,19 +6082,18 @@ dependencies = [
"ring",
"rustc_version",
"sha2 0.9.2",
"subtle 2.3.0",
"subtle 2.4.0",
"x25519-dalek",
]
[[package]]
name = "socket2"
version = "0.3.17"
version = "0.3.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2c29947abdee2a218277abeca306f25789c938e500ea5a9d4b12a5a504466902"
checksum = "97e0e9fd577458a4f61fb91fcb559ea2afecc54c934119421f9f5d3d5b1a1057"
dependencies = [
"cfg-if 1.0.0",
"libc",
"redox_syscall",
"winapi 0.3.9",
]
@@ -6299,9 +6297,9 @@ checksum = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee"
[[package]]
name = "subtle"
version = "2.3.0"
version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "343f3f510c2915908f155e94f17220b19ccfacf2a64a2a5d8004f2c3e311e7fd"
checksum = "1e81da0851ada1f3e9d4312c704aa4f8806f0f9d69faaf8df2f3464b4a9437c2"
[[package]]
name = "swap_or_not_shuffle"
@@ -6362,7 +6360,7 @@ dependencies = [
"lazy_static",
"lighthouse_metrics",
"slog",
"tokio 0.3.5",
"tokio 0.3.6",
"tokio-compat-02",
]
@@ -6534,7 +6532,7 @@ dependencies = [
"slog",
"slot_clock",
"task_executor",
"tokio 0.3.5",
"tokio 0.3.6",
"types",
]
@@ -6625,18 +6623,18 @@ dependencies = [
[[package]]
name = "tokio"
version = "0.3.5"
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a12a3eb39ee2c231be64487f1fcbe726c8f2514876a55480a5ab8559fc374252"
checksum = "720ba21c25078711bf456d607987d95bce90f7c3bea5abe1db587862e7a1e87c"
dependencies = [
"autocfg 1.0.1",
"bytes 0.6.0",
"futures-core",
"lazy_static",
"libc",
"memchr",
"mio 0.7.6",
"num_cpus",
"once_cell",
"parking_lot",
"pin-project-lite 0.2.0",
"signal-hook-registry",
@@ -6655,7 +6653,7 @@ dependencies = [
"once_cell",
"pin-project-lite 0.1.11",
"tokio 0.2.24",
"tokio 0.3.5",
"tokio 0.3.6",
]
[[package]]
@@ -6664,7 +6662,7 @@ version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6654a6da4326b0b4228000891d44fbcbdaa1904c6ddfa06617230649073be8fb"
dependencies = [
"tokio 0.3.5",
"tokio 0.3.6",
]
[[package]]
@@ -6708,7 +6706,7 @@ dependencies = [
"futures-util",
"log",
"pin-project 1.0.2",
"tokio 0.3.5",
"tokio 0.3.6",
"tungstenite",
]
@@ -6739,7 +6737,7 @@ dependencies = [
"log",
"pin-project-lite 0.1.11",
"slab",
"tokio 0.3.5",
"tokio 0.3.6",
]
[[package]]
@@ -6755,7 +6753,7 @@ dependencies = [
"log",
"pin-project-lite 0.2.0",
"slab",
"tokio 0.3.5",
"tokio 0.3.6",
]
[[package]]
@@ -6915,7 +6913,7 @@ dependencies = [
"base64 0.12.3",
"byteorder",
"bytes 0.5.6",
"http 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"http 0.2.2",
"httparse",
"input_buffer",
"log",
@@ -6943,7 +6941,7 @@ dependencies = [
"base64 0.11.0",
"bytes 0.5.6",
"chrono",
"http 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"http 0.2.2",
"mime",
]
@@ -7065,7 +7063,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8326b2c654932e3e4f9196e69d08fdf7cfd718e1dc6f66b347e6024a0c961402"
dependencies = [
"generic-array 0.14.4",
"subtle 2.3.0",
"subtle 2.4.0",
]
[[package]]
@@ -7169,7 +7167,7 @@ dependencies = [
"slot_clock",
"tempdir",
"tempfile",
"tokio 0.3.5",
"tokio 0.3.6",
"tokio-compat-02",
"tree_hash",
"types",
@@ -7261,7 +7259,7 @@ dependencies = [
"bytes 0.6.0",
"futures 0.3.8",
"headers 0.3.2 (git+https://github.com/blacktemplar/headers?branch=lighthouse)",
"http 0.2.1 (git+https://github.com/agemanning/http?branch=lighthouse)",
"http 0.2.1",
"hyper 0.14.0-dev",
"log",
"mime",
@@ -7273,7 +7271,7 @@ dependencies = [
"serde",
"serde_json",
"serde_urlencoded",
"tokio 0.3.5",
"tokio 0.3.6",
"tokio-tungstenite",
"tower-service",
"tracing",
@@ -7292,7 +7290,7 @@ dependencies = [
"safe_arith",
"serde",
"state_processing",
"tokio 0.3.5",
"tokio 0.3.6",
"types",
"warp",
]
@@ -7473,9 +7471,9 @@ dependencies = [
[[package]]
name = "webpki-roots"
version = "0.20.0"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0f20dea7535251981a9670857150d571846545088359b28e4951d350bdaf179f"
checksum = "82015b7e0b8bad8185994674a13a93306bea76cf5a16c5a181382fd3a5ec2376"
dependencies = [
"webpki",
]