From c260177b7eca042e0a220ab6f86fa485cae247f0 Mon Sep 17 00:00:00 2001 From: sonhv0212 Date: Thu, 26 Dec 2024 16:09:49 +0700 Subject: [PATCH] p2psim: Update README --- p2p/simulations/examples/discovery/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/p2p/simulations/examples/discovery/README.md b/p2p/simulations/examples/discovery/README.md index 071054677..8af0e5511 100644 --- a/p2p/simulations/examples/discovery/README.md +++ b/p2p/simulations/examples/discovery/README.md @@ -72,9 +72,10 @@ func (s *SimAdapter) NewNode(cfg *NodeConfig) (Node, error) { ## Manual run -Run the p2psim server by `go run main.go`, and in another terminal, we can use `p2psim` cli to start, manage new nodes in the simulation network. Example: +Run the p2psim server by `go run main.go` in `p2p/simulations/examples/discovery`, and in another terminal, we can use `p2psim` cli to start, manage new nodes in the simulation network. Example: ``` bash +$ cd p2p/simulations/examples/discovery $ go run main.go INFO [12-24|14:46:39.132] starting simulation server port=8888 ```