Skip to content

Commit

Permalink
chore(code): Use TCP by default (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
romac authored Dec 17, 2024
1 parent 8d71152 commit 973608d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions code/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ persistent_peers = []
# - "tcp": TCP + Noise
# - "quic": QUIC
# Override with MALACHITE__CONSENSUS__P2P__TRANSPORT env variable
transport = "quic"
transport = "tcp"

# Enable the discovery protocol to find more peers
# Override with MALACHITE__CONSENSUS__P2P__DISCOVERY__ENABLED env variable
Expand Down Expand Up @@ -160,7 +160,7 @@ persistent_peers = []
# Valid values:
# - "tcp": TCP + Noise
# - "quic": QUIC
transport = "quic"
transport = "tcp"

# These have no effects on the mempool yet
pubsub_max_size = "4 MiB"
Expand Down
6 changes: 3 additions & 3 deletions code/crates/test/cli/src/cmd/testnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ pub struct TestnetCmd {

/// The transport protocol to use for P2P communication
/// Possible values:
/// - "quic": QUIC (default)
/// - "tcp": TCP + Noise
#[clap(short, long, default_value = "quic", verbatim_doc_comment)]
/// - "tcp": TCP + Noise (default)
/// - "quic": QUIC
#[clap(short, long, default_value = "tcp", verbatim_doc_comment)]
pub transport: TransportProtocol,
}

Expand Down

0 comments on commit 973608d

Please sign in to comment.