Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(w *wallet.Wallet, chainParams *chaincfg.Params, spendHintCache chainntnfs.SpendHintCache, confirmHintCache chainntnfs.ConfirmHintCache, bCache *blockcache.BlockCache) (*csnotify.ChainscanNotifier, error)
New returns a new DcrdNotifier instance. This function assumes the dcrd node detailed in the passed configuration is already running, and willing to accept new websockets clients.
Types ¶
type DcrwChainSource ¶
type DcrwChainSource struct { *csdrivers.DcrwalletCSDriver // contains filtered or unexported fields }
func NewDcrwChainSource ¶
func NewDcrwChainSource(w *wallet.Wallet, bCache *blockcache.BlockCache) *DcrwChainSource
func (*DcrwChainSource) GetBlockHash ¶
func (*DcrwChainSource) GetBlockHeader ¶
func (s *DcrwChainSource) GetBlockHeader(ctx context.Context, hash *chainhash.Hash) (*wire.BlockHeader, error)
func (*DcrwChainSource) StoresReorgedHeaders ¶
func (s *DcrwChainSource) StoresReorgedHeaders() bool
Click to show internal directories.
Click to hide internal directories.