mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-11 01:27:58 +01:00
doc: fix sendonionmessage documentation.
It's a low-level interface now, expecting you to build your own TLVs. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reported-by: @valentinewallace
This commit is contained in:
parent
a8aa9bd5ae
commit
508b8cb54a
1 changed files with 2 additions and 9 deletions
|
@ -6,7 +6,7 @@ SYNOPSIS
|
|||
|
||||
**(WARNING: experimental-onion-messages only)**
|
||||
|
||||
**sendonionmessage** *hops* [*reply_path*]
|
||||
**sendonionmessage** *first_id* *blinding* *hops*
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
|
@ -16,14 +16,7 @@ the lightning network. These are currently used by *offers* to request
|
|||
and receive invoices.
|
||||
|
||||
*hops* is an array of json objects: *id* as a public key of the node,
|
||||
and either *rawtlv* containing a hexidecimal TLV to include, or any of
|
||||
the fields *short_channel_id*, *blinding*, *enctlv*, *invoice*,
|
||||
*invoice_request* and *invoice_error* to construct the onionmessage
|
||||
TLV with.
|
||||
|
||||
*reply_path* is a json object, containing a pubkey *blinding*, and an
|
||||
array *path* of objects containing *id* (a pubkey) and *enctlv* (a hex
|
||||
value, optional for final element).
|
||||
and *tlv* contains a hexidecimal TLV to include.
|
||||
|
||||
RETURN VALUE
|
||||
------------
|
||||
|
|
Loading…
Add table
Reference in a new issue