rpcserver+cmd/lncli: implement DecodePayReq

This commit implements the newly added RPC to decode payment requests
passed over the command line or directly via gRPC.

With this tool, users can now examine payment requests they see in the
wild for diagnostic or debugging purposes.
This commit is contained in:
Olaoluwa Osuntokun
2017-01-17 13:39:30 -08:00
parent faae0b3bf2
commit 9662887d2f
4 changed files with 56 additions and 0 deletions

View File

@@ -71,6 +71,7 @@ func main() {
QueryRouteCommand,
GetNetworkInfoCommand,
DebugLevel,
DecodePayReq,
}
if err := app.Run(os.Args); err != nil {