Difference between revisions of "Connecting to your own Bitcoin node"

From Bisq Wiki
Jump to navigation Jump to search
m (→‎Troubleshooting: Add Linux instructions)
Line 29: Line 29:
 
If you get into a state where Bisq is unable to connect, you can revert to a provided node as follows.   
 
If you get into a state where Bisq is unable to connect, you can revert to a provided node as follows.   
  
  Bisq -btcNodes=emzybtc3ewh7zihpkdvuwlgxrhzcxy2p5fvjggp7ngjbxcytxvt4rjid.onion:8333 -useTorForBtc=true
+
For MacOS:
 +
  <code>Bisq -btcNodes=emzybtc3ewh7zihpkdvuwlgxrhzcxy2p5fvjggp7ngjbxcytxvt4rjid.onion:8333 -useTorForBtc=true </code>
 +
 +
For Linux:
  
Contributor nodes can be seen [https://github.com/bisq-network/bisq/blob/7c07cdb6ff60ad1186dea33acdfb688668c2aae6/core/src/main/java/bisq/core/btc/nodes/BtcNodes.java#L51-L76 here in the Bisq code].
+
<code> cd /opt/bisq/bin
 +
 
 +
./Bisq -btcNodes=emzybtc3ewh7zihpkdvuwlgxrhzcxy2p5fvjggp7ngjbxcytxvt4rjid.onion:8333 -useTorForBtc=true </code>
 +
 
 +
Contributor nodes can be seen [https://github.com/bisq-network/bisq/blob/7c07cdb6ff60ad1186dea33acdfb688668c2aae6/core/src/main/java/bisq/core/btc/nodes/BtcNodes.java#L51-L76 here in the Bisq code].  
  
 
[[Running_from_the_command_line|More info on running from the command line]].
 
[[Running_from_the_command_line|More info on running from the command line]].
  
 
[[Command_line_options|More info on command line options]].
 
[[Command_line_options|More info on command line options]].

Revision as of 10:50, 1 March 2022

Bisq will connect to your local Bitcoin node if it finds it upon starting up. This article contains the requirements for this to work correctly.

You can also specify the addresses of particular Bitcoin nodes in Settings > Network Info.

General node settings

Make sure the node you're looking to connect to, whether local or remote, meets the following requirements:

  • Specify peerbloomfilters=1 in bitcoin.conf file if running 0.19.0.1 or later
  • Make sure node is not running in pruned mode (pruned=N in config means node is pruning blocks)

Connecting to a local Bitcoin node

If you're running a Bitcoin full node on the same machine as Bisq, Bisq should connect to your node on startup—it will look for Bitcoin Core or bitcoind running on localhost on port 8333.

Just make sure to not be running any other Bitcoin-based altcoin nodes (like LTC) while starting Bisq.

Connecting to another Bitcoin node

By default, Bisq maximizes your privacy by connecting to nodes run by trusted Bisq contributors.

If you'd like to connect to another node, you can specify its address in Settings > Network Info. Bisq will validate the address and connect to the specified node the next time it starts.

Bisq v1.7.4 and later releases support connecting to Bitcoin nodes with Tor v3 addresses.

Troubleshooting

If you get into a state where Bisq is unable to connect, you can revert to a provided node as follows.

For MacOS:

Bisq -btcNodes=emzybtc3ewh7zihpkdvuwlgxrhzcxy2p5fvjggp7ngjbxcytxvt4rjid.onion:8333 -useTorForBtc=true 

For Linux:

cd /opt/bisq/bin

./Bisq -btcNodes=emzybtc3ewh7zihpkdvuwlgxrhzcxy2p5fvjggp7ngjbxcytxvt4rjid.onion:8333 -useTorForBtc=true

Contributor nodes can be seen here in the Bisq code.

More info on running from the command line.

More info on command line options.