-
-
Notifications
You must be signed in to change notification settings - Fork 3.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
src: add net type and daemon address to wallet rpc #9406
base: master
Are you sure you want to change the base?
src: add net type and daemon address to wallet rpc #9406
Conversation
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.
Please bump WALLET_RPC_VERSION_MINOR
@selsta I've increased WALLET_RPC_VERSION_MINOR from 27 to 28 |
Please squash two commits. And push it as a same commit. |
dbcbb78
to
56ca0a3
Compare
I have successfully squashed the two commits and pushed them as a single commit, as per your request. |
Why do clients need to know this info? |
{ | ||
std::string daemon_address; | ||
std::string nettype; | ||
bool mainnet; |
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.
It rarely makes sense to include outputs of pure functions of response data in a response; exceptions can be made in case of complicated functions, but these boolean values are all trivially derived from the nettype (as can be seen by the code which sets them).
#8524