Skip to content
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

wallet-rpc: filter getbalance response by address index #4171

Merged
merged 1 commit into from
Aug 15, 2018

Conversation

stoffu
Copy link
Contributor

@stoffu stoffu commented Jul 23, 2018

No description provided.

@@ -62,8 +62,10 @@ namespace wallet_rpc
struct request
{
uint32_t account_index;
std::set<uint32_t> address_index;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe best to call it address_indices ? Also there's a RPC version number for the wallet now too. Seemed like a good idea at the time :)

@stoffu stoffu force-pushed the wrpc-getbalance-filter branch from 10645fa to 9127a8b Compare July 31, 2018 11:46
@stoffu
Copy link
Contributor Author

stoffu commented Jul 31, 2018

The RPC get_address also has an argument name address_index which represents a set of indices (perhaps I did this naming?), but arguably making it plural address_indices is less confusing, so changed anyway. Not sure if doing the renaming for get_address is warranted :)

Also bumped the wallet RPC to 1.2. FWIW another PR #4170 bumps it to 2.0, so I'll need to resolve the merge conflict later also 1.2.

@luigi1111 luigi1111 merged commit 9127a8b into monero-project:master Aug 15, 2018
luigi1111 added a commit that referenced this pull request Aug 15, 2018
9127a8b wallet-rpc: filter getbalance response by address index (stoffu)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants