Update default ports for darkwiki, ircd, and tau.

This commit is contained in:
Luther Blissett
2022-08-24 11:19:18 +02:00
parent ace5a2706a
commit 54d9db5280
8 changed files with 25 additions and 22 deletions

View File

@@ -17,7 +17,7 @@ struct Args {
#[structopt(short, parse(from_occurrences))]
/// Increase verbosity (-vvv supported)
verbose: u8,
#[structopt(short, long, default_value = "tcp://127.0.0.1:13055")]
#[structopt(short, long, default_value = "tcp://127.0.0.1:24330")]
/// darkfid JSON-RPC endpoint
endpoint: Url,
}

View File

@@ -1,5 +1,5 @@
## JSON-RPC listen URL
#rpc_listen="tcp://127.0.0.1:13055"
#rpc_listen="tcp://127.0.0.1:24330"
## Sets Docs Path
# docs="~/darkwiki"
@@ -13,19 +13,19 @@ secret = "86MGNN31r3VxT4ULMmhQnMtV8pDnod339KwHwHCfabG2"
## Raft net settings
[net]
## P2P accept addresses
inbound=["tls://127.0.0.1:13001"]
inbound = ["tls://127.0.0.1:24331"]
## Connection slots
outbound_connections=5
## P2P external addresses
external_addr=["tls://127.0.0.1:13001"]
external_addr = ["tls://127.0.0.1:24331"]
## Peers to connect to
#peers=["tls://127.0.0.1:13003"]
#peers = ["tls://127.0.0.1:24331"]
## Seed nodes to connect to
#seeds=[]
seeds = ["tls://lilith0.dark.fi:24331", "tls://lilith0.dark.fi:24331"]
## these are the default configuration for the p2p network
#manual_attempt_limit=0
@@ -33,4 +33,3 @@ external_addr=["tls://127.0.0.1:13001"]
#connect_timeout_seconds=10
#channel_handshake_seconds=4
#channel_heartbeat_seconds=10

View File

@@ -70,7 +70,7 @@ pub struct Args {
#[structopt(long)]
pub keygen: bool,
/// JSON-RPC Listen URL
#[structopt(long = "rpc", default_value = "tcp://127.0.0.1:13055")]
#[structopt(long = "rpc", default_value = "tcp://127.0.0.1:24330")]
pub rpc_listen: Url,
#[structopt(flatten)]
pub net: SettingsOpt,

View File

@@ -1,5 +1,5 @@
## JSON-RPC listen URL
#rpc_listen="tcp://127.0.0.1:11055"
#rpc_listen="tcp://127.0.0.1:25550"
## IRC listen URL
#irc_listen="tcp://127.0.0.1:6667"
@@ -24,20 +24,20 @@ autojoin = ["#dev", "#memes", "#philosophy", "#markets", "#math", "#random"]
outbound_connections=5
## P2P accept addresses
#inbound=["tls://0.0.0.0:11002"]
#inbound = ["tls://0.0.0.0:25551"]
# ipv6 version:
#inbound=["tls://[::]:11002"]
#inbound = ["tls://[::]:25551"]
## P2P external addresses
## Put your IPs or hostnames here
## This is how people can reach you on the inbound port configured above
## You can also put an ipv6 address :)
#external_addr=["tls://XXX.XXX.XXX.XXX:11002"]
#external_addr = ["tls://XXX.XXX.XXX.XXX:25551"]
# ipv6 version:
#external_addr=["tls://[ipv6 address here]:11002"]
#external_addr = ["tls://[ipv6 address here]:25551"]
## Manually configured peers to connect to
#peers=["tls://127.0.0.1:11003"]
#peers = ["tls://127.0.0.1:25551"]
## Seed nodes to connect to
seeds = ["tls://lilith0.dark.fi:25551", "tls://lilith1.dark.fi:25551"]
@@ -59,6 +59,9 @@ seeds = ["tls://lilith0.dark.fi:25551", "tls://lilith1.dark.fi:25551"]
## Topic to set for the channel
#topic = "DarkFi Foo Stuff"
[channel."#dev"]
topic = "DarkFi Development HQ"
## Contacts list
# Shared secrets that encrypt direct communication between two nicknames on
# the network.

View File

@@ -22,11 +22,11 @@ pub struct Args {
pub config: Option<String>,
/// JSON-RPC listen URL
#[structopt(long = "rpc", default_value = "tcp://127.0.0.1:11055")]
#[structopt(long = "rpc", default_value = "tcp://127.0.0.1:25550")]
pub rpc_listen: Url,
/// IRC listen URL
#[structopt(long = "irc", default_value = "tcp://127.0.0.1:11066")]
#[structopt(long = "irc", default_value = "tcp://127.0.0.1:6667")]
pub irc_listen: Url,
/// Optional TLS certificate file path if `irc_listen` uses TLS

View File

@@ -32,7 +32,7 @@ struct Args {
/// Increase verbosity (-vvv supported)
verbose: u8,
#[clap(short, long, default_value = "tcp://127.0.0.1:12055")]
#[clap(short, long, default_value = "tcp://127.0.0.1:23330")]
/// taud JSON-RPC endpoint
endpoint: Url,

View File

@@ -17,7 +17,7 @@ pub struct Args {
#[structopt(long)]
pub config: Option<String>,
/// JSON-RPC listen URL
#[structopt(long = "rpc", default_value = "tcp://127.0.0.1:12055")]
#[structopt(long = "rpc", default_value = "tcp://127.0.0.1:23330")]
pub rpc_listen: Url,
/// Sets Datastore Path
#[structopt(long, default_value = "~/.config/darkfi/tau")]

View File

@@ -1,5 +1,5 @@
## JSON-RPC listen URL
#rpc_listen="tcp://127.0.0.1:12055"
#rpc_listen="tcp://127.0.0.1:23330"
## Sets Datastore Path
#datastore="~/.config/darkfi/tau"
@@ -10,16 +10,16 @@
## Raft net settings
[net]
## P2P accept addresses
#inbound=["tcp://127.0.0.1:12002"]
#inbound = ["tcp://127.0.0.1:23331"]
## Connection slots
outbound_connections=5
## P2P external addresses
#external_addr=["tls://127.0.0.1:12002"]
#external_addr = ["tls://127.0.0.1:23331"]
## Peers to connect to
#peers=["tls://127.0.0.1:12003"]
#peers = ["tls://127.0.0.1:23331"]
## Seed nodes to connect to
seeds=["tls://lilith0.dark.fi:23331", "tls://lilith1.dark.fi:23331"]
@@ -35,6 +35,7 @@ seeds=["tls://lilith0.dark.fi:23331", "tls://lilith1.dark.fi:23331"]
[workspace."darkfi"]
## Create with `taud --key-gen`
secret = "7CkVuFgwTUpJn5Sv67Q3fyEDpa28yrSeL5Hg2GqQ4jfM"
[workspace."general"]
## Create with `taud --key-gen`
secret = "6ZkvojUcSRML7wSGc3AMmM5meyyEXLoykT23cyUUB6GM"