generated from PaulRBerg/hardhat-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
use std::time::Duration; | ||
// use std::time::Duration; | ||
|
||
use libp2p::StreamProtocol; | ||
// use libp2p::StreamProtocol; | ||
|
||
pub const TICK_INTERVAL: Duration = Duration::from_secs(15); | ||
pub const KADEMLIA_PROTOCOL_NAME: StreamProtocol = StreamProtocol::new("/enclave/kad/1.0.0"); | ||
// pub const TICK_INTERVAL: Duration = Duration::from_secs(15); | ||
// pub const KADEMLIA_PROTOCOL_NAME: StreamProtocol = StreamProtocol::new("/enclave/kad/1.0.0"); | ||
pub const PORT_QUIC: u16 = 9091; | ||
pub const LOCAL_KEY_PATH: &str = "./local_key"; | ||
pub const LOCAL_CERT_PATH: &str = "./cert.pem"; | ||
pub const GOSSIPSUB_PEER_DISCOVERY: &str = "enclave-keygen-peer-discovery"; | ||
// pub const LOCAL_KEY_PATH: &str = "./local_key"; | ||
// pub const LOCAL_CERT_PATH: &str = "./cert.pem"; | ||
// pub const GOSSIPSUB_PEER_DISCOVERY: &str = "enclave-keygen-peer-discovery"; | ||
pub const BOOTSTRAP_NODES: [&str; 0] = [ | ||
// TODO: Add bootstrap nodes | ||
]; |
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