|
|
@ -44,6 +44,11 @@ This file creates a 4-node network using the localnode image. |
|
|
|
The nodes of the network expose their P2P and RPC endpoints to the host machine |
|
|
|
on ports 26656-26657, 26659-26660, 26661-26662, and 26663-26664 respectively. |
|
|
|
|
|
|
|
The first node (`node0`) exposes two additional ports: 6060 for profiling using |
|
|
|
[`pprof`](https://golang.org/pkg/net/http/pprof), and `9090` - for Prometheus |
|
|
|
server (if you don't know how to start one check out ["First steps | |
|
|
|
Prometheus"](https://prometheus.io/docs/introduction/first_steps/)). |
|
|
|
|
|
|
|
To update the binary, just rebuild it and restart the nodes: |
|
|
|
|
|
|
|
```sh |
|
|
|