Skip to content

Commit

Permalink
Merge 5e8e818 into 9a4674e
Browse files Browse the repository at this point in the history
  • Loading branch information
Sh1Tt committed Jun 26, 2022
2 parents 9a4674e + 5e8e818 commit b59fdcb
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Expand Up @@ -92,6 +92,28 @@ In order to notify peers that you are accepting inbound, you _must_ pass
$ hsd --listen --public-host [my-public-ip-address] --max-inbound 50
```

### Upgrading

Go to the installation directory and update the repo.

```
$ cd ${INSTALL_DIR}/hsd
$ git pull
```
Select a branch and upgrade.

```
$ git checkout <branch>
$ npm install
```

After installation of the new version, activate it by restarting the HSD.

Note that when upgrading from version 3.x to 4.x, it is required
to pass `--chain-migrate=3` at restart.
When upgrading from v2.x `--wallet-migrate=1` should also be passed.


### Mining

To mine with a CPU, HSD should be used in combination with [hs-client].
Expand Down

0 comments on commit b59fdcb

Please sign in to comment.