go-ethereum: github.com/ethereum/go-ethereum/cmd/p2psim Files

Command p2psim

p2psim provides a command-line client for a simulation HTTP API.

Here is an example of creating a 2 node network with the first node connected to the second:

$ p2psim node create
Created node01

$ p2psim node start node01
Started node01

$ p2psim node create
Created node02

$ p2psim node start node02
Started node02

$ p2psim node connect node01 node02
Connected node01 to node02

Package Files


Package main imports 14 packages (graph). Updated 2020-08-14. Refresh now. Tools for package owners.