Skip to content

Commit

Permalink
Use full public keys
Browse files Browse the repository at this point in the history
  • Loading branch information
thomash-acinq authored and rustyrussell committed Aug 1, 2022
1 parent 6b0efd8 commit f451fa8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion 01-messaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ The following convenience types are also defined:
* `signature`: a 64-byte bitcoin Elliptic Curve signature
* `bip340sig`: a 64-byte bitcoin Elliptic Curve Schnorr signature as per [BIP-340](https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki)
* `point`: a 33-byte Elliptic Curve point (compressed encoding as per [SEC 1 standard](http://www.secg.org/sec1-v2.pdf#subsubsection.2.3.3))
* `point32`: a 32-byte x-only Elliptic Curve point.
* `short_channel_id`: an 8 byte value identifying a channel (see [BOLT #7](07-routing-gossip.md#definition-of-short-channel-id))
* `bigsize`: a variable-length, unsigned integer similar to Bitcoin's CompactSize encoding, but big-endian. Described in [BigSize](#appendix-a-bigsize-test-vectors).
* `utf8`: a byte as part of a UTF-8 string. A writer MUST ensure an array of these is a valid UTF-8 string, a reader MAY reject any messages containing an array of these which is not a valid UTF-8 string.
Expand Down
8 changes: 4 additions & 4 deletions 12-offer-encoding.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ The human-readable prefix for offers is `lno`.
* [`tu64`:`max`]
1. type: 30 (`node_id`)
2. data:
* [`point32`:`node_id`]
* [`point`:`node_id`]
1. type: 54 (`send_invoice`)
1. type: 34 (`refund_for`)
2. data:
Expand Down Expand Up @@ -354,7 +354,7 @@ invoices is `lnr`.
* [`tu64`:`quantity`]
1. type: 38 (`payer_key`)
2. data:
* [`point32`:`key`]
* [`point`:`key`]
1. type: 39 (`payer_note`)
2. data:
* [`...*utf8`:`note`]
Expand Down Expand Up @@ -490,7 +490,7 @@ using the `onion_message` `invoice` field.
* [`...*utf8`:`issuer`]
1. type: 30 (`node_id`)
2. data:
* [`point32`:`node_id`]
* [`point`:`node_id`]
1. type: 32 (`quantity`)
2. data:
* [`tu64`:`quantity`]
Expand All @@ -499,7 +499,7 @@ using the `onion_message` `invoice` field.
* [`sha256`:`refunded_payment_hash`]
1. type: 38 (`payer_key`)
2. data:
* [`point32`:`key`]
* [`point`:`key`]
1. type: 39 (`payer_note`)
2. data:
* [`...*utf8`:`note`]
Expand Down

0 comments on commit f451fa8

Please sign in to comment.