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

feature/limit offset optional #283

Merged
merged 3 commits into from
Apr 30, 2022
Merged

Conversation

christian-oudard
Copy link
Contributor

@christian-oudard christian-oudard commented Apr 29, 2022

Remove endpoints duplicated due to pagination.

  • Three endpoints had duplicate versions, one for pagination, and one for
    no pagination. Enabled optional pagination for these endpoints.
  • Use u64 to specify limit and offset, converting to i64 only in the DB
    layer.
  • The new default page size (limit value) is 100.
  • Added aliases to redirect deprecated method names.
  • Updated tests and CLI for usage of these endpoints.
  • Updated and cleaned up relevant documentation.

* Three endpoints had duplicate versions, one for pagination, and one for
no pagination. Enabled optional pagination for these endpoints.
* Use u64 to specify limit and offset, converting to i64 only in the DB
  layer.
* The new default page size (limit value) is 100.
* Added aliases to redirect deprecated method names.
* Updated tests and CLI for usage of these endpoints.
* Updated and cleaned up relevant documentation.
@christian-oudard
Copy link
Contributor Author

Unittest failure is due to a flaky test, so it's ignorable.

@briancorbin briancorbin merged commit b230a52 into develop Apr 30, 2022
@briancorbin briancorbin deleted the feature/limit-offset-optional branch April 30, 2022 18:01
briancorbin added a commit that referenced this pull request May 4, 2022
* Fix usage of SQLite database transactions.

We were getting issues because of using deferred transactions for SQLite writes. Fixed the issue by using immediate transactions with exponential backoff.

This strategy allows much higher throughput, with a benchmark creating 100 addresses in 485 milliseconds. Before the fix, we could get less than ten a second before database locked errors occurred.

* Latest migration tester (#281)

* feature/limit offset optional (#283)
briancorbin added a commit that referenced this pull request Jun 2, 2022
* Latest migration tester (#281)

* feature/limit offset optional (#283)

* feature/update-ci-testing (#285)

* Feature/switch-to-github-actions (#289)

* Implement view-key management through CLI. (#290)

* Make .mobconf and rust-toolchain reference mobilecoin submodule (#318)

* Max Spendable MOB (#314)

* Feature/transaction signer service (#282)

* Add faq with precision (#324)

* Add change output for zero change (#323)

* Updating export VO package for normal accounts (#327)

* Docs/fix new updates (#330)

* Feature/vo account balance improvements (#328)

* e2e tests for view only account flow + documentation updates (#333)

* fixed bug (#334)
briancorbin added a commit that referenced this pull request Jun 13, 2022
* Latest migration tester (#281)

* feature/limit offset optional (#283)

* feature/update-ci-testing (#285)

* Feature/switch-to-github-actions (#289)

* Implement view-key management through CLI. (#290)

* Make .mobconf and rust-toolchain reference mobilecoin submodule (#318)

* Max Spendable MOB (#314)

* Feature/transaction signer service (#282)

* Add faq with precision (#324)

* Add change output for zero change (#323)

* Updating export VO package for normal accounts (#327)

* Docs/fix new updates (#330)

* Feature/vo account balance improvements (#328)

* e2e tests for view only account flow + documentation updates (#333)

* fixed bug (#334)

* Implement offline transaction signing in CLI. (#337)

* updating gitignore (#341)

* Add inputn and output validation (#340)

* new release action (#344)

* Update actions to include ARM64 build (M1 Mac) (#351)

* setting db encryption key earlier (#353)

* Fix linker errors related to openssl on Ubuntu 22.04. (#355)

* Support BlockVersion 0->2 and mc v1.2.0 (#291)

* Upgrade mobilecoin submodule to release 1.2.1. (#357)

* only log tx when Token is MOB (#358)

* Update cargo lock for mc v1.2.1 (#360)

* Get TxLogs by range of blocks (#362)

* setting flags for runners for OpenSSL (#364)

* Fix build issue with macOS runners (#365)
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.

2 participants