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 StartAgendaService(server *grpc.Server, activeNet *chaincfg.Params)
- func StartSeedService(server *grpc.Server)
- func StartTicketBuyerService(server *grpc.Server, loader *loader.Loader, tbCfg *ticketbuyer.Config)
- func StartVersionService(server *grpc.Server)
- 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 btclog.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartAgendaService ¶ added in v1.0.0
StartAgendaService creates an implementation of the AgendaService and registers it with the gRPC server.
func StartSeedService ¶ added in v0.7.0
StartSeedService creates an implementation of the SeedService and registers it with the gRPC server.
func StartTicketBuyerService ¶ added in v1.0.0
StartTicketBuyerService creates an implementation of the TicketBuyerService and registers it with the gRPC server.
func StartVersionService ¶
StartVersionService creates an implementation of the VersionService and registers it with the gRPC server.
func StartVotingService ¶ added in v1.0.0
StartVotingService creates an implementation of the VotingService and registers it with the gRPC server.
func StartWalletLoaderService ¶
func StartWalletLoaderService(server *grpc.Server, loader *loader.Loader, activeNet *netparams.Params)
StartWalletLoaderService creates an implementation of the WalletLoaderService and registers it with the gRPC server.
func StartWalletService ¶
StartWalletService creates an implementation of the WalletService and registers it with the gRPC server.
Types ¶
This section is empty.