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

Update web-client transaction-getter to handle known transactions like the PoW client did #2218

Open
wants to merge 2 commits into
base: albatross
Choose a base branch
from

Conversation

sisou
Copy link
Member

@sisou sisou commented Feb 15, 2024

The PoW client by @mar-v-in did some genius handling of known transactions, which can be optionally passed to the client's getTransactionsByAddress method.

It, and now this client too, make sure all known transactions are included in the receipts, unconfirmed known transactions are queried again (and confirmed if they are, returned as expired if they have expired), pending or unsent transactions are re-broadcast, known transactions not in the receipts are also rechecked.

Pull request checklist

  • All tests pass. The project builds and runs.
  • I have resolved any merge conflicts.
  • I have resolved all clippy and rustfmt warnings.

@sisou sisou requested a review from mar-v-in February 15, 2024 16:07
@sisou sisou self-assigned this Feb 15, 2024
@sisou sisou force-pushed the soeren/wasm-tx-history-compat branch from 2371709 to a140500 Compare May 17, 2024 10:10
sisou added 2 commits May 20, 2024 18:10
Handle known transactions: re-check them for inclusion, re-send new/pending ones.
@jsdanielh jsdanielh force-pushed the soeren/wasm-tx-history-compat branch from a140500 to 83e073c Compare May 20, 2024 16:11
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.

None yet

1 participant