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

Provide the current status of a transaction for clients #1281

Open
4 tasks
cmwaters opened this issue Apr 3, 2024 · 0 comments · May be fixed by #1287
Open
4 tasks

Provide the current status of a transaction for clients #1281

cmwaters opened this issue Apr 3, 2024 · 0 comments · May be fixed by #1287
Assignees

Comments

@cmwaters
Copy link
Contributor

cmwaters commented Apr 3, 2024

Feature Request

Summary

@ninabarbakadze recently did some phenomenal work on feat: add TxStatus rpc endpoint. This preliminary work indexed committed transactions so users could see that they were committed in a lightweight manner and not need to rely on BroadcastTxCommit or the Tx endpoint + the kv_indexer.

As part of providing greater tracing ability for users transactions is to modify the TxStatus endpoint such that it gives the current status of the transaction. They can be as follows:

  • Unknown(default case)
  • Pending (in the mempool)
  • Committed (in the secondary index in the block store)
  • Rejected (as decided by the mempools rejected cache
  • Evicted (has been kicked out of the mempool because of a TTL or not a high enough fee)

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants