-
Notifications
You must be signed in to change notification settings - Fork 103
Add commit_hash
field to GetInfo
response
#1034
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,13 @@ message GetInfoRequest { | |
} | ||
|
||
message GetInfoResponse { | ||
// The version of the LiTd software that the node is running. | ||
// The application version of the LiTd software running on the node, | ||
// following the Semantic Versioning 2.0.0 specification | ||
// (http://semver.org/). | ||
string version = 1; | ||
|
||
// The Git commit hash the LiTd binary build was based on. If the build had | ||
// uncommited changes, this field will contain the most recent commit hash, | ||
// suffixed by "-dirty". | ||
string commit_hash = 2; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let me know if you think There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Staying consistent is probably better, I would have chosen "revision" I guess. |
||
} |
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.
Note that we do not change the:
$(LND_PKG)/build.Commit=lightning-terminal-$(COMMIT)
above here, so that the
Commit
in thegetinfo
response throughlncli
remains the same. I think it doesn't make sense to change this until we also change the output ofgetinfo
inlnd
.