Browse Source

docs: document changes to waitsendpay command.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
sanitizers
Rusty Russell 6 years ago
committed by Christian Decker
parent
commit
390117c9bb
  1. 2
      CHANGELOG.md
  2. 27
      doc/lightning-waitsendpay.7
  3. 9
      doc/lightning-waitsendpay.7.txt

2
CHANGELOG.md

@ -30,6 +30,8 @@ changes.
### Removed ### Removed
- JSON API: the `waitsendpay` command error return no longer includes `channel_update`
### Fixed ### Fixed
- Protocol: handling `query_channel_range` for large numbers of blocks - Protocol: handling `query_channel_range` for large numbers of blocks

27
doc/lightning-waitsendpay.7

@ -2,12 +2,12 @@
.\" Title: lightning-waitsendpay .\" Title: lightning-waitsendpay
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 04/26/2018 .\" Date: 01/15/2019
.\" Manual: \ \& .\" Manual: \ \&
.\" Source: \ \& .\" Source: \ \&
.\" Language: English .\" Language: English
.\" .\"
.TH "LIGHTNING\-WAITSENDP" "7" "04/26/2018" "\ \&" "\ \&" .TH "LIGHTNING\-WAITSENDP" "7" "01/15/2019" "\ \&" "\ \&"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
@ -168,9 +168,19 @@ A routing failure object has the fields below:
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
\fIerring_channel\fR\&. The short channel ID of the channel that has the error, or \fIerring_channel\fR\&. The short channel ID of the channel that has the error (or the final channel if the destination raised the error)\&.
\fI0:0:0\fR .RE
if the destination node raised the error\&. .sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fIerring_direction\fR\&. The direction of traversing the
\fIerring_channel\fR\&.
.RE .RE
.sp .sp
.RS 4 .RS 4
@ -192,11 +202,8 @@ if the destination node raised the error\&.
.sp -1 .sp -1
.IP \(bu 2.3 .IP \(bu 2.3
.\} .\}
\fIchannel_update\fR\&. The hex string of the \fIfailcodename\fR\&. The human\-readable name corresponding to
\fIchannel_update\fR \fIfailcode\fR, if known\&.
message received from the remote node\&. Only present if error is from the remote node and the
\fIfailcode\fR
has the UPDATE bit set, as per BOLT #4\&.
.RE .RE
.SH "AUTHOR" .SH "AUTHOR"
.sp .sp

9
doc/lightning-waitsendpay.7.txt

@ -71,13 +71,10 @@ A routing failure object has the fields below:
* 'erring_node'. The hex string of the pubkey id of the node * 'erring_node'. The hex string of the pubkey id of the node
that reported the error. that reported the error.
* 'erring_channel'. The short channel ID of the channel that * 'erring_channel'. The short channel ID of the channel that
has the error, or '0:0:0' if the destination node raised has the error (or the final channel if the destination raised the error).
the error. * 'erring_direction'. The direction of traversing the 'erring_channel'.
* 'failcode'. The failure code, as per BOLT #4. * 'failcode'. The failure code, as per BOLT #4.
* 'channel_update'. The hex string of the 'channel_update' * 'failcodename'. The human-readable name corresponding to 'failcode', if known.
message received from the remote node. Only present if
error is from the remote node and the 'failcode' has the
UPDATE bit set, as per BOLT #4.
AUTHOR AUTHOR
------ ------

Loading…
Cancel
Save