Skip to content

Commit

Permalink
Fix bitcoind port conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
jfldde committed Jan 31, 2025
1 parent 40fa008 commit 8d7aa3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/config/bitcoin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,15 @@ impl BitcoinConfig {
"-regtest".to_string(),
format!("-datadir={}", self.data_dir.display()),
format!("-port={}", self.p2p_port),
format!("-bind=0.0.0.0:{}", self.p2p_port),
format!("-rpcport={}", self.rpc_port),
format!("-bind=0.0.0.0:{}", self.rpc_port),
format!("-rpcuser={}", self.rpc_user),
format!("-rpcpassword={}", self.rpc_password),
"-server".to_string(),
"-daemonwait".to_string(),
"-txindex".to_string(),
"-onlynet=ipv4".to_string(),
"-addresstype=bech32m".to_string(),
"-debug=net".to_string(),
"-debug=rpc".to_string(),
Expand Down

0 comments on commit 8d7aa3d

Please sign in to comment.