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 support for Sig Op calculation and adjusted sizes #42

Closed
softsimon opened this issue Sep 14, 2023 · 0 comments · Fixed by #43
Closed

Add support for Sig Op calculation and adjusted sizes #42

softsimon opened this issue Sep 14, 2023 · 0 comments · Fixed by #43
Assignees

Comments

@softsimon
Copy link
Member

What we have to do now in the NodeJS backend should have native support in electrs.

We currently only support sigop calculation and adjusted vsize/weight on mempool-transactions, but on mined transactions we lose this. When implemented in Electrs we would be able to see the adjusted vsizes and sigop data in the frontend for mined transactions. This will also affect the CPFP clusters.

Reference:
https://github.com/mempool/mempool/blob/master/backend/src/api/transaction-utils.ts#L147

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 a pull request may close this issue.

2 participants