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

SPIKE: Namadillo: Tx processing in the background #1071

Open
jurevans opened this issue Sep 8, 2024 · 0 comments
Open

SPIKE: Namadillo: Tx processing in the background #1071

jurevans opened this issue Sep 8, 2024 · 0 comments
Assignees
Labels
App: Namadillo needs discussion in issue Issue needs to be discussed before PR can be reviewed

Comments

@jurevans
Copy link
Collaborator

jurevans commented Sep 8, 2024

We should investigate using a worker to handle Tx build calls in the background (especially for MASP transfers).

  • Should background building happen in a Service Worker, where the lifespan of the service worker can survive past that of a tab? Or instead just use a Web Worker or Shared Worker?
  • Perhaps we could sync notifications across tabs (pending Tx - issue once Tx is building in SW), but only broadcast on a single tab: If the user closes the window, and build Tx continues in the background, we could potentially retrieve it to broadcast, but that needs some thought
  • RE: SPIKE: Multithreading in WASM #1059 - a multithreading SDK wasm should still behave the same way if a MASP tx build is issued from within the SW

NOTE We could make services generic enough that we could also do background processing of IBC transfers, where any IBC tx in progress can later update when applied to destination chain.

@jurevans jurevans added App: Namadillo needs discussion in issue Issue needs to be discussed before PR can be reviewed labels Sep 8, 2024
@jurevans jurevans self-assigned this Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App: Namadillo needs discussion in issue Issue needs to be discussed before PR can be reviewed
Projects
None yet
Development

No branches or pull requests

1 participant