Skip to content

Commit

Permalink
fixup! Update Bolt 11 default recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bast authored and rustyrussell committed Aug 20, 2020
1 parent c5693d3 commit b4132ff
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions 11-payment-encoding.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,10 @@ A writer:
- MAY include one `x` field.
- if `x` is included:
- SHOULD use the minimum `data_length` possible.
- MAY include one `c` field.
- MUST include one `c` field (`min_final_cltv_expiry`).
- MUST set `c` to the minimum `cltv_expiry` it will accept for the last
HTLC in the route.
- if `c` is included:
- SHOULD use the minimum `data_length` possible.
- SHOULD use the minimum `data_length` possible.
- MAY include one `n` field. (Otherwise performing signature recovery is required)
- MUST set `n` to the public key used to create the `signature`.
- MAY include one or more `f` fields.
Expand Down Expand Up @@ -214,6 +213,8 @@ A reader:
- MUST use the `n` field to validate the signature instead of performing signature recovery.
- if there is a valid `s` field:
- MUST use that as [`payment_secret`](04-onion-routing.md#tlv_payload-payload-format)
- if the `c` field (`min_final_cltv_expiry`) is not provided:
- MUST use an expiry delta of at least 18 when making the payment

### Rationale

Expand Down

0 comments on commit b4132ff

Please sign in to comment.