Skip to content

Instantly share code, notes, and snippets.

@subhramazumdar
Last active June 8, 2020 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save subhramazumdar/cf7b043a73db136f6a23091d20e51751 to your computer and use it in GitHub Desktop.
Save subhramazumdar/cf7b043a73db136f6a23091d20e51751 to your computer and use it in GitHub Desktop.
To avoid the problem of reverse-griefing, we introduce an extra round before intiating the locking phase along with an extra commitment.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@subhramazumdar
Copy link
Author

So it will be like for R commitment tx definition: Input : funding tx, output: output 0: 49 msat (to spend by C), output 1: 44 msat (to be spend by R after block relative time), output2: HTLC(the corresponding script with R), output 3-HTLC1(the corresponding script with R)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment