remotedcrwnotify

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(conn *grpc.ClientConn, chainParams *chaincfg.Params,
	spendHintCache chainntnfs.SpendHintCache,
	confirmHintCache chainntnfs.ConfirmHintCache,
	blockCache *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 RemoteWalletChainSource

type RemoteWalletChainSource struct {
	*csdrivers.RemoteWalletCSDriver
	// contains filtered or unexported fields
}

func NewRemoteWalletChainSource

func NewRemoteWalletChainSource(conn *grpc.ClientConn, bCache *blockcache.BlockCache) *RemoteWalletChainSource

func (*RemoteWalletChainSource) GetBlockHash

func (s *RemoteWalletChainSource) GetBlockHash(ctx context.Context, height int32) (*chainhash.Hash, error)

func (*RemoteWalletChainSource) GetBlockHeader

func (s *RemoteWalletChainSource) GetBlockHeader(ctx context.Context, hash *chainhash.Hash) (*wire.BlockHeader, error)

func (*RemoteWalletChainSource) StoresReorgedHeaders

func (s *RemoteWalletChainSource) StoresReorgedHeaders() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL