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:
Any API changes must be performed according to the steps listed here:
RegisterServices registers implementations of each gRPC service and registers it with the server. Not all service are ready to be used after registration.
ServiceReady returns nil when the service is ready and a gRPC error when not.
StartWalletLoaderService creates an implementation of the WalletLoaderService and registers it with the gRPC server.
StartWalletService creates an implementation of the WalletService and registers it with the gRPC server.
UseLogger sets the logger to use for the gRPC server.