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

Allow building of coinbase transactions with invalid transaction proofs #242

Closed
Sword-Smith opened this issue Nov 15, 2024 · 0 comments
Closed
Labels

Comments

@Sword-Smith
Copy link
Member

Since we have to build valid SingleProofs everytime we build a transaction that goes into a block, tests of this logic are either inflexible, as proof have to be stored on a proof server, or they're very slow.

The function mine_block_to_wallet_invalid_block_proof should not just make invalid block proofs but also invalid transaction proofs, for both merged transactions and for coinbase transactions.

aszepieniec added a commit that referenced this issue Dec 6, 2024
Allow caller to specify proof quality of coinbase transaction. This
change has the benefit of allowing tests that do need coinbase
transactions but not necessarily with valid proofs.

This closes #242.

Co-authored-by: Thorkil Schmidiger <thor@neptune.cash>
Sword-Smith added a commit that referenced this issue Dec 6, 2024
Allow caller to specify proof quality of coinbase transaction. This
change has the benefit of allowing tests that do need coinbase
transactions but not necessarily with valid proofs.

This closes #242.

Co-authored-by: Thorkil Schmidiger <thor@neptune.cash>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant