Skip to content

Instantly share code, notes, and snippets.

@u2
Created May 13, 2019 01:49
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 u2/f71ff873f7fc6dc96357618d59edffcf to your computer and use it in GitHub Desktop.
Save u2/f71ff873f7fc6dc96357618d59edffcf to your computer and use it in GitHub Desktop.
lightning
revoked commitment transaction
@u2
Copy link
Author

u2 commented May 13, 2019

 If
they do not broadcast their most recent version, they will be penalized by
taking all the funds in the channel and giving it to the counterparty. Since
their own funds are encumbered in their own RSMC, they will only be
able to claim their funds after some set number of confirmations after the
Commitment Transaction has been included in a block (in our example,
1000 confirmations). If they do broadcast their most recent Commitment
Transaction, there should be no revocation transaction superseding the
revocable transaction, so they will be able to receive their funds after some
set amount of time (1000 confirmations)

这里应该不能惩罚吧?

@u2
Copy link
Author

u2 commented May 13, 2019

P24

@u2
Copy link
Author

u2 commented May 13, 2019

3.3.5 Process for Creating Revocable Commitment Transactions

流程再看看。

@u2
Copy link
Author

u2 commented May 13, 2019

@u2
Copy link
Author

u2 commented May 13, 2019

到P32

@u2
Copy link
Author

u2 commented May 13, 2019

@u2
Copy link
Author

u2 commented May 14, 2019

第四章后面暂时没有看,关于“跳”部分暂时不实现。

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