Skip to content

Commit

Permalink
Fixes to existing spec
Browse files Browse the repository at this point in the history
  • Loading branch information
joostjager committed Jun 26, 2020
1 parent 9e8e29a commit bfc66e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 03-transactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,7 @@ committed HTLCs:
in [Commitment Transaction](#commitment-transaction).
1. Calculate which committed HTLCs need to be trimmed (see [Trimmed Outputs](#trimmed-outputs)).
2. Calculate the base [commitment transaction fee](#fee-calculation).
3. Subtract this base fee from the funder (either `to_local` or `to_remote`),
with a floor of 0 (see [Fee Payment](#fee-payment)).
3. Subtract this base fee from the funder (either `to_local` or `to_remote`).
3. For every offered HTLC, if it is not trimmed, add an
[offered HTLC output](#offered-htlc-outputs).
4. For every received HTLC, if it is not trimmed, add an
Expand Down Expand Up @@ -451,6 +450,7 @@ These pubkeys are simply generated by addition from their base points:
pubkey = basepoint + SHA256(per_commitment_point || basepoint) * G

The `localpubkey` uses the local node's `payment_basepoint`;
The `remotepubkey` uses the remote node's `payment_basepoint`;
the `local_htlcpubkey` uses the local node's `htlc_basepoint`;
the `remote_htlcpubkey` uses the remote node's `htlc_basepoint`;
the `local_delayedpubkey` uses the local node's `delayed_payment_basepoint`;
Expand Down

0 comments on commit bfc66e5

Please sign in to comment.