multi: add unsafedisconnect as a dev config
This commit adds a new dev config `unsafedisconnect` as we sometimes want to disconnect nodes in our itests.
This commit is contained in:
4 files changed
+37
-6
No files matched your search
@@ -206,7 +206,6 @@ func (cfg *BaseNodeConfig) GenArgs() []string {
|
||||
args = append(args, backendArgs...)
|
||||
|
||||
nodeArgs := []string{
|
||||
"--bitcoin.active",
|
||||
"--nobootstrap",
|
||||
"--debuglevel=debug,DISC=trace",
|
||||
"--bitcoin.defaultchanconfs=1",
|
||||
@@ -241,6 +240,9 @@ func (cfg *BaseNodeConfig) GenArgs() []string {
|
||||
// Speed up the tests for bitcoind backend.
|
||||
"--bitcoind.blockpollinginterval=100ms",
|
||||
"--bitcoind.txpollinginterval=100ms",
|
||||
|
||||
// Allow unsafe disconnect in itest.
|
||||
"--dev.unsafedisconnect",
|
||||
}
|
||||
|
||||
args = append(args, nodeArgs...)
|
||||
|
||||
Reference in new issue
Block a user