p2p/simulations: remove stale information about docker adapter (#29874)

This commit is contained in:
bugmaker9371 2024-05-29 18:09:58 +08:00 committed by GitHub
parent 5534c849b6
commit daf4f72077
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -42,7 +42,6 @@ import (
// //
// - SimNode, an in-memory node in the same process // - SimNode, an in-memory node in the same process
// - ExecNode, a child process node // - ExecNode, a child process node
// - DockerNode, a node running in a Docker container
type Node interface { type Node interface {
// Addr returns the node's address (e.g. an Enode URL) // Addr returns the node's address (e.g. an Enode URL)
Addr() []byte Addr() []byte

View File

@ -33,7 +33,7 @@ import (
"github.com/ethereum/go-ethereum/p2p/simulations/adapters" "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 // main() starts a simulation network which contains nodes running a simple
// ping-pong protocol // ping-pong protocol