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 small machines to create transactions #192

Open
Sword-Smith opened this issue Oct 1, 2024 · 0 comments
Open

Allow small machines to create transactions #192

Sword-Smith opened this issue Oct 1, 2024 · 0 comments

Comments

@Sword-Smith
Copy link
Member

Sword-Smith commented Oct 1, 2024

This logic in create_transaction_from_data_worker is expensive to execute:

let proof = TransactionProof::ProofCollection(ProofCollection::produce(&primitive_witness));

Adding a path through this code where only the lock script satisfaction is proven will allow weak machines to initiate (non-privacy-preserving) transactions. Let's add an Incomplete variant to ProofCollection that is used when only the lock scripts are proven.

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

No branches or pull requests

1 participant