Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
tanshuo committed May 28, 2018
1 parent 4cca4b8 commit 4a6cbf0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion network/src/p2p_controller.rs
Expand Up @@ -101,7 +101,7 @@ impl P2PController {
//TODO: max_blocked_peers configuable
let max_blocked_peers = 1024;
//TODO: max_waiting_list configuable
let max_blocked_peers = 1024;
let max_waiting_list = 1024;

let mut peer_list = HashMap::<Token, PeerRef>::new();
P2PController {
Expand Down
10 changes: 10 additions & 0 deletions sync/Cargo.toml
@@ -0,0 +1,10 @@
[package]
name = "chain_sync"
version = "0.1.0"
authors = ["edwardtanshuo <tanshuo198956@gmail.com>"]

[dependencies]
common = { version = "0.1.0", path = "../common" }
gen_core = { version = "0.1.0", path = "../core" }
gen_network = { version = "0.1.0", path = "../network" }
rlp = { version = "0.1.0", path = "../rlp" }
Empty file added sync/src/lib.rs
Empty file.

0 comments on commit 4a6cbf0

Please sign in to comment.