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

fix(core-api): fix wallet/transactions confirmations and timestamp fields #3761

Merged
merged 26 commits into from
Jun 2, 2020

Conversation

rainydio
Copy link
Contributor

@rainydio rainydio commented Jun 1, 2020

Summary

Includes #3733 (should be merged first), fixes #3758 and #3759, and comment in #3741. All related to search and api.

Similarly to #3733 new set of methods ...joinBlock are introduced to TransactionHistoryService. Joined block data is then used to calculate confirmations and timestamp in api response.

Implemented address criteria that searches by both senderId and recipientId. Note that it is address, not addresses which similar to other fields (recipientId, not recipientIds), but incompatible with v2.6.

Checklist

  • Tests
  • Ready to be merged

@rainydio rainydio marked this pull request as ready for review June 1, 2020 12:57
air1one
air1one previously approved these changes Jun 1, 2020
packages/core-database/src/transaction-filter.ts Outdated Show resolved Hide resolved
@faustbrian faustbrian merged commit 666ba67 into develop Jun 2, 2020
@ghost ghost deleted the fix/core-api/wallet-transactions branch June 2, 2020 02:11
@ghost ghost removed the Status: Needs Review label Jun 2, 2020
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.

None yet

3 participants