-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpc: update protoc to 3.6.0 #1467
Conversation
Good catch! I've updated the |
lnrpc/rpc.swagger.json
Outdated
@@ -17,7 +17,8 @@ | |||
"paths": { | |||
"/v1/balance/blockchain": { | |||
"get": { | |||
"summary": "* lncli: `walletbalance`\nWalletBalance returns total unspent outputs(confirmed and unconfirmed), all\nconfirmed unspent outputs and all unconfirmed unspent outputs under control\nof the wallet.", | |||
"summary": "*\nGenSeed is the first method that should be used to instantiate a new lnd\ninstance. This method allows a caller to generate a new aezeed cipher seed\ngiven an optional passphrase. If provided, the passphrase will be necessary\nto decrypt the cipherseed to expose the internal wallet seed.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look right. The description for WalletBalance
is being overwritten with GenSeed
's.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for catching this. Investigating. It seems that the root cause is grpc-ecosystem/grpc-gateway#688
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, need to figure out why this is happening...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The easiest solution is to use the latest grpc-gateway
v1.4.1
.
lnrpc/rpc.swagger.json
Outdated
@@ -34,7 +35,8 @@ | |||
}, | |||
"/v1/balance/channels": { | |||
"get": { | |||
"summary": "* lncli: `channelbalance`\nChannelBalance returns the total funds available across all open channels\nin satoshis.", | |||
"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.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here w.r.t. the description being overwritten. There are a couple more cases below.
why not upgrade to v3.6.0.1? |
@ysangkok Done. |
Needs rebase! |
Done. ;-) By the way, I'm rebasing this PR every few days. |
Looks like maybe some gRPC behavior that we depend on was modified?
|
Yeah I get that consistently now. |
#2055 has been merged which upgraded gRPC and also fixed the issue in the RPC implementation for |
@maurycy It is not important to me, but I just wanted to note that I mentioned v3.6.0.1, not v3.6.0. Furthermore, v3.6.1 has now been released. But again, it is not important to me. Just wanted to let you know because I found it puzzling how you chose v3.6.0 and not v3.6.0.1, even after v3.6.0.1 had been released. At the time of my note, v3.6.1 was not released yet. |
ref #1362