Skip to content

Conversation

cfromknecht
Copy link
Contributor

This PR is being split from #384, and adds most of the wallet features required to sign outgoing HTLCs that will be incubated in the utxo nursery. The constants are derived from prior calculations made in BOLT-05.

We create a separate, public method for signing htlc success transactions so that it matches the same signature of our other witness generation functions. The txn version, sig cache, and sequence number are already set by the caller in the context of the onchain subsystems.

@cfromknecht
Copy link
Contributor Author

These commits were merged in with #384

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.

1 participant