Versions in this module Expand all Collapse all v8 v8.0.2 Jun 27, 2022 v8.0.1 Jun 27, 2022 Changes in this version + const SyncHandlerDeadline + func DisableLog() + func UseLogger(logger slog.Logger) + type BlockHandler func(*wire.BlockHeader) error + type BlockHandlerLite func(uint32, string) error + type BranchTips struct + NewChainHead chainhash.Hash + NewChainHeight int32 + OldChainHead chainhash.Hash + OldChainHeight int32 + type ContextualError struct + Err error + RootErr error + func (e *ContextualError) Cause() string + func (e *ContextualError) Error() string + type DCRDNode interface + NotifyBlocks func() error + NotifyNewTransactions func(bool) error + NotifyWinningTickets func() error + type Notifier struct + func NewNotifier(ctx context.Context) *Notifier + func (notifier *Notifier) DcrdHandlers() *rpcclient.NotificationHandlers + func (notifier *Notifier) Listen(dcrdClient DCRDNode) *ContextualError + func (notifier *Notifier) RegisterBlockHandlerGroup(handlers ...BlockHandler) + func (notifier *Notifier) RegisterBlockHandlerLiteGroup(handlers ...BlockHandlerLite) + func (notifier *Notifier) RegisterReorgHandlerGroup(handlers ...ReorgHandler) + func (notifier *Notifier) RegisterTxHandlerGroup(handlers ...TxHandler) + func (notifier *Notifier) SetPreviousBlock(prevHash chainhash.Hash, prevHeight uint32) + type ReorgHandler func(*txhelpers.ReorgData) error + type TxHandler func(*chainjson.TxRawResult) error Other modules containing this package github.com/Decred-Next/dcrndata