Skip to content

Commit

Permalink
DNS fix Stai update 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre FAURE authored and Pierre FAURE committed Dec 26, 2021
1 parent 4b91fba commit 3b47c47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions stai/cmds/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def configure(
print("Setting Testnet")
testnet_port = "56888"
testnet_introducer = "beta1_introducer.stai-network.net"
testnet_dns_introducer = "dns-introducer.stai-network.net"
testnet_dns_introducer = "dns-introducer.staicoin.com"
testnet = "testnet7"
config["full_node"]["port"] = int(testnet_port)
config["full_node"]["introducer_peer"]["port"] = int(testnet_port)
Expand All @@ -121,7 +121,7 @@ def configure(
print("Setting Mainnet")
mainnet_port = "1999"
mainnet_introducer = "introducer.stai-network.net"
mainnet_dns_introducer = "dns-introducer.stai-network.net"
mainnet_dns_introducer = "dns-introducer.staicoin.com"
net = "mainnet"
config["full_node"]["port"] = int(mainnet_port)
config["full_node"]["introducer_peer"]["port"] = int(mainnet_port)
Expand Down
6 changes: 3 additions & 3 deletions stai/util/initial-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -262,15 +262,15 @@ full_node:
# List of trusted DNS seeders to bootstrap from.
# If you modify this, please change the hardcode as well from FullNode.set_server()
dns_servers:
- "dns-introducer.stai.com"
- "dns-introducer.staicoin.com"
farmer_peer:
host: *self_hostname
port: 1692
timelord_peer:
host: *self_hostname
port: 1997
introducer_peer:
host: introducer.stai.com # Stai AWS introducer IPv4/IPv6
host: introducer.staicoin.com # Stai AWS introducer IPv4/IPv6
port: 1999
wallet_peer:
host: *self_hostname
Expand Down Expand Up @@ -357,7 +357,7 @@ wallet:
recent_peer_threshold: 6000

introducer_peer:
host: introducer.stai-network.net # Stai AWS introducer IPv4/IPv6
host: introducer.staicoin.com # Stai AWS introducer IPv4/IPv6
port: 1999
ssl:
private_crt: "config/ssl/wallet/private_wallet.crt"
Expand Down

0 comments on commit 3b47c47

Please sign in to comment.