Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MainNetPeers = []string{ "btcd-mainnet.lightning.computer", "faucet.lightning.community", "mainnet1-btcd.zaphq.io", "mainnet2-btcd.zaphq.io", "mainnet3-btcd.zaphq.io", "mainnet4-btcd.zaphq.io", } TestNet3Peers = []string{ "btcd-testnet.lightning.computer", "faucet.lightning.community", "testnet1-btcd.zaphq.io", "testnet2-btcd.zaphq.io", "testnet3-btcd.zaphq.io", "testnet4-btcd.zaphq.io", } )
Functions ¶
func EnableNeutrinoLogs ¶
Types ¶
type FullWatcher ¶
type FullWatcher struct {
// contains filtered or unexported fields
}
FullWatcher downloads all blocks instead of using cfilters.
func NewFullWatcher ¶
func (*FullWatcher) AddAddresses ¶
func (w *FullWatcher) AddAddresses(addrs ...string) error
func (*FullWatcher) Close ¶
func (w *FullWatcher) Close() error
func (*FullWatcher) CurrentHeight ¶
func (w *FullWatcher) CurrentHeight() (int32, error)
func (*FullWatcher) StartWatching ¶
func (w *FullWatcher) StartWatching(startBlock int32, handlers rpcclient.NotificationHandlers)
func (*FullWatcher) WaitForSync ¶
func (w *FullWatcher) WaitForSync() error
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
func (*Watcher) AddAddresses ¶
func (*Watcher) CurrentHeight ¶
func (*Watcher) StartWatching ¶
func (w *Watcher) StartWatching(startBlock int32, handlers rpcclient.NotificationHandlers)
func (*Watcher) WaitForSync ¶
Click to show internal directories.
Click to hide internal directories.