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

Add new functionalities to improve mempool tracking efficiency #2174

Open
arobsn opened this issue Aug 1, 2024 · 1 comment
Open

Add new functionalities to improve mempool tracking efficiency #2174

arobsn opened this issue Aug 1, 2024 · 1 comment
Labels
Bounty - 1 gram of gold C-feature Category: Feature request or PR

Comments

@arobsn
Copy link
Member

arobsn commented Aug 1, 2024

As discussed in discord, new functionalities are necessary for efficient mempool tracking for backend applications such as explorers and off-chain bots.

Modify info endpoint

  1. Add lastMempoolUpdate timestamp property to /info/ endpoint

Add new mempool endpoints

  1. GET /transactions/unconfirmed/transactionIds - returns an array containing TransactionId of all transactions present in the mempool
  2. POST /transactions/unconfirmed/byTransactionIds - accepts an array of TransactionId in its body and returns corresponding transactions, if present in the mempool
@zackbalbin
Copy link

#2177

@kushti kushti added C-feature Category: Feature request or PR Bounty - 1 gram of gold labels Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bounty - 1 gram of gold C-feature Category: Feature request or PR
Projects
None yet
Development

No branches or pull requests

3 participants