rpcserver

package
v0.16.9 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: ISC Imports: 26 Imported by: 12

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/btcsuite/btcwallet/blob/master/rpc/documentation/api.md

Any API changes must be performed according to the steps listed here:

https://github.com/btcsuite/btcwallet/blob/master/rpc/documentation/serverchanges.md

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartVersionService

func StartVersionService(server *grpc.Server)

StartVersionService creates an implementation of the VersionService and registers it with the gRPC server.

func StartWalletLoaderService

func StartWalletLoaderService(server *grpc.Server, loader *wallet.Loader,
	activeNet *netparams.Params)

StartWalletLoaderService creates an implementation of the WalletLoaderService and registers it with the gRPC server.

func StartWalletService

func StartWalletService(server *grpc.Server, wallet *wallet.Wallet)

StartWalletService creates an implementation of the WalletService and registers it with the gRPC server.

func UseLogger

func UseLogger(l btclog.Logger)

UseLogger sets the logger to use for the gRPC server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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