mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-25 00:03:46 +02:00
lntest: move debug flag, disable spammy libevent
This commit is contained in:
parent
6ac1ffd274
commit
56a36acf63
@ -13,7 +13,6 @@ func NewBackend(miner string, netParams *chaincfg.Params) (
|
|||||||
*BitcoindBackendConfig, func() error, error) {
|
*BitcoindBackendConfig, func() error, error) {
|
||||||
|
|
||||||
extraArgs := []string{
|
extraArgs := []string{
|
||||||
"-debug",
|
|
||||||
"-regtest",
|
"-regtest",
|
||||||
"-txindex",
|
"-txindex",
|
||||||
"-disablewallet",
|
"-disablewallet",
|
||||||
|
@ -126,6 +126,8 @@ func newBackend(miner string, netParams *chaincfg.Params, extraArgs []string,
|
|||||||
fmt.Sprintf("-port=%d", p2pPort),
|
fmt.Sprintf("-port=%d", p2pPort),
|
||||||
"-zmqpubrawblock=" + zmqBlockAddr,
|
"-zmqpubrawblock=" + zmqBlockAddr,
|
||||||
"-zmqpubrawtx=" + zmqTxAddr,
|
"-zmqpubrawtx=" + zmqTxAddr,
|
||||||
|
"-debug",
|
||||||
|
"-debugexclude=libevent",
|
||||||
"-debuglogfile=" + logFile,
|
"-debuglogfile=" + logFile,
|
||||||
}
|
}
|
||||||
cmdArgs = append(cmdArgs, extraArgs...)
|
cmdArgs = append(cmdArgs, extraArgs...)
|
||||||
|
@ -13,7 +13,6 @@ func NewBackend(miner string, netParams *chaincfg.Params) (
|
|||||||
*BitcoindBackendConfig, func() error, error) {
|
*BitcoindBackendConfig, func() error, error) {
|
||||||
|
|
||||||
extraArgs := []string{
|
extraArgs := []string{
|
||||||
"-debug",
|
|
||||||
"-regtest",
|
"-regtest",
|
||||||
"-disablewallet",
|
"-disablewallet",
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,6 @@ func NewBackend(miner string, netParams *chaincfg.Params) (
|
|||||||
*BitcoindBackendConfig, func() error, error) {
|
*BitcoindBackendConfig, func() error, error) {
|
||||||
|
|
||||||
extraArgs := []string{
|
extraArgs := []string{
|
||||||
"-debug",
|
|
||||||
"-regtest",
|
"-regtest",
|
||||||
"-txindex",
|
"-txindex",
|
||||||
"-disablewallet",
|
"-disablewallet",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user