Versions in this module Expand all Collapse all v2 v2.7.6 Nov 14, 2023 v2.7.5 Apr 14, 2023 Changes in this version + func BlockConnected(params json.RawMessage) (header *wire.BlockHeader, relevant []*wire.MsgTx, err error) + func MissedTickets(params json.RawMessage) (missed []*chainhash.Hash, err error) + func RelevantTxAccepted(params json.RawMessage) (tx *wire.MsgTx, err error) + func TSpend(params json.RawMessage) (tx *wire.MsgTx, err error) + func WinningTickets(params json.RawMessage) (block *chainhash.Hash, height int32, winners []*chainhash.Hash, err error) + type Caller interface + Call func(ctx context.Context, method string, res interface{}, args ...interface{}) error + type RPC struct + func New(caller Caller) *RPC + func (r *RPC) Blocks(ctx context.Context, blockHashes []*chainhash.Hash) ([]*wire.MsgBlock, error) + func (r *RPC) CFilterV2(ctx context.Context, blockHash *chainhash.Hash) (*gcs.FilterV2, uint32, []chainhash.Hash, error) + func (r *RPC) CFiltersV2(ctx context.Context, blockHashes []*chainhash.Hash) ([]filterProof, error) + func (r *RPC) ExistsExpiredMissedTickets(ctx context.Context, tickets []*chainhash.Hash) (expired, missed bitset.Bytes, err error) + func (r *RPC) ExistsLiveExpiredTickets(ctx context.Context, tickets []*chainhash.Hash) (live, expired bitset.Bytes, err error) + func (r *RPC) ExistsLiveTicket(ctx context.Context, ticket *chainhash.Hash) (bool, error) + func (r *RPC) ExistsLiveTickets(ctx context.Context, tickets []*chainhash.Hash) (bitset.Bytes, error) + func (r *RPC) GetMempoolTSpends(ctx context.Context) ([]*wire.MsgTx, error) + func (r *RPC) Headers(ctx context.Context, blockLocators []*chainhash.Hash, hashStop *chainhash.Hash) ([]*wire.BlockHeader, error) + func (r *RPC) LoadTxFilter(ctx context.Context, reload bool, addrs []stdaddr.Address, ...) error + func (r *RPC) MempoolCount(ctx context.Context, kind string) (int, error) + func (r *RPC) PublishTransaction(ctx context.Context, tx *wire.MsgTx) error + func (r *RPC) PublishTransactions(ctx context.Context, txs ...*wire.MsgTx) error + func (r *RPC) Rescan(ctx context.Context, blocks []chainhash.Hash, ...) error + func (r *RPC) StakeDifficulty(ctx context.Context) (dcrutil.Amount, error) + func (r *RPC) UsedAddresses(ctx context.Context, addrs []stdaddr.Address) (bitset.Bytes, error)