mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
cfd6a0d860
In this commit, we implement the full RouterServer as specified by the newly added sub-service as defined in router.proto. This new sub-server has its own macaroon state (but overlapping permissions which can be combined with the current admin.macaroon), and gives users a simplified interface for a gRPC service that is able to simply send payment. Much of the error reporting atm, is a place holder, and a follow up commit will put up the infrastructure for a proper set of errors.
8 lines
181 B
Go
8 lines
181 B
Go
// +build !routerrpc
|
|
|
|
package routerrpc
|
|
|
|
// Config is the default config for the package. When the build tag isn't
|
|
// specified, then we output a blank config.
|
|
type Config struct{}
|