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

Ensure transaction transmissibility due to HTLC signature-creation requirements by limiting transaction's asset UTXO input count #1149

Open
dstadulis opened this issue Oct 11, 2024 · 1 comment
Assignees

Comments

@dstadulis
Copy link
Collaborator

dstadulis commented Oct 11, 2024

Limiting UTXOs in Funding Output:

Reason: Ensure conformance with message-size limits on protocol level
Cause:
- Each HTLC may reference multiple asset UTXOs from funding output
- Each referenced input needs a signature, increasing transmission data
Alternative Solutions:
- Implement SIGHASH_NOINPUT on protocol layer
- Allows sending second-level signatures alongside HTLCs
- Requires stable pkScript for next commitment (achieved with per-commitment-secret)
- Limit total number of UTXOs within funding output
- Asset ID is not the limiting factor, but rather total UTXO count

[Original commentary]

@dstadulis
Copy link
Collaborator Author

due to wire message limit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants