Versions in this module Expand all Collapse all v0 v0.12.2 Mar 18, 2021 Changes in this version + const BoltBackend + const DefaultBatchCommitInterval + const DefaultConfigFilename + const DefaultFinalCltvRejectDelta + const DefaultIncomingBroadcastDelta + const DefaultMaxPendingChannels + const DefaultOutgoingBroadcastDelta + const DefaultOutgoingCltvRejectDelta + const DefaultReadWorkers + const DefaultSigWorkers + const DefaultWriteWorkers + const EtcdBackend + const MinChannelCacheSize + const MinRejectCacheSize + var MinHealthCheckBackoff = time.Second + var MinHealthCheckInterval = time.Minute + var MinHealthCheckTimeout = time.Second + func CleanAndExpandPath(path string) string + func ClientAddressDialer(defaultPort string) func(context.Context, string) (net.Conn, error) + func EnforceSafeAuthentication(addrs []net.Addr, macaroonsActive, tlsActive bool) error + func IsLoopback(addr string) bool + func IsPrivate(addr net.Addr) bool + func IsUnix(addr net.Addr) bool + func ListenOnAddress(addr net.Addr) (net.Listener, error) + func NormalizeAddresses(addrs []string, defaultPort string, tcpResolver TCPResolver) ([]net.Addr, error) + func NormalizeNetwork(network string) string + func ParseAddressString(strAddress string, defaultPort string, tcpResolver TCPResolver) (net.Addr, error) + func ParseLNAddressString(strAddress string, defaultPort string, tcpResolver TCPResolver) (*lnwire.NetAddress, error) + func TLSListenOnAddress(addr net.Addr, config *tls.Config) (net.Listener, error) + func Validate(validators ...Validator) error + type AutoPilot struct + Active bool + Allocation float64 + ConfTarget uint32 + Heuristic map[string]float64 + MaxChannelSize int64 + MaxChannels int + MinChannelSize int64 + MinConfs int32 + Private bool + type Bitcoind struct + Dir string + EstimateMode string + RPCHost string + RPCPass string + RPCUser string + ZMQPubRawBlock string + ZMQPubRawTx string + type Btcd struct + Dir string + RPCCert string + RPCHost string + RPCPass string + RPCUser string + RawRPCCert string + type Caches struct + ChannelCacheSize int + RejectCacheSize int + func (c *Caches) Validate() error + type Chain struct + Active bool + BaseFee lnwire.MilliSatoshi + ChainDir string + DNSSeeds []string + DefaultNumChanConfs int + DefaultRemoteDelay int + FeeRate lnwire.MilliSatoshi + MainNet bool + MaxLocalDelay uint16 + MinHTLCIn lnwire.MilliSatoshi + MinHTLCOut lnwire.MilliSatoshi + Node string + RegTest bool + SimNet bool + TestNet3 bool + TimeLockDelta uint32 + func (c *Chain) Validate(minTimeLockDelta uint32, minDelay uint16) error + type CheckConfig struct + Attempts int + Backoff time.Duration + Interval time.Duration + Timeout time.Duration + type DB struct + Backend string + BatchCommitInterval time.Duration + Bolt *kvdb.BoltConfig + Etcd *kvdb.EtcdConfig + func DefaultDB() *DB + func (db *DB) GetBackends(ctx context.Context, dbPath string, networkName string) (*DatabaseBackends, error) + func (db *DB) Validate() error + type DatabaseBackends struct + LocalDB kvdb.Backend + RemoteDB kvdb.Backend + type DiskCheckConfig struct + RequiredRemaining float64 + type ExperimentalProtocol struct + type Gossip struct + ChannelUpdateInterval time.Duration + MaxChannelUpdateBurst int + PinnedSyncers discovery.PinnedSyncers + PinnedSyncersRaw []string + func (g *Gossip) Parse() error + type HealthCheckConfig struct + ChainCheck *CheckConfig + DiskCheck *DiskCheckConfig + TLSCheck *CheckConfig + func (h *HealthCheckConfig) Validate() error + type LegacyProtocol struct + func (l *LegacyProtocol) LegacyOnion() bool + func (l *LegacyProtocol) NoStaticRemoteKey() bool + type Neutrino struct + AddPeers []string + AssertFilterHeader string + BanDuration time.Duration + BanThreshold uint32 + ConnectPeers []string + FeeURL string + MaxPeers int + UserAgentName string + UserAgentVersion string + type Prometheus struct + func DefaultPrometheus() Prometheus + func (p *Prometheus) Enabled() bool + type ProtocolOptions struct + Anchors bool + WumboChans bool + func (l *ProtocolOptions) NoAnchorCommitments() bool + func (l *ProtocolOptions) Wumbo() bool + type Routing struct + AssumeChannelValid bool + type TCPResolver = func(network, addr string) (*net.TCPAddr, error) + type Tor struct + Active bool + Control string + DNS string + Password string + PrivateKeyPath string + SOCKS string + StreamIsolation bool + TargetIPAddress string + V2 bool + V3 bool + WatchtowerKeyPath string + type Validator interface + Validate func() error + type Watchtower struct + Active bool + TowerDir string + type Workers struct + Read int + Sig int + Write int + func (w *Workers) Validate() error + type WtClient struct + Active bool + PrivateTowerURIs []string + SweepFeeRate uint64 + func (c *WtClient) Validate() error v0.5.1-beta-rc4 Nov 26, 2018 v0.5.1-beta-rc3 Nov 21, 2018 v0.5.1-beta-rc2 Nov 16, 2018 v0.5.1-beta-rc1 Nov 15, 2018 v0.5.1-beta Nov 28, 2018