phoenix icon indicating copy to clipboard operation
phoenix copied to clipboard

Provide the possibility to load more than 500 transactions and/or aliases

Open ohager opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. Currently, the wallet does only show up to 500 transactions and/or aliases, as the nodes API returns at maximum 500 items per call.

Describe the solution you'd like Provide a possibility to return more than this maximum. This is possible as the API allows "pagination". The solution is to show a button (like in Google Image Search) to load more items. In case a user wants to load more he can do so.

As transactions are immutable the loaded tx can also be stored locally. This would not work with aliases, as these are moving data.

Reported in #1589

ohager avatar Oct 22 '21 11:10 ohager

I tested this for transactions... but I figured out that we hit caching limits as lokijs (the used in-mem databasae) stores data into localstorage which is limited to 5MiB only. To support loading/caching of much more tx lokijs should be substituted by a indexeddb solution, i.e. dexie

ohager avatar Feb 02 '23 18:02 ohager