You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
btcd,integration,integration/rpctest: integrate debugstream with btcd
btcd: integrated debugstream, now we can send debug events and improve
testing capabilities. The hidden flag --debugstream=<host:port> starts
the debug Stream when btcd is compiled with the debug tag.
integration: added debugstream integration test.
integration/rpctest: added DebugStreamHandler to harness options,
allowing integration tests to easily process debug events. The btcd
executable build to be used by the Harness is now being built with the
debug tag, but the debug stream will be started only if the
DebugStreamHandler is also passed to the Harness.
Copy file name to clipboardExpand all lines: config.go
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -120,6 +120,7 @@ type config struct {
120
120
DataDirstring`short:"b" long:"datadir" description:"Directory to store data"`
121
121
DbTypestring`long:"dbtype" description:"Database backend to use for the Block Chain"`
122
122
DebugLevelstring`short:"d" long:"debuglevel" description:"Logging level for all subsystems {trace, debug, info, warn, error, critical} -- You may also specify <subsystem>=<level>,<subsystem2>=<level>,... to set the log level for individual subsystems -- Use show to list available subsystems"`
123
+
DebugStreamstring`long:"debugstream" hidden:"true" description:"TCP listen address of the debug stream. To use this feature btcd must also be compiled with debug tag."`
123
124
DropAddrIndexbool`long:"dropaddrindex" description:"Deletes the address-based transaction index from the database on start up and then exits."`
124
125
DropCfIndexbool`long:"dropcfindex" description:"Deletes the index used for committed filtering (CF) support from the database on start up and then exits."`
125
126
DropTxIndexbool`long:"droptxindex" description:"Deletes the hash-based transaction index from the database on start up and then exits."`
0 commit comments