integration/rpctest: disable the txindex by default

In this commit, we disable the txindex by default as the flag cannot be
overwritten by btcd once set.
This commit is contained in:
Wilmer Paulino 2018-07-18 19:13:49 -07:00
parent f899737d7f
commit 9aa83ad423
No known key found for this signature in database
GPG key ID: 6DF57B9F9514972F

View file

@ -115,10 +115,6 @@ func (n *nodeConfig) arguments() []string {
args = append(args, fmt.Sprintf("--rpccert=%s", n.certFile)) args = append(args, fmt.Sprintf("--rpccert=%s", n.certFile))
// --rpckey // --rpckey
args = append(args, fmt.Sprintf("--rpckey=%s", n.keyFile)) args = append(args, fmt.Sprintf("--rpckey=%s", n.keyFile))
// --txindex
args = append(args, "--txindex")
// --addrindex
args = append(args, "--addrindex")
if n.dataDir != "" { if n.dataDir != "" {
// --datadir // --datadir
args = append(args, fmt.Sprintf("--datadir=%s", n.dataDir)) args = append(args, fmt.Sprintf("--datadir=%s", n.dataDir))