Documentation ¶
Overview ¶
Package rpcserver implements the RPC API and is used by the main package to start gRPC services.
Full documentation of the API implemented by this package is maintained in a language-agnostic document:
https://github.com/decred/dcrwallet/blob/master/rpc/documentation/api.md
Any API changes must be performed according to the steps listed here:
https://github.com/decred/dcrwallet/blob/master/rpc/documentation/serverchanges.md
Index ¶
- func RegisterServices(server *grpc.Server)
- func ServiceReady(service string) error
- func StartAccountMixerService(server *grpc.Server, loader *loader.Loader)
- func StartAgendaService(server *grpc.Server, activeNet *chaincfg.Params)
- func StartDecodeMessageService(server *grpc.Server, chainParams *chaincfg.Params)
- func StartMessageVerificationService(server *grpc.Server, chainParams *chaincfg.Params)
- func StartNetworkService(server *grpc.Server, wallet *wallet.Wallet)
- func StartTicketBuyerService(server *grpc.Server, loader *loader.Loader)
- func StartVotingService(server *grpc.Server, wallet *wallet.Wallet)
- func StartWalletLoaderService(server *grpc.Server, loader *loader.Loader, activeNet *netparams.Params)
- func StartWalletService(server *grpc.Server, wallet *wallet.Wallet)
- func UseLogger(l slog.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterServices ¶
RegisterServices registers implementations of each gRPC service and registers it with the server. Not all service are ready to be used after registration.
func ServiceReady ¶
ServiceReady returns nil when the service is ready and a gRPC error when not.
func StartAccountMixerService ¶
StartAccountMixerService starts the AccountMixerService.
func StartAgendaService ¶
func StartDecodeMessageService ¶
StartDecodeMessageService starts the MessageDecode service
func StartMessageVerificationService ¶
StartMessageVerificationService starts the MessageVerification service
func StartNetworkService ¶
StartNetworkService starts the NetworkService.
func StartTicketBuyerService ¶
StartTicketBuyerService starts the TicketBuyerService.
func StartVotingService ¶
StartVotingService starts the VotingService.
func StartWalletLoaderService ¶
func StartWalletLoaderService(server *grpc.Server, loader *loader.Loader, activeNet *netparams.Params)
StartWalletLoaderService starts the WalletLoaderService.
func StartWalletService ¶
StartWalletService starts the WalletService.
Types ¶
This section is empty.