|
@ -484,21 +484,19 @@ func makeSeedNodeInfo( |
|
|
Block: state.Version.Consensus.Block, |
|
|
Block: state.Version.Consensus.Block, |
|
|
App: state.Version.Consensus.App, |
|
|
App: state.Version.Consensus.App, |
|
|
}, |
|
|
}, |
|
|
NodeID: nodeKey.ID, |
|
|
|
|
|
Network: genDoc.ChainID, |
|
|
|
|
|
Version: version.TMVersion, |
|
|
|
|
|
Channels: []byte{}, |
|
|
|
|
|
Moniker: cfg.Moniker, |
|
|
|
|
|
|
|
|
NodeID: nodeKey.ID, |
|
|
|
|
|
Network: genDoc.ChainID, |
|
|
|
|
|
Version: version.TMVersion, |
|
|
|
|
|
Channels: []byte{ |
|
|
|
|
|
pex.PexChannel, |
|
|
|
|
|
}, |
|
|
|
|
|
Moniker: cfg.Moniker, |
|
|
Other: types.NodeInfoOther{ |
|
|
Other: types.NodeInfoOther{ |
|
|
TxIndex: "off", |
|
|
TxIndex: "off", |
|
|
RPCAddress: cfg.RPC.ListenAddress, |
|
|
RPCAddress: cfg.RPC.ListenAddress, |
|
|
}, |
|
|
}, |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if cfg.P2P.PexReactor { |
|
|
|
|
|
nodeInfo.Channels = append(nodeInfo.Channels, pex.PexChannel) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
nodeInfo.ListenAddr = cfg.P2P.ExternalAddress |
|
|
nodeInfo.ListenAddr = cfg.P2P.ExternalAddress |
|
|
if nodeInfo.ListenAddr == "" { |
|
|
if nodeInfo.ListenAddr == "" { |
|
|
nodeInfo.ListenAddr = cfg.P2P.ListenAddress |
|
|
nodeInfo.ListenAddr = cfg.P2P.ListenAddress |
|
|