Skip to content

Commit

Permalink
p2p/simulations: remove stale information about docker adapter (ether…
Browse files Browse the repository at this point in the history
  • Loading branch information
bugmaker9371 authored and stwiname committed Sep 9, 2024
1 parent 54daa11 commit d8b3a10
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion p2p/simulations/adapters/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ import (
//
// - SimNode, an in-memory node in the same process
// - ExecNode, a child process node
// - DockerNode, a node running in a Docker container
type Node interface {
// Addr returns the node's address (e.g. an Enode URL)
Addr() []byte
Expand Down
2 changes: 1 addition & 1 deletion p2p/simulations/examples/ping-pong.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
"github.com/ethereum/go-ethereum/p2p/simulations/adapters"
)

var adapterType = flag.String("adapter", "sim", `node adapter to use (one of "sim", "exec" or "docker")`)
var adapterType = flag.String("adapter", "sim", `node adapter to use (one of "sim" or "exec")`)

// main() starts a simulation network which contains nodes running a simple
// ping-pong protocol
Expand Down

0 comments on commit d8b3a10

Please sign in to comment.