Difference between revisions of "Connecting to your own Bitcoin node"
Line 30: | Line 30: | ||
If you'd like to connect to another node, you can specify its address in <code>Settings</code> > <code>Network Info</code>. Bisq will validate the address and connect to the specified node the next time it starts. | If you'd like to connect to another node, you can specify its address in <code>Settings</code> > <code>Network Info</code>. Bisq will validate the address and connect to the specified node the next time it starts. | ||
− | Bisq | + | Bisq supports connecting to Bitcoin nodes with Tor v3 addresses: this is the easiest path to take, since you only have to fill in your node's onion address in settings.<br> |
+ | If your node is on your local network, connecting directly to it rather than using Tor would reduce latency by a sensible degree. In order to do this: | ||
+ | * make sure the node's firewall allows incoming connections on port 8333 from the local network | ||
+ | * have Bitcoin daemon listen to <code>0.0.0.0</code> rather than <code>127.0.0.1</code> | ||
+ | * uncheck "Use Tor for Bitcoin network" under Settings>Network in Bisq application | ||
+ | * fill in your node's local network <code>ipaddress:8333</code> in "Use custom bitcoin Core nodes" field | ||
+ | |||
+ | Explaining in detail each step of the above goes past the scope of this guide, yet you can usually find more information either by searching for specific guides, or asking on discussion boards/groups. | ||
= Troubleshooting = | = Troubleshooting = |
Revision as of 23:10, 23 July 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
.
Contents
General node settings
The bitcoin.conf file needs to contain the following settings (either by adding them or editing the existing ones):
server=1
pruned=0
peerbloomfilters=1
which in turn:
- enable the block server mode
- disable the pruning of old blocks
- allow Bisq to run its SPV wallet
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 supports connecting to Bitcoin nodes with Tor v3 addresses: this is the easiest path to take, since you only have to fill in your node's onion address in settings.
If your node is on your local network, connecting directly to it rather than using Tor would reduce latency by a sensible degree. In order to do this:
- make sure the node's firewall allows incoming connections on port 8333 from the local network
- have Bitcoin daemon listen to
0.0.0.0
rather than127.0.0.1
- uncheck "Use Tor for Bitcoin network" under Settings>Network in Bisq application
- fill in your node's local network
ipaddress:8333
in "Use custom bitcoin Core nodes" field
Explaining in detail each step of the above goes past the scope of this guide, yet you can usually find more information either by searching for specific guides, or asking on discussion boards/groups.
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.