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

[EPIC] Activity Simplification (Backend) #5801

Open
7 tasks
dlipicar opened this issue Sep 5, 2024 · 1 comment
Open
7 tasks

[EPIC] Activity Simplification (Backend) #5801

dlipicar opened this issue Sep 5, 2024 · 1 comment
Assignees

Comments

@dlipicar
Copy link
Contributor

dlipicar commented Sep 5, 2024

Problem

The whole activity flow is a monster, we cannot ensure its stability and it consumes a lot of RPC calls. We need to simplify it.

Proposal

https://www.notion.so/Activity-Proposals-for-2-31-4ceaea4116714d0080f3aede6b819084

Steps

  • Mark old API as deprecated

Fetching

  • Add DB tables to store raw blockchain data separately from "interpreted" blockchain data and account information
  • Simplify fetching to include detect only recent activity (keep the minimum necessary to trigger balance refreshes)

Storage

  • Add DB tables to store full required information when sending a transaction (bundle + single tx data)
  • Migrate entries from the old multi_transactions and transfers tables to the new ones.
  • Remove old DB tables

Filtering

  • Disable complex filter
@dlipicar dlipicar self-assigned this Sep 5, 2024
@dlipicar dlipicar changed the title [EPIC] Activity Simplification [EPIC] Activity Simplification (Backend) Sep 5, 2024
@friofry
Copy link
Contributor

friofry commented Sep 11, 2024

Added subtask #5825 for the storage part

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants