lnd: expose user agent version as config option

Expose the neutrino `UserAgentVersion` config option. This can be set
by starting lnd with the `--neutrino.useragentversion=` flag.
This commit is contained in:
Tom Kirkpatrick committed 2020-06-04 13:12:08 +02:00
1 parent 4394cc39af
commit bafab33beb
3 files changed
+3

No files matched your search

+1
View File
@@ -13,4 +13,5 @@ type Neutrino struct {
FeeURL string `long:"feeurl" description:"Optional URL for fee estimation. If a URL is not specified, static fees will be used for estimation."`
AssertFilterHeader string `long:"assertfilterheader" description:"Optional filter header in height:hash format to assert the state of neutrino's filter header chain on startup. If the assertion does not hold, then the filter header chain will be re-synced from the genesis block."`
UserAgentName string `long:"useragentname" description:"Used to help identify ourselves to other bitcoin peers"`
UserAgentVersion string `long:"useragentversion" description:"Used to help identify ourselves to other bitcoin peers"`
}