@ -31,11 +31,12 @@ func AddNodeFlags(cmd *cobra.Command) {
// p2p flags
// p2p flags
cmd . Flags ( ) . String ( "p2p.laddr" , config . P2P . ListenAddress , "Node listen address. (0.0.0.0:0 means any interface, any port)" )
cmd . Flags ( ) . String ( "p2p.laddr" , config . P2P . ListenAddress , "Node listen address. (0.0.0.0:0 means any interface, any port)" )
cmd . Flags ( ) . String ( "p2p.seeds" , config . P2P . Seeds , "Comma delimited host:port seed nodes" )
cmd . Flags ( ) . String ( "p2p.persistent_peers" , config . P2P . PersistentPeers , "Comma delimited host:port persistent peers" )
cmd . Flags ( ) . String ( "p2p.seeds" , config . P2P . Seeds , "Comma- delimited host:port seed nodes" )
cmd . Flags ( ) . String ( "p2p.persistent_peers" , config . P2P . PersistentPeers , "Comma- delimited host:port persistent peers" )
cmd . Flags ( ) . Bool ( "p2p.skip_upnp" , config . P2P . SkipUPNP , "Skip UPNP configuration" )
cmd . Flags ( ) . Bool ( "p2p.skip_upnp" , config . P2P . SkipUPNP , "Skip UPNP configuration" )
cmd . Flags ( ) . Bool ( "p2p.pex" , config . P2P . PexReactor , "Enable/disable Peer-Exchange" )
cmd . Flags ( ) . Bool ( "p2p.pex" , config . P2P . PexReactor , "Enable/disable Peer-Exchange" )
cmd . Flags ( ) . Bool ( "p2p.seed_mode" , config . P2P . SeedMode , "Enable/disable seed mode" )
cmd . Flags ( ) . Bool ( "p2p.seed_mode" , config . P2P . SeedMode , "Enable/disable seed mode" )
cmd . Flags ( ) . String ( "p2p.private_peers" , config . P2P . PrivatePeers , "Comma-delimited host:port private peers" )
// consensus flags
// consensus flags
cmd . Flags ( ) . Bool ( "consensus.create_empty_blocks" , config . Consensus . CreateEmptyBlocks , "Set this to false to only produce blocks when there are txs or when the AppHash changes" )
cmd . Flags ( ) . Bool ( "consensus.create_empty_blocks" , config . Consensus . CreateEmptyBlocks , "Set this to false to only produce blocks when there are txs or when the AppHash changes" )