Merge pull request #5193 from wpaulino/neutrino-assume-valid

Use routing.assumechanvalid=true by default in Neutrino mode
This commit is contained in:
Olaoluwa Osuntokun
2021-04-13 15:37:51 -07:00
committed by GitHub
5 changed files with 27 additions and 8 deletions

View File

@@ -24,6 +24,9 @@ func (b NeutrinoBackendConfig) GenArgs() []string {
var args []string
args = append(args, "--bitcoin.node=neutrino")
args = append(args, "--neutrino.connect="+b.minerAddr)
// We enable validating channels so that we can obtain the outpoint for
// channels within the graph and make certain assertions based on them.
args = append(args, "--neutrino.validatechannels")
return args
}