Skip to content

Rename a's keys as local's keys and b's keys as remote's keys#633

Merged
TheBlueMatt merged 8 commits intolightningdevkit:masterfrom
ariard:2020-05-rename-keys-var
Sep 14, 2020
Merged

Rename a's keys as local's keys and b's keys as remote's keys#633
TheBlueMatt merged 8 commits intolightningdevkit:masterfrom
ariard:2020-05-rename-keys-var

Conversation

@ariard
Copy link

@ariard ariard commented May 29, 2020

Downstreaming this while working on anchor, follow-up of #613. This is an attempt to make keys variable names less confusing based on script semantic as an invariant.

Variables should be named according to the script semantic which is
an invariant with regards to generating a local or remote commitment
transaction.

I.e a local_delayed_payment key will always offer to the owner
of the commitment transaction to be paid back after a given delay.

Loading
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.

3 participants