forked from nervosnetwork/fiber
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow choosing the hash algorithm when adding the HTLC output. Related PR: nervosnetwork/fiber-scripts#6 - Added a field `hash_algorithm` when adding TLC - Save the `hash_algorithm` in the internal TLC struct - Check hash against preimage using the saved `hash_algorithm` - Added `hash_algorithm` in the invoice as a new attribute
- Loading branch information
Showing
11 changed files
with
366 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.