package
0.0.0-20231030172004-e8e7bc69f926
Repository: https://github.com/sebitt27/dcrd.git
Documentation: pkg.go.dev

# README

rpcserver

Build Status ISC License Doc

Overview

Package rpcserver includes all RPC server interfaces, types, and pieces of code pertaining to implementing the RPC server.

License

Package rpcserver is licensed under the copyfree ISC License.

# Functions

New returns a new instance of the Server struct.
UseLogger uses a specified Logger to output package logging info.

# Variables

ErrClientQuit describes the error where a client send is not processed due to the client having already been disconnected or dropped.
ErrRPCNoWallet is an error returned to RPC clients when the provided command is recognized as a wallet command.
ErrRPCUnimplemented is an error returned to RPC clients when the provided command is recognized, but not implemented.

# Structs

Config is a descriptor containing the RPC server configuration.
Server provides a concurrent safe RPC server to a chain server.
WinningTicketsNtfnData is the data that is used to generate winning ticket notifications (which indicate a block and the tickets eligible to vote on it).

# Interfaces

AddrManager represents an address manager for use with the RPC server.
BlockTemplater represents a source of block templates for use with the RPC server.
Chain represents a chain for use with the RPC server.
Clock represents a clock for use with the RPC server.
ConnManager represents a connection manager for use with the RPC server.
CPUMiner represents a CPU miner for use with the RPC server.
ExistsAddresser represents a source of exists address methods for the RPC server.
FeeEstimator provides an interface that tracks historical data for published and mined transactions in order to estimate fees to be used in new transactions for confirmation within a target block window.
FiltererV2 provides an interface for retrieving a block's version 2 GCS filter.
LogManager represents a log manager for use with the RPC server.
NtfnManager provides an interface for processing and sending chain notifications.
Peer represents a peer for use with the RPC server.
RPCHelpCacher represents a cacher that provides help and usage text for RPC server commands and caches the results.
SanityChecker represents a block sanity checker for use with the RPC server.
SyncManager represents a sync manager for use with the RPC server.
TemplateSubber represents a block template subscription.
TxIndexer provides an interface for retrieving details for a given transaction hash.
TxMempooler represents a source of mempool transaction data for the RPC server.
UtxoEntry represents a utxo entry for use with the RPC server.