-
Notifications
You must be signed in to change notification settings - Fork 219
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
Add rpc call to get current addresses for our node #857
Conversation
("h,help", "help", cxxopts::value<bool>()) | ||
("j,json", "output in json", cxxopts::value<bool>()) |
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.
based on feedback from @jagerman, the non-json output isn't that useful, so make it the default.
8fe26b9
to
b9a3ca9
Compare
llarp/config/config.cpp
Outdated
#ifdef _WIN32 | ||
fs::path homedir = fs::path(getenv("APPDATA")); | ||
#else | ||
fs::path homedir = fs::path(getenv("HOME")); | ||
#endif |
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.
can these be const
?
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.
yes
looks like ci wants the package: |
50850e9
to
6d1769b
Compare
we should make it look for the libcurl in |
Glad to see this. |
Builds on top of #856
Also, add the ability to use libcurl to hit the jsonrpc endpoint (the libcurl dependency is optional, if it's not available on the system, support simply isn't compiled in).