From 97b7eb226d3b78b1f5700bdc311da180bbb2865d Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 8 Mar 2018 17:06:28 -0800 Subject: [PATCH] lnrpc: update photo comments to fix api.lightning.community tool --- lnrpc/rpc.pb.go | 8 ++++---- lnrpc/rpc.proto | 4 ++-- lnrpc/rpc.swagger.json | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lnrpc/rpc.pb.go b/lnrpc/rpc.pb.go index 057b216c..5ed38eb4 100644 --- a/lnrpc/rpc.pb.go +++ b/lnrpc/rpc.pb.go @@ -4109,7 +4109,7 @@ type WalletUnlockerClient interface { // method should be used to commit the newly generated seed, and create the // wallet. GenSeed(ctx context.Context, in *GenSeedRequest, opts ...grpc.CallOption) (*GenSeedResponse, error) - // * lncli: `init` + // * // InitWallet is used when lnd is starting up for the first time to fully // initialize the daemon and its internal wallet. At the very least a wallet // password must be provided. This will be used to encrypt sensitive material @@ -4177,7 +4177,7 @@ type WalletUnlockerServer interface { // method should be used to commit the newly generated seed, and create the // wallet. GenSeed(context.Context, *GenSeedRequest) (*GenSeedResponse, error) - // * lncli: `init` + // * // InitWallet is used when lnd is starting up for the first time to fully // initialize the daemon and its internal wallet. At the very least a wallet // password must be provided. This will be used to encrypt sensitive material @@ -4473,7 +4473,7 @@ type LightningClient interface { // UpdateChannelPolicy allows the caller to update the fee schedule and // channel policies for all channels globally, or a particular channel. UpdateChannelPolicy(ctx context.Context, in *PolicyUpdateRequest, opts ...grpc.CallOption) (*PolicyUpdateResponse, error) - // * lncli: `forwardinghistory` + // * lncli: `fwdinghistory` // ForwardingHistory allows the caller to query the htlcswitch for a record of // all HTLC's forwarded within the target time range, and integer offset // within that time range. If no time-range is specified, then the first chunk @@ -5180,7 +5180,7 @@ type LightningServer interface { // UpdateChannelPolicy allows the caller to update the fee schedule and // channel policies for all channels globally, or a particular channel. UpdateChannelPolicy(context.Context, *PolicyUpdateRequest) (*PolicyUpdateResponse, error) - // * lncli: `forwardinghistory` + // * lncli: `fwdinghistory` // ForwardingHistory allows the caller to query the htlcswitch for a record of // all HTLC's forwarded within the target time range, and integer offset // within that time range. If no time-range is specified, then the first chunk diff --git a/lnrpc/rpc.proto b/lnrpc/rpc.proto index 97910f0f..31e2dae1 100644 --- a/lnrpc/rpc.proto +++ b/lnrpc/rpc.proto @@ -44,7 +44,7 @@ service WalletUnlocker { }; } - /** lncli: `init` + /** InitWallet is used when lnd is starting up for the first time to fully initialize the daemon and its internal wallet. At the very least a wallet password must be provided. This will be used to encrypt sensitive material @@ -531,7 +531,7 @@ service Lightning { }; } - /** lncli: `forwardinghistory` + /** lncli: `fwdinghistory` ForwardingHistory allows the caller to query the htlcswitch for a record of all HTLC's forwarded within the target time range, and integer offset within that time range. If no time-range is specified, then the first chunk diff --git a/lnrpc/rpc.swagger.json b/lnrpc/rpc.swagger.json index 76797407..7cc21d43 100644 --- a/lnrpc/rpc.swagger.json +++ b/lnrpc/rpc.swagger.json @@ -391,7 +391,7 @@ }, "/v1/initwallet": { "post": { - "summary": "* lncli: `init`\nInitWallet is used when lnd is starting up for the first time to fully\ninitialize the daemon and its internal wallet. At the very least a wallet\npassword must be provided. This will be used to encrypt sensitive material\non disk.", + "summary": "* \nInitWallet is used when lnd is starting up for the first time to fully\ninitialize the daemon and its internal wallet. At the very least a wallet\npassword must be provided. This will be used to encrypt sensitive material\non disk.", "description": "In the case of a recovery scenario, the user can also specify their aezeed\nmnemonic and passphrase. If set, then the daemon will use this prior state\nto initialize its internal wallet.\n\nAlternatively, this can be used along with the GenSeed RPC to obtain a\nseed, then present it to the user. Once it has been verified by the user,\nthe seed can be fed into this RPC in order to commit the new wallet.", "operationId": "InitWallet", "responses": { @@ -662,7 +662,7 @@ }, "/v1/switch": { "post": { - "summary": "* lncli: `forwardinghistory`\nForwardingHistory allows the caller to query the htlcswitch for a record of\nall HTLC's forwarded within the target time range, and integer offset\nwithin that time range. If no time-range is specified, then the first chunk\nof the past 24 hrs of forwarding history are returned.", + "summary": "* lncli: `fwdinghistory`\nForwardingHistory allows the caller to query the htlcswitch for a record of\nall HTLC's forwarded within the target time range, and integer offset\nwithin that time range. If no time-range is specified, then the first chunk\nof the past 24 hrs of forwarding history are returned.", "description": "A list of forwarding events are returned. The size of each forwarding event\nis 40 bytes, and the max message size able to be returned in gRPC is 4 MiB.\nAs a result each message can only contain 50k entries. Each response has\nthe index offset of the last entry. The index offset can be provided to the\nrequest to allow the caller to skip a series of records.", "operationId": "ForwardingHistory", "responses": {