-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Beginnings of discv5 wire protocol * Handle packet encoding/decoding and encryption * Temp commit * First early draft of basic 5.1 packet handling * Streamline FindNodes requests * Initial testing * Correct all tests * Handle many findnode distances * Version bump * Add node-id filtering * Update example * Update the RPC messages * Include dst-node-id in the signature * Small packet updates * Small packet updates * Temp commit * Beginning of crypto library shift * Update cryptography to use k256 * Correct crypto tests * Further corrections to packet * Update all tests * Shift crates under libp2p feature flag * Add TALK functionality * Improve distance handling * Correct RLP encoding * Appease clippy * Update simple server * Respond to all pings * Update log to tracing * Improve default timeouts for queries
- Loading branch information
1 parent
015135e
commit 275c78e
Showing
34 changed files
with
2,750 additions
and
1,997 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "discv5" | ||
authors = ["Age Manning <[email protected]>"] | ||
edition = "2018" | ||
version = "0.1.0-alpha.13" | ||
version = "0.1.0-beta.1" | ||
description = "Implementation of the p2p discv5 discovery protocol" | ||
license = "MIT" | ||
repository = "https://github.com/sigp/discv5" | ||
|
@@ -15,35 +15,36 @@ exclude = [ | |
] | ||
|
||
[dependencies] | ||
enr = { version = "0.3.0", features = ["libsecp256k1", "ed25519"] } | ||
enr = { version = "0.4.0", features = ["k256", "ed25519"] } | ||
tokio = { version = "0.2.22", features = ["net", "stream", "time", "sync"] } | ||
zeroize = { version = "1.1.0", features = ["zeroize_derive"] } | ||
zeroize = { version = "1.1.1", features = ["zeroize_derive"] } | ||
libp2p-core = { version = "0.22.1", optional = true } | ||
multihash = { version = "0.11.2", optional = true } | ||
libsecp256k1 = "0.3.5" | ||
futures = "0.3.5" | ||
uint = { version = "0.8.3", default-features = false } | ||
log = "0.4.11" | ||
rlp = "0.4.5" | ||
sha2 = "0.8.1" | ||
hkdf = "0.8.0" | ||
multihash = { version = "0.11.4", optional = true } | ||
futures = "0.3.6" | ||
uint = { version = "0.8.5", default-features = false } | ||
rlp = "0.4.6" | ||
sha2 = "0.9.1" | ||
hkdf = "0.9.0" | ||
hex = "0.4.2" | ||
fnv = "1.0.7" | ||
arrayvec = "0.5.1" | ||
digest = "0.8.1" | ||
digest = "0.9.0" | ||
rand = "0.7.3" | ||
smallvec = "1.4.1" | ||
smallvec = "1.4.2" | ||
parking_lot = "0.11.0" | ||
lru_time_cache = "0.10.0" | ||
lru_time_cache = "0.11.1" | ||
lazy_static = "1.4.0" | ||
aes-gcm = "0.6.0" | ||
socket2 = "0.3.12" | ||
aes-gcm = "0.7.0" | ||
socket2 = "0.3.15" | ||
aes-ctr = "0.5.0" | ||
k256 = { version = "0.5.9", features = ["zeroize", "ecdh", "sha2"] } | ||
tracing = "0.1.21" | ||
tracing-subscriber = "0.2.13" | ||
|
||
[dev-dependencies] | ||
quickcheck = "0.9.2" | ||
env_logger = "0.7.1" | ||
hex-literal = "0.3.0" | ||
simple_logger = "1.6.0" | ||
hex-literal = "0.3.1" | ||
simple_logger = "1.11.0" | ||
tokio = { version = "0.2.22", features = ["time", "rt-threaded", "macros"] } | ||
rand_xorshift = "0.2.0" | ||
rand_core = "0.5.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.