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

Coordinator keeps internal mempool state #12

Open
f321x opened this issue Aug 26, 2024 · 0 comments
Open

Coordinator keeps internal mempool state #12

f321x opened this issue Aug 26, 2024 · 0 comments
Labels
enhancement New feature or request upstream
Milestone

Comments

@f321x
Copy link
Collaborator

f321x commented Aug 26, 2024

The coordinator currently implements its own mempool to lookup the bond inputs for malicious spends. This increases memory usage and seems inefficient. Luckily this is not necessary anymore as Bitcoin Core implements the RPC call gettxspendingprevout since v25.0.0 which offers exactly this functionality. Unfortunately the bitcoincore_rpc rust crate used in the coordinator doesn't offer this API call yet. It would be possible to implement a custom API call, or even better, do an upstream PR to bitcoincore_rpc to implement this API call.

@f321x f321x added enhancement New feature or request upstream labels Aug 26, 2024
@f321x f321x added this to the v0.1 milestone Aug 26, 2024
@RoboSats RoboSats deleted a comment Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request upstream
Projects
None yet
Development

No branches or pull requests

1 participant