Skip to content

dumpconfig ignores StaticNodes #16346

@shazow

Description

@shazow

System information

Geth version: 1.8.3-unstable (built from master)
OS & Version: Linux,
Commit hash : fe6cf00

Expected behaviour

After adding some nodes to geth/static-nodes.json, I would expect geth dumpconfig to include those nodes.

I have confirmed that the static nodes are being respected (ie. the node does connect to said nodes with --nodiscover). It's just that dumpconfig seems to ignore them.

Actual behaviour

$ geth dumpconfig
[Node.P2P]
...
StaticNodes = []
TrustedNodes = []
...

Steps to reproduce the behaviour

  1. Write some geth/static-nodes.json
  2. Run geth dumpconfig | grep StaticNodes
  3. 😢

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions