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

feat: partial tx history LW-12070 #1560

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

mkazlauskas
Copy link
Member

Context

Wallets with huge transaction history take a very long time to load

Proposed Solution

Limit # of transactions fetched for initial load

For more details see commits

Important Changes Introduced

This is required to be able to fetch n latest transactions
Not implemented in db-sync provider

Also, fix BlockfrostChainHistoryProvider to
- pass through pagination options
- stop fetching when reach the limit from user specified pagination options
it can be either key hash or script hash
emits transactions that are added to history after initial load
@mkazlauskas mkazlauskas force-pushed the feat/partial-tx-history branch from d89d002 to e2159e1 Compare January 16, 2025 14:24
BaseWallet will load only last n transactions on initial load

BREAKING CHANGE: remove BaseWallet stake pool and drep provider dependency
- add RewardAccountInfoProvider as a new BaseWallet dependency
@mkazlauskas mkazlauskas force-pushed the feat/partial-tx-history branch from e2159e1 to f71835f Compare January 16, 2025 14:58
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.

1 participant