I've tried placing a static-nodes.json file in the data directory and I've tried specifying the static node in a TOML file. Neither approach seemed to have the desired effect.
Asked
Active
Viewed 1,117 times
1
Max
- 636
- 4
- 15
<datadir>/static-nodes.jsonfile for this private chain. Endpoints successfully open and the RLPx listener starts, butnet.peerCountreturns zero. It should always return at least "1". To be candid, the static node could be a red herring and 1.6 might have a problem with my genesis file, as I understand that its format has changed?
– Max Apr 23 '17 at 18:26invalid genesis file: hex string has odd lengthI'm wondering if through conversion of the genesis file, I might have changed it such that I'm no longer able to connect to the same network? And therefore, the
– Max Apr 23 '17 at 18:41<datadir>/static-nodes.jsonconcern might be a red herring? Not sure of that either. Is<datadir>/static-nodes.jsonno longer supported?static-nodes.jsonnot being supported anymore. To be safe, you could try adding the nodes using--bootnodes: https://ethereum.stackexchange.com/a/2709/52. If that works, then it might rule out the problem with the genesis file. – Richard Horrocks Apr 24 '17 at 21:03