Skip to content

Commit

Permalink
Merge pull request #145 from sr-gi/tor-default-port
Browse files Browse the repository at this point in the history
Changes the onion hidden service port to match the clearnet API port
  • Loading branch information
sr-gi authored Nov 12, 2022
2 parents eef55ad + c4b5fd1 commit 832dd71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 832dd71

Please sign in to comment.