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

Improve txList processing #1355

Merged
merged 15 commits into from
Jan 29, 2019
Merged

Improve txList processing #1355

merged 15 commits into from
Jan 29, 2019

Conversation

plondon
Copy link
Contributor

@plondon plondon commented Jan 11, 2019

Description

Trying to improve performance of txlist. This moves the processing logic from the selector to the saga.

  • fix xlm tx list issue
  • transaction notes
  • fix broken tests
  • search by transaction note

screen shot 2019-01-20 at 9 04 39 am

Change Type

Please enter one or more of the following:

  • Upgrades

Testing Steps

Use a heavy wallet with a lot of transactions and accounts

Code Checklist

  • Code compiles successfully (verified via yarn start)
  • README.md and other documentation is updated as needed

@plondon
Copy link
Contributor Author

plondon commented Jan 14, 2019

#1128

TXNotes.selectNote(hash, Wallet.selectTxNotes(wallet)) ||
getAddressLabel(to, state).getOrElse('')

const getPartnerLabel = hash => getBuySellTxHashMatch(state, hash)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Description/Label should possibly be moved to another service/selector

@plondon plondon changed the title POC: Improve txList processing Improve txList processing Jan 18, 2019
@plondon
Copy link
Contributor Author

plondon commented Jan 24, 2019

@tony-blockchain need some help with the provider tests, the closest I got was in bch sagas spec, it's the state change test that is really tough.

@tony-blockchain tony-blockchain self-assigned this Jan 26, 2019
Copy link
Contributor

@tony-blockchain tony-blockchain left a comment

Choose a reason for hiding this comment

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

let me

  1. check wether we can reactively select the labels
  2. uncomment and update tests

@schnogz schnogz merged commit 91c6c67 into development Jan 29, 2019
@schnogz schnogz deleted the feat/txlist-performance branch January 29, 2019 17:32
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 34.809% when pulling 1ce975b on feat/txlist-performance into c4f3aca on development.

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

4 participants