Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes the onion hidden service port to match the clearnet API port #145

Merged
merged 1 commit into from
Nov 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion teos/src/conf_template.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
api_bind = "127.0.0.1"
api_port = 9814
tor_control_port = 9051
onion_hidden_service_port = 2121
onion_hidden_service_port = 9814
tor_support = false

# RPC
Expand Down
4 changes: 2 additions & 2 deletions teos/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ pub struct Opt {
#[structopt(long)]
pub tor_control_port: Option<u16>,

/// Port for the onion hidden service to listen on [default: 2121]
/// Port for the onion hidden service to listen on [default: 9814]
#[structopt(long)]
pub onion_hidden_service_port: Option<u16>,
}
Expand Down Expand Up @@ -257,7 +257,7 @@ impl Default for Config {
api_port: 9814,
tor_support: false,
tor_control_port: 9051,
onion_hidden_service_port: 2121,
onion_hidden_service_port: 9814,
rpc_bind: "127.0.0.1".into(),
rpc_port: 8814,
btc_network: "mainnet".into(),
Expand Down