Enable txindex=1 as default #37

Closed
kodxana wants to merge 211 commits from master into master
Showing only changes of commit 5c1d4918d5 - Show all commits

View file

@ -49,6 +49,7 @@ func main() {
rpcserver = flag.String("rpcserver", "localhost:9245", "LBCD RPC server") rpcserver = flag.String("rpcserver", "localhost:9245", "LBCD RPC server")
rpcuser = flag.String("rpcuser", "rpcuser", "LBCD RPC username") rpcuser = flag.String("rpcuser", "rpcuser", "LBCD RPC username")
rpcpass = flag.String("rpcpass", "rpcpass", "LBCD RPC password") rpcpass = flag.String("rpcpass", "rpcpass", "LBCD RPC password")
notls = flag.Bool("notls", false, "Connect to LBCD with TLS disabled")
) )
flag.Parse() flag.Parse()
@ -78,6 +79,7 @@ func main() {
User: *rpcuser, User: *rpcuser,
Pass: *rpcpass, Pass: *rpcpass,
Certificates: certs, Certificates: certs,
DisableTLS: *notls,
} }
client, err := rpcclient.New(connCfg, &ntfnHandlers) client, err := rpcclient.New(connCfg, &ntfnHandlers)
if err != nil { if err != nil {