Versions in this module Expand all Collapse all v0 v0.0.3 Sep 11, 2024 Changes in this version + const DefaultBitcoinBaseFeeMSat + const DefaultBitcoinFeeRate + const DefaultBitcoinMinHTLCInMSat + const DefaultBitcoinMinHTLCOutMSat + const DefaultBitcoinStaticFeePerKW + const DefaultBitcoinStaticMinRelayFeeRate + const DefaultBitcoinTimeLockDelta + const Subsystem + var BitcoinMainNetParams = BitcoinNetParams + var BitcoinMainnetGenesis = chainhash.Hash([chainhash.HashSize]byte{ ... }) + var BitcoinRegTestNetParams = BitcoinNetParams + var BitcoinSigNetParams = BitcoinNetParams + var BitcoinSignetGenesis = chainhash.Hash([chainhash.HashSize]byte{ ... }) + var BitcoinSimNetParams = BitcoinNetParams + var BitcoinTestNetParams = BitcoinNetParams + var BitcoinTestnetGenesis = chainhash.Hash([chainhash.HashSize]byte{ ... }) + var ChainDNSSeeds = map[chainhash.Hash][][2]string + func DisableLog() + func IsTestnet(params *BitcoinNetParams) bool + func UseLogger(logger btclog.Logger) + type BitcoinNetParams struct + CoinType uint32 + RPCPort string + type ChainControl struct + ChainIO lnwallet.BlockChainIO + KeyRing keychain.SecretKeyRing + MsgSigner lnwallet.MessageSigner + Signer input.Signer + Wallet *lnwallet.LightningWallet + Wc lnwallet.WalletController + func NewChainControl(walletConfig lnwallet.Config, msgSigner lnwallet.MessageSigner, ...) (*ChainControl, func(), error) + type Config struct + ActiveNetParams BitcoinNetParams + Bitcoin *lncfg.Chain + BitcoindMode *lncfg.Bitcoind + BlockCache *blockcache.BlockCache + BtcdMode *lncfg.Btcd + ChanStateDB *channeldb.ChannelStateDB + Dialer chain.Dialer + FeeURL string + HeightHintCacheQueryDisable bool + HeightHintDB kvdb.Backend + NeutrinoCS *neutrino.ChainService + NeutrinoMode *lncfg.Neutrino + WalletUnlockParams *walletunlocker.WalletUnlockParams + type NoChainBackend struct + func (n *NoChainBackend) DisconnectedBlocks() <-chan *chainview.FilteredBlock + func (n *NoChainBackend) EstimateFeePerKW(uint32) (chainfee.SatPerKWeight, error) + func (n *NoChainBackend) FilterBlock(*chainhash.Hash) (*chainview.FilteredBlock, error) + func (n *NoChainBackend) FilteredBlocks() <-chan *chainview.FilteredBlock + func (n *NoChainBackend) RegisterBlockEpochNtfn(*chainntnfs.BlockEpoch) (*chainntnfs.BlockEpochEvent, error) + func (n *NoChainBackend) RegisterConfirmationsNtfn(*chainhash.Hash, []byte, uint32, uint32, ...chainntnfs.NotifierOption) (*chainntnfs.ConfirmationEvent, error) + func (n *NoChainBackend) RegisterSpendNtfn(*wire.OutPoint, []byte, uint32) (*chainntnfs.SpendEvent, error) + func (n *NoChainBackend) RelayFeePerKW() chainfee.SatPerKWeight + func (n *NoChainBackend) Start() error + func (n *NoChainBackend) Started() bool + func (n *NoChainBackend) Stop() error + func (n *NoChainBackend) UpdateFilter([]channeldb.EdgePoint, uint32) error + type NoChainSource struct + BestBlockTime time.Time + func (n *NoChainSource) BackEnd() string + func (n *NoChainSource) BlockStamp() (*waddrmgr.BlockStamp, error) + func (n *NoChainSource) FilterBlocks(*chain.FilterBlocksRequest) (*chain.FilterBlocksResponse, error) + func (n *NoChainSource) GetBestBlock() (*chainhash.Hash, int32, error) + func (n *NoChainSource) GetBlock(*chainhash.Hash) (*wire.MsgBlock, error) + func (n *NoChainSource) GetBlockHash(int64) (*chainhash.Hash, error) + func (n *NoChainSource) GetBlockHeader(*chainhash.Hash) (*wire.BlockHeader, error) + func (n *NoChainSource) IsCurrent() bool + func (n *NoChainSource) Notifications() <-chan interface{} + func (n *NoChainSource) NotifyBlocks() error + func (n *NoChainSource) NotifyReceived([]btcutil.Address) error + func (n *NoChainSource) Rescan(*chainhash.Hash, []btcutil.Address, map[wire.OutPoint]btcutil.Address) error + func (n *NoChainSource) SendRawTransaction(*wire.MsgTx, bool) (*chainhash.Hash, error) + func (n *NoChainSource) Start() error + func (n *NoChainSource) Stop() + func (n *NoChainSource) TestMempoolAccept([]*wire.MsgTx, float64) ([]*btcjson.TestMempoolAcceptResult, error) + func (n *NoChainSource) WaitForShutdown() + type PartialChainControl struct + BestBlockTracker *chainntnfs.BestBlockTracker + Cfg *Config + ChainNotifier chainntnfs.ChainNotifier + ChainSource chain.Interface + ChainView chainview.FilteredChainView + FeeEstimator chainfee.Estimator + HealthCheck func() error + MempoolNotifier chainntnfs.MempoolWatcher + MinHtlcIn lnwire.MilliSatoshi + RoutingPolicy models.ForwardingPolicy + func NewPartialChainControl(cfg *Config) (*PartialChainControl, func(), error)