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

fix spending of immature coinbase utxos #1637

Conversation

Oscar-Pepper
Copy link
Contributor

No description provided.

@zancas
Copy link
Member

zancas commented Jan 31, 2025

I'm not convinced that we should add this workaround, if it's just to support the edge case of receiving transparent coinbase transactions.

I appreciate the effort, but maybe we should prioritize mining-to-orchard in zebrad instead.

@zancas
Copy link
Member

zancas commented Jan 31, 2025

I stand corrected. I misunderstood the purpose.

Would this change be stable across the pepper-sync integration, if it landed?

@Oscar-Pepper
Copy link
Contributor Author

yes but we actually will not need to port this to 2.0 as it will have a better solution to this issue and will not be using this transparent output type anyway

Copy link
Collaborator

@pacu pacu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Untested but looks good to me.

Non-blocking: add a test to verify that output that are not coinbase don't get flagged as such

@Oscar-Pepper Oscar-Pepper merged commit ace4454 into zingolabs:dev Feb 14, 2025
17 checks passed
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.

3 participants