bisq/seednode
Chris Beams f5a1854762
Remove now unused BisqEnvironment class
In previous commits, BisqEnvironment functionality has been fully ported
to the new, simpler and more type-safe Config class. This change removes
BisqEnvironment and all dependencies on the Spring Framework Environment
interface that it implements.

The one exception is the pricenode module, which is separate and apart
from the rest of the codebase in that it is a standalone, Spring-based
HTTP service.
2020-01-20 16:41:19 +01:00
..
docker Remove myAddress from docs and scripts as it is not used/needed anymore 2019-03-08 10:58:53 -05:00
src Remove now unused BisqEnvironment class 2020-01-20 16:41:19 +01:00
.dockerignore Merge seednode repository at eedf81c 2018-09-14 11:51:34 +02:00
bisq-seednode.env Merge commit for bisq-seednode.env 2020-01-07 14:44:27 +01:00
bisq-seednode.service Add some missing changes in seednode systemd service for release/v1.2.5 2020-01-10 03:01:42 +09:00
bitcoin.conf Add one command installation script for tor + btcnode + seednode 2019-12-20 21:35:12 +09:00
bitcoin.service Add one command installation script for tor + btcnode + seednode 2019-12-20 21:35:12 +09:00
blocknotify.sh Add missing blocknotify.sh script and README instructions 2019-11-17 04:29:49 -10:00
create_jar.sh Merge seednode repository at eedf81c 2018-09-14 11:51:34 +02:00
create_jaronly_archive.sh Add script to create seednode jar archive without jar deps 2019-12-06 22:40:54 +09:00
docker-compose.yml Merge seednode repository at eedf81c 2018-09-14 11:51:34 +02:00
install_seednode_debian.sh Modify seednode install script to use GitHub API for latest release tags 2020-01-07 14:35:09 +01:00
README.md Fix seednode README command to get bitcoin onion hostname 2019-12-21 03:29:32 +09:00
torrc Add one command installation script for tor + btcnode + seednode 2019-12-20 21:35:12 +09:00
uninstall_seednode_debian.sh Fix seednode uninstallation script paths 2019-12-20 22:12:53 +09:00

Bisq Seed Node

Hardware

Highly recommended to use SSD! Minimum specs:

  • CPU: 4 cores
  • RAM: 8 GB
  • SSD: 512 GB (HDD is too slow)

Software

The following OS are known to work well:

  • Ubuntu 18
  • FreeBSD 12

Installation

Start with a clean Ubuntu 18.04 LTS server installation, and run the script

curl -s https://raw.githubusercontent.com/bisq-network/bisq/master/seednode/install_seednode_debian.sh | sudo bash

This will install and configure Tor, Bitcoin, and Bisq-Seednode services to start on boot.

Firewall

Next, configure your OS firewall to only allow SSH and Bitcoin P2P

ufw allow 22/tcp
ufw allow 8333/tcp
ufw enable

Syncing

After installation, watch the Bitcoin blockchain sync progress

sudo tail -f /bitcoin/debug.log

After Bitcoin is fully synced, start the bisq-seednode service

sudo systemctl start bisq-seednode
sudo journalctl --unit bisq-seednode --follow

After Bisq is fully synced, check your Bitcoin and Bisq onion hostnames:

sudo -H -u bitcoin bitcoin-cli getnetworkinfo|grep address
sudo cat /bisq/bisq-seednode/btc_mainnet/tor/hiddenservice/hostname

Testing

After your Bisq seednode is ready, test it by connecting to your new btcnode and bisq-seednode!

macOS:

/Applications/Bisq.app/Contents/MacOS/Bisq --seedNodes=foo.onion:8000 --btcNodes=foo.onion:8333

Upgrading

To upgrade your seednode to a new tag, for example v1.2.5

sudo -u bisq -s
cd bisq
git fetch origin
git checkout v1.2.5 # new tag
./gradlew clean
./gradlew build -x test
exit
sudo service bisq-seednode restart
sudo journalctl --unit bisq-seednode --follow

Uninstall

If you need to start over, you can run the uninstall script in this repo

sudo ./delete_seednode_debian.sh

WARNING: this script will delete all data!