@@ -45,7 +45,7 @@ To date, the initial installation of the indexer requires 120GB of additionnal d
### Procedure ###
```
```sh
# If you're installing a new Dojo or if you're upgrading from a Dojo version <= 1.4.1, edit the docker-indexer.conf.tpl file
nano ./conf/docker-indexer.conf.tpl
...
...
@@ -93,7 +93,7 @@ Important: Do not use an Electrum server operated by a third party or hosted on
### Procedure ###
```
```sh
# If you're installing a new Dojo or if you're upgrading from a Dojo version <= 1.4.1, edit the docker-indexer.conf.tpl file
nano ./conf/docker-indexer.conf.tpl
...
...
@@ -129,7 +129,7 @@ The client can be configured and controlled through a REST API exposed as a Tor
### Procedure ###
```
```sh
# If you're installing a new Dojo or if you're upgrading from a Dojo version < 1.6, edit the docker-whirlpool.conf.tpl file
nano ./conf/docker-whirlpool.conf.tpl
...
...
@@ -162,7 +162,7 @@ These steps describe how to install the Whirlpool GUI application how a computer
- Retrieve the onion address of the API provided by your Whirlpool client
```
```sh
# Open a terminal console on the computer hosting your Dojo
# Retrieve the onion address of the Whirlpool API
...
...
@@ -207,7 +207,9 @@ The external full node mustn't be pruned.
The external full node must be configured for the support of Dojo. Edit the bitcoin.conf file of your external full node and check that the following lines are properly initialized.
```
The external full node must use `rpcauth` for authentication.
```sh
# Force bitcoind to accept JSON-RPC commands
server=1
...
...
@@ -224,11 +226,8 @@ rpcport=...
# Check that the RPC API listens on an IP address accessible from the nodejs container
rpcbind=...
# Check that the RPC user is set
rpcuser=...
# Check that the RPC password is set
rpcpassword=
# Check that the rpcauth payload is set (generated by ./share/rpcuser/rpcuser.py)
rpcauth=...
# Enable publish hash block on an IP address accessible from the nodejs container
zmqpubhashblock=...
...
...
@@ -242,7 +241,7 @@ zmqpubrawtx=...
#### Configuration of Dojo ####
```
```sh
# If you're installing a new Dojo, edit the docker-bitcoind.conf.tpl file
@@ -127,19 +127,19 @@ Enter and confirm the password for the `dojo` user.
__Add the user to the docker group__
```
```sh
>sudo usermod -aG docker dojo
```
__Restart Host System__
```
```sh
>sudo shutdown -r now
```
Log back into the Host System with the `dojo` user and test the Docker installation
```
```sh
> docker run hello-world
```
...
...
@@ -152,19 +152,19 @@ This step should be applied if you don't want to store MyDojo and Docker data un
__Stop the Docker Service__
```
```sh
>sudo systemctl stop docker
```
Create the directory that will store Docker data (replace `/path/to/target/directory/` by the correct path).
```
```sh
>sudo mkdir /path/to/target/directory/
```
Temporarily switch to root and create the daemon.json file storing the path to your Docker direct (replace `/path/to/target/directory/` by the correct path).
@@ -180,7 +180,7 @@ Now that the Host System has been prepared, we will download the latest version
We first create a directory for housing our MyDojo files. In this guide we are naming this directory `dojo-app` and it will be located in the home directory of the `dojo` user.
```
```sh
>mkdir ~/dojo-app
```
...
...
@@ -188,7 +188,7 @@ We first create a directory for housing our MyDojo files. In this guide we are n
Download and unpack the source archive for the latest version of MyDojo and copy these files to the newly created `dojo-app` directory with the following commands.
@@ -197,7 +197,7 @@ Download and unpack the source archive for the latest version of MyDojo and copy
Delete the source archive now that we have copied the files to our directory.
```
```sh
>rm-rf samourai-dojo-master
>rm samourai-dojo-master.zip
```
...
...
@@ -207,7 +207,7 @@ Delete the source archive now that we have copied the files to our directory.
Change the working directory to the MyDojo configuration directory.
```
```sh
>cd ~/dojo-app/docker/my-dojo/conf
```
...
...
@@ -215,7 +215,7 @@ __Note:__
You will be required to generate various random alphanumeric passwords to secure various aspects of your Dojo installation. You can generate these in any way you wish, but you may wish to use the following command in a terminal session to generate these passwords with sufficient entropy:
@@ -4,7 +4,7 @@ Request a paginated list of transactions related to a collection of HD accounts
Note that loose addresses that are also part of one of the HD accounts requested will be ignored. Their transactions are listed as part of the HD account result.