Skip to content

Commit

Permalink
Rename default certs name to support windows
Browse files Browse the repository at this point in the history
Signed-off-by: Yilun <zyl.skysniper@gmail.com>
  • Loading branch information
yilunzhang authored and gdmmx committed Dec 20, 2019
1 parent 9c31b8a commit 9bfadf2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ $ ./nknd
If you are using Docker then you should run the following command instead:

```shell
$ docker run -p 30001-30003:30001-30003 -v ${PWD}:/nkn/data --name nkn --rm -it nknorg/nkn nknd
$ docker run -p 30001-30005:30001-30005 -v ${PWD}:/nkn/data --name nkn --rm -it nknorg/nkn nknd
```

If you get an error saying `docker: Error response from daemon: Conflict. The
Expand Down Expand Up @@ -260,7 +260,7 @@ You can add `--no-nat` flag when starting nknd OR add `"NAT": false` in
`config.json` to disable automatic port forwarding. If your router does not
support such protocol, you **have to** setup port forwarding on your router for
port 30001 as well as **all** other ports specified in `config.json`
(30001-30003 by default), otherwise other nodes cannot establish connections to
(30001-30005 by default), otherwise other nodes cannot establish connections to
you and you will **NOT** be able to mine token even though your node can still
run and sync blocks.

Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions util/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ var (
LogPath: "Log",
ChainDBPath: "ChainDB",
WalletFile: "wallet.json",
HttpWssCert: "certs/*.ipv4.nknlabs.io.cert",
HttpWssKey: "certs/*.ipv4.nknlabs.io.key",
HttpsJsonCert: "certs/*.ipv4.nknlabs.io.cert",
HttpsJsonKey: "certs/*.ipv4.nknlabs.io.key",
HttpWssCert: "certs/STAR.ipv4.nknlabs.io.cert",
HttpWssKey: "certs/STAR.ipv4.nknlabs.io.key",
HttpsJsonCert: "certs/STAR.ipv4.nknlabs.io.cert",
HttpsJsonKey: "certs/STAR.ipv4.nknlabs.io.key",
MaxGetIDSeeds: 3,
DBFilesCacheCapacity: 100,
NumLowFeeTxnPerBlock: 0,
Expand Down

0 comments on commit 9bfadf2

Please sign in to comment.