You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.
We can create a function which iterates over transactions once, and accepts multiple filter functions in pipeline and returns the result once. this saves us from ending up to multiple redundant iterations over all the transactions with every beat of metronome.
Actual behaviour
Presently we filter transactions 3 times for 3 similar goals:
To get the list recent of transactions with vote type.
To get the list recent of transactions with register as delegate type.
To update the number of confirmations
Where all these happen
in store/middlewares/account.js
The text was updated successfully, but these errors were encountered:
Expected behaviour
We can create a function which iterates over transactions once, and accepts multiple filter functions in pipeline and returns the result once. this saves us from ending up to multiple redundant iterations over all the transactions with every beat of metronome.
Actual behaviour
Presently we filter transactions 3 times for 3 similar goals:
Where all these happen
in
store/middlewares/account.js
The text was updated successfully, but these errors were encountered: