Skip to content

Commit

Permalink
added some more seed peers
Browse files Browse the repository at this point in the history
  • Loading branch information
sdbondi committed May 16, 2022
1 parent b198042 commit 894d99f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions networking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,19 @@ impl Networking {
fs::create_dir_all(base_path.as_ref())?;
let tor_identity = load_json(base_path.as_ref().join("tor.json"))?;
// TODO
let seed_peers = vec![peer_from_str(
let seed_peers = [
"c2eca9cf32261a1343e21ed718e79f25bfc74386e9305350b06f62047f519347::/onion3/\
6yxqk2ybo43u73ukfhyc42qn25echn4zegjpod2ccxzr2jd5atipwzqd:18141",
)
.unwrap()];
"42fcde82b44af1de95a505d858cb31a422c56c4ac4747fbf3da47d648d4fc346::/onion3/\
2l3e7ysmihc23zybapdrsbcfg6omtjtfkvwj65dstnfxkwtai2fawtyd:18141",
"50e6aa8f6c50f1b9d9b3d438dfd2a29cfe1f3e3a650bd9e6b1e10f96b6c38f4d::/onion3/\
7s6y3cz5bnewlj5ypm7sekhgvqjyrq4bpaj5dyvvo7vxydj7hsmyf5ad:18141",
"36a9df45e1423b5315ffa7a91521924210c8e1d1537ad0968450f20f21e5200d::/onion3/\
v24qfheti2rztlwzgk6v4kdbes3ra7mo3i2fobacqkbfrk656e3uvnid:18141",
]
.into_iter()
.map(|s| peer_from_str(s).unwrap())
.collect();
let port = OsRng.gen_range(15000..50000);
let (node, dht, in_msg) = node::create(
node_identity.clone(),
Expand Down

0 comments on commit 894d99f

Please sign in to comment.