Versions in this module Expand all Collapse all v4 v4.0.0 May 16, 2024 Changes in this version + func UseLogger(logger slog.Logger) + type Notifications struct + DiscoverAddressesFinished func() + DiscoverAddressesStarted func() + FetchHeadersFinished func() + FetchHeadersProgress func(lastHeaderHeight int32, lastHeaderTime int64) + FetchHeadersStarted func() + FetchMissingCFiltersFinished func() + FetchMissingCFiltersProgress func(startCFiltersHeight, endCFiltersHeight int32) + FetchMissingCFiltersStarted func() + MempoolTxs func(txs []*wire.MsgTx) + PeerConnected func(peerCount int32, addr string) + PeerDisconnected func(peerCount int32, addr string) + RescanFinished func() + RescanProgress func(rescannedThrough int32) + RescanStarted func() + Synced func(sync bool) + TipChanged func(tip *wire.BlockHeader, reorgDepth int32, txs []*wire.MsgTx) + type Syncer struct + func NewSyncer(w *wallet.Wallet, lp *p2p.LocalPeer) *Syncer + func (s *Syncer) Blocks(ctx context.Context, blockHashes []*chainhash.Hash) ([]*wire.MsgBlock, error) + func (s *Syncer) CFiltersV2(ctx context.Context, blockHashes []*chainhash.Hash) ([]filterProof, error) + func (s *Syncer) DisableDiscoverAccounts() + func (s *Syncer) GetInitState(ctx context.Context, rp *p2p.RemotePeer) error + func (s *Syncer) GetRemotePeers() map[string]*p2p.RemotePeer + func (s *Syncer) LoadTxFilter(ctx context.Context, reload bool, addrs []stdaddr.Address, ...) error + func (s *Syncer) PublishMixMessages(ctx context.Context, msgs ...mixing.Message) error + func (s *Syncer) PublishTransactions(ctx context.Context, txs ...*wire.MsgTx) error + func (s *Syncer) Rescan(ctx context.Context, blockHashes []chainhash.Hash, ...) error + func (s *Syncer) Run(ctx context.Context) error + func (s *Syncer) SetNotifications(ntfns *Notifications) + func (s *Syncer) SetPersistentPeers(peers []string) + func (s *Syncer) StakeDifficulty(ctx context.Context) (dcrutil.Amount, error) + func (s *Syncer) String() string + func (s *Syncer) Synced(ctx context.Context) (bool, int32) Other modules containing this package decred.org/dcrwallet decred.org/dcrwallet/v2 decred.org/dcrwallet/v3