Skip to content

Commit 8e77ac0

Browse files
committed
fix: remove DNS names from peer_host field
We don't need to do DNS lookups for tests and we want to encourage people to run their own Bitcoin nodes anyway.
1 parent c900752 commit 8e77ac0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stackslib/src/config/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ impl ConfigFile {
181181
mode: Some("xenon".to_string()),
182182
rpc_port: Some(18332),
183183
peer_port: Some(18333),
184-
peer_host: Some("bitcoind.testnet.stacks.co".to_string()),
184+
peer_host: Some("0.0.0.0".to_string()),
185185
magic_bytes: Some("T2".into()),
186186
..BurnchainConfigFile::default()
187187
};
@@ -227,9 +227,9 @@ impl ConfigFile {
227227
mode: Some("mainnet".to_string()),
228228
rpc_port: Some(8332),
229229
peer_port: Some(8333),
230-
peer_host: Some("bitcoin.blockstack.com".to_string()),
231-
username: Some("blockstack".to_string()),
232-
password: Some("blockstacksystem".to_string()),
230+
peer_host: Some("0.0.0.0".to_string()),
231+
username: Some("bitcoin".to_string()),
232+
password: Some("bitcoin".to_string()),
233233
magic_bytes: Some("X2".to_string()),
234234
..BurnchainConfigFile::default()
235235
};

0 commit comments

Comments
 (0)