This website requires JavaScript.
Explore
Help
Sign In
akovalenko
/
lnd.xprv
Watch
1
Star
0
Fork
0
You've already forked lnd.xprv
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
d996607470
lnd.xprv
/
lnrpc
/
signrpc
/
config_default.go
7 lines
101 B
Go
Raw
Normal View
History
Unescape
Escape
lnrpc/signrpc: add lnrpc.SubServerDriver for signrpc In this commit, we create a lnrpc.SubServerDriver for signrpc. Note that this file will only have its init() method executed if the proper build flag is on. As a result, only if the build flag is set, will the RPC server be registered, and visible at the packge lnrpc level for the root server to manipulate.
2018-10-23 03:41:14 +03:00
// +build !signrpc
lnrpc/signrpc: create new signrpc package with build-flag guarded config In this commit, we introduce a new sub-package within the greater RPC package. This new sub-package will house a new set of sub-RPC servers to expose experimental features behind build flags for upstream consumers. In this commit, we add the first config for the service, which will simply expose the lnwallet.Signer interface over RPC. In the default file, we have what the config will be if the build tag (signerrpc) is off. In this case, the config parser won't detect any times, and if specified will error out. In the active file, we have the true config that the server will use. With this new set up, we'll exploit these build flags heavily in order to create a generalized framework for adding additional sub RPC servers.
2018-10-23 03:28:12 +03:00
package
signrpc
lnrpc/signrpc: add lnrpc.SubServerDriver for signrpc In this commit, we create a lnrpc.SubServerDriver for signrpc. Note that this file will only have its init() method executed if the proper build flag is on. As a result, only if the build flag is set, will the RPC server be registered, and visible at the packge lnrpc level for the root server to manipulate.
2018-10-23 03:41:14 +03:00
// Config is empty for non-signrpc builds.
lnrpc/signrpc: create new signrpc package with build-flag guarded config In this commit, we introduce a new sub-package within the greater RPC package. This new sub-package will house a new set of sub-RPC servers to expose experimental features behind build flags for upstream consumers. In this commit, we add the first config for the service, which will simply expose the lnwallet.Signer interface over RPC. In the default file, we have what the config will be if the build tag (signerrpc) is off. In this case, the config parser won't detect any times, and if specified will error out. In the active file, we have the true config that the server will use. With this new set up, we'll exploit these build flags heavily in order to create a generalized framework for adding additional sub RPC servers.
2018-10-23 03:28:12 +03:00
type
Config
struct
{
}
Reference in New Issue
Copy Permalink