lntest: move debug flag, disable spammy libevent

This commit is contained in:
Oliver Gugger 2024-09-03 11:57:59 +02:00
parent fe8b89dc2c
commit 5966150db5
No known key found for this signature in database
GPG Key ID: 8E4256593F177720
4 changed files with 2 additions and 3 deletions

View File

@ -13,7 +13,6 @@ func NewBackend(miner string, netParams *chaincfg.Params) (
*BitcoindBackendConfig, func() error, error) {
extraArgs := []string{
"-debug",
"-regtest",
"-txindex",
"-disablewallet",

View File

@ -126,6 +126,8 @@ func newBackend(miner string, netParams *chaincfg.Params, extraArgs []string,
fmt.Sprintf("-port=%d", p2pPort),
"-zmqpubrawblock=" + zmqBlockAddr,
"-zmqpubrawtx=" + zmqTxAddr,
"-debug",
"-debugexclude=libevent",
"-debuglogfile=" + logFile,
}
cmdArgs = append(cmdArgs, extraArgs...)

View File

@ -13,7 +13,6 @@ func NewBackend(miner string, netParams *chaincfg.Params) (
*BitcoindBackendConfig, func() error, error) {
extraArgs := []string{
"-debug",
"-regtest",
"-disablewallet",
}

View File

@ -13,7 +13,6 @@ func NewBackend(miner string, netParams *chaincfg.Params) (
*BitcoindBackendConfig, func() error, error) {
extraArgs := []string{
"-debug",
"-regtest",
"-txindex",
"-disablewallet",