-
Notifications
You must be signed in to change notification settings - Fork 59
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
account.get_utxo pagination #1436
Conversation
…o ddos-account-utxo
|
||
Repo.all(query) | ||
@spec get_utxos(keyword) :: OMG.Utils.Paginator.t() | ||
def get_utxos(params) do |
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.
Very clean refactor. I like!
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
defmodule OMG.WatcherRPC.Web.Validator.AccountConstraints do |
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.
Nice! Thank you!
@@ -0,0 +1,5 @@ | |||
Feature: Watcher info | |||
|
|||
Scenario: Alice want to use watcher info api |
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.
Not updated yet I think, so un-resolving...
#1274
Overview
Add pagination for account.get_utxos
Changes
Describe your changes and implementation choices. More details make PRs easier to review.
account.get_utxo
to acceptpage
andlimit
Testing