@@ -430,15 +430,14 @@ func init() {
430430 }
431431 f .IntVarP (& inputSensorParams .MaxPeers , "max-peers" , "m" , 2000 , "maximum number of peers to connect to" )
432432 f .IntVarP (& inputSensorParams .MaxDatabaseConcurrency , "max-db-concurrency" , "D" , 10000 ,
433- `maximum number of concurrent database operations to perform. Increasing this
434- will result in less chance of missing data (i.e. broken pipes) but can
435- significantly increase memory usage` )
433+ `maximum number of concurrent database operations to perform (increasing this
434+ will result in less chance of missing data but can significantly increase memory usage)` )
436435 f .BoolVarP (& inputSensorParams .ShouldWriteBlocks , "write-blocks" , "B" , true , "write blocks to database" )
437436 f .BoolVar (& inputSensorParams .ShouldWriteBlockEvents , "write-block-events" , true , "write block events to database" )
438437 f .BoolVarP (& inputSensorParams .ShouldWriteTransactions , "write-txs" , "t" , true ,
439- `write transactions to database. This option can significantly increase CPU and memory usage` )
438+ `write transactions to database (this option can significantly increase CPU and memory usage) ` )
440439 f .BoolVar (& inputSensorParams .ShouldWriteTransactionEvents , "write-tx-events" , true ,
441- `write transaction events to database. This option can significantly increase CPU and memory usage` )
440+ `write transaction events to database (this option can significantly increase CPU and memory usage) ` )
442441 f .BoolVar (& inputSensorParams .ShouldWritePeers , "write-peers" , true , "write peers to database" )
443442 f .BoolVar (& inputSensorParams .ShouldRunPprof , "pprof" , false , "run pprof server" )
444443 f .UintVar (& inputSensorParams .PprofPort , "pprof-port" , 6060 , "port pprof runs on" )
@@ -455,8 +454,7 @@ significantly increase memory usage`)
455454 f .StringVar (& inputSensorParams .GenesisHash , "genesis-hash" , "0xa9c28ce2141b56c474f1dc504bee9b01eb1bd7d1a507580d5519d4437a97de1b" , "genesis block hash" )
456455 f .BytesHexVar (& inputSensorParams .ForkID , "fork-id" , []byte {240 , 151 , 188 , 19 }, "hex encoded fork ID (omit 0x)" )
457456 f .IntVar (& inputSensorParams .DialRatio , "dial-ratio" , 0 ,
458- `ratio of inbound to dialed connections. A dial ratio of 2 allows 1/2 of
459- connections to be dialed. Setting this to 0 defaults it to 3` )
457+ `ratio of inbound to dialed connections (dial ratio of 2 allows 1/2 of connections to be dialed, setting to 0 defaults to 3)` )
460458 f .StringVar (& inputSensorParams .NAT , "nat" , "any" , "NAT port mapping mechanism (any|none|upnp|pmp|pmp:<IP>|extip:<IP>)" )
461459 f .StringVar (& inputSensorParams .StaticNodesFile , "static-nodes" , "" , "static nodes file" )
462460 f .StringVar (& inputSensorParams .TrustedNodesFile , "trusted-nodes" , "" , "trusted nodes file" )
0 commit comments