-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nns): list_neurons supports querying by subaccount (#3592)
# Why This allows users who know the subaccounts of their neurons (i.e. they know the nonce and the principal used when the neurons are created) to specify which neurons they would like to list without needing to know the neuron ids (which are generated at random). # What This adds a new API field to `list_neurons` called `neuron_subaccounts`, which works in the same way that `neuron_ids` works. By specifying which subaccounts the user would like to list, they are able to retrieve neurons in the same way that they also can provide neuron ids. Both of these are compatible, and in the case of overlaps, no duplicates are returned.
- Loading branch information
1 parent
54b7f0e
commit 413a393
Showing
18 changed files
with
363 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.