core-lightning/doc
Rusty Russell f7ebbb2ec5 common: make sphinx code ignorant of payload format.
Now "raw_payload" is always the complete string (including realm or length
bytes at the front).

This has several effects:
1. We can receive an decrypt an onion which is grossly malformed.
2. We can still hand this to the htlc_accepted hook.
3. We then fail it unless the htlc_accepted accepts it manually.
4. The createonion API now takes the raw payload, and does not know
   anything about "style".

The only caveat is that the sphinx code needs to know the payload
length: we have a call for that, which simply tells it to copy the
entire onion (and treat us as the final node) if it's invalid.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-12-09 14:33:31 +01:00
..
release-notes doc: Fixed typo in the release notes 2018-06-18 12:45:00 +02:00
.gitignore Add documentation. 2015-07-18 10:46:53 +09:30
bitcoin.bib bitcoin.bib: Add Satoshi paper URL and date 2018-03-04 03:22:32 +01:00
CHANGELOG.md docs: Add configuration for the sphinx documentation generator 2019-02-18 02:42:29 +00:00
commit-tx.eps Add documentation. 2015-07-18 10:46:53 +09:30
commit-tx.svg Add documentation. 2015-07-18 10:46:53 +09:30
conf.py docs: Autodetect version and copyright year in the sphinx doc 2019-02-22 17:55:36 +01:00
deployable-lightning.lyx udpate broken link 2018-06-08 17:56:48 +02:00
deployable-lightning.pdf Regenerate PDF. 2015-11-20 06:45:19 +10:30
dual-anchor-diag1.eps Add documentation. 2015-07-18 10:46:53 +09:30
dual-anchor-diag1.svg Add documentation. 2015-07-18 10:46:53 +09:30
dual-anchor-diag2.eps Add documentation. 2015-07-18 10:46:53 +09:30
dual-anchor-diag2.svg Add documentation. 2015-07-18 10:46:53 +09:30
dual-anchor-diag3.eps Add documentation. 2015-07-18 10:46:53 +09:30
dual-anchor-diag3.svg Add documentation. 2015-07-18 10:46:53 +09:30
dual-anchor-diag4.eps doc: fix flaw in escape transactions. 2015-07-20 14:07:25 +09:30
dual-anchor-diag4.svg doc: fix flaw in escape transactions. 2015-07-20 14:07:25 +09:30
dual-anchor-final.eps doc: fix flaw in escape transactions. 2015-07-20 14:07:25 +09:30
dual-anchor-final.svg doc: fix flaw in escape transactions. 2015-07-20 14:07:25 +09:30
dual-anchor-take2.svg Add documentation. 2015-07-18 10:46:53 +09:30
dual-anchor.svg Add documentation. 2015-07-18 10:46:53 +09:30
HACKING.md doc: adds pyln deps to command for running blackbox tests 2019-11-29 21:23:23 +01:00
htlc.eps Add documentation. 2015-07-18 10:46:53 +09:30
htlc.svg Add documentation. 2015-07-18 10:46:53 +09:30
index.rst doc: Add manpages for createonion and sendonion 2019-12-01 15:40:47 +01:00
INSTALL.md remove repeat install dependencies 2019-10-29 12:18:45 -05:00
lightning-autocleaninvoice.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-autocleaninvoice.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-check.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-check.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-checkmessage.7 doc: man pages for checkmessage and signmessage. 2019-10-14 18:58:44 -05:00
lightning-checkmessage.7.md doc: man pages for checkmessage and signmessage. 2019-10-14 18:58:44 -05:00
lightning-cli.1 lightningd: move basic parameter parsing into common/configdir 2019-11-23 22:42:34 +00:00
lightning-cli.1.md common: parse --allow-deprecated-apis extremely early. 2019-11-23 22:42:34 +00:00
lightning-close.7 doc: Update the doc about destination of close 2019-10-09 21:04:16 -05:00
lightning-close.7.md doc: Update the doc about destination of close 2019-10-09 21:04:16 -05:00
lightning-connect.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-connect.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-createonion.7 common: make sphinx code ignorant of payload format. 2019-12-09 14:33:31 +01:00
lightning-createonion.7.md common: make sphinx code ignorant of payload format. 2019-12-09 14:33:31 +01:00
lightning-decodepay.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-decodepay.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-delexpiredinvoice.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-delexpiredinvoice.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-delinvoice.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-delinvoice.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-disconnect.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-disconnect.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-fundchannel_cancel.7 doc: update the document of fundchannel_cancel 2019-09-11 17:04:14 -05:00
lightning-fundchannel_cancel.7.md doc: update the document of fundchannel_cancel 2019-09-11 17:04:14 -05:00
lightning-fundchannel_complete.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-fundchannel_complete.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-fundchannel_start.7 doc: feerate is not obvious, refer to fundchannel documentation: 2019-12-04 08:35:50 -06:00
lightning-fundchannel_start.7.md doc: feerate is not obvious, refer to fundchannel documentation: 2019-12-04 08:35:50 -06:00
lightning-fundchannel.7 Change order of paragraphs in manpage of fundchannel 2019-10-21 14:01:49 +02:00
lightning-fundchannel.7.md Change order of paragraphs in manpage of fundchannel 2019-10-21 14:01:49 +02:00
lightning-getroute.7 lightningd: expose/accept "style" parameter in routes. 2019-11-14 10:15:33 +01:00
lightning-getroute.7.md lightningd: expose/accept "style" parameter in routes. 2019-11-14 10:15:33 +01:00
lightning-invoice.7 update docs with payment_preimage. 2019-12-03 01:16:07 +00:00
lightning-invoice.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-listchannels.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-listchannels.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-listforwards.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-listforwards.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-listfunds.7 jsonrpc: add more fields to listfunds. 2019-09-19 01:03:09 +00:00
lightning-listfunds.7.md jsonrpc: add more fields to listfunds. 2019-09-19 01:03:09 +00:00
lightning-listinvoices.7 update docs with payment_preimage. 2019-12-03 01:16:07 +00:00
lightning-listinvoices.7.md update docs with payment_preimage. 2019-12-03 01:16:07 +00:00
lightning-listpays.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-listpays.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-listpeers.7 common/features: only support a single feature bitset. 2019-10-11 02:52:04 +00:00
lightning-listpeers.7.md common/features: only support a single feature bitset. 2019-10-11 02:52:04 +00:00
lightning-listsendpays.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-listsendpays.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-newaddr.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-newaddr.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-pay.7 pay: restore payment value randomization through shadow routing 2019-11-08 03:27:58 +00:00
lightning-pay.7.md pay: restore payment value randomization through shadow routing 2019-11-08 03:27:58 +00:00
lightning-plugin.7 doc: Document the changes to the 'plugin' command 2019-09-30 00:20:16 +00:00
lightning-plugin.7.md doc: Document the changes to the 'plugin' command 2019-09-30 00:20:16 +00:00
lightning-sendonion.7 doc: Add manpages for createonion and sendonion 2019-12-01 15:40:47 +01:00
lightning-sendonion.7.md doc: Add manpages for createonion and sendonion 2019-12-01 15:40:47 +01:00
lightning-sendpay.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-sendpay.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-setchannelfee.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-setchannelfee.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-signmessage.7 doc: man pages for checkmessage and signmessage. 2019-10-14 18:58:44 -05:00
lightning-signmessage.7.md doc: man pages for checkmessage and signmessage. 2019-10-14 18:58:44 -05:00
lightning-txdiscard.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-txdiscard.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-txprepare.7 Fix: Fix the doc of txprepare. Add the description of some parameters. 2019-10-09 16:51:42 -05:00
lightning-txprepare.7.md Fix: Fix the doc of txprepare. Add the description of some parameters. 2019-10-09 16:51:42 -05:00
lightning-txsend.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-txsend.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-waitanyinvoice.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-waitanyinvoice.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-waitinvoice.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-waitinvoice.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-waitsendpay.7 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-waitsendpay.7.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightning-withdraw.7 rpc: add 'utxos' parameter to txprepare + withdraw 2019-09-11 23:56:27 +00:00
lightning-withdraw.7.md rpc: add 'utxos' parameter to txprepare + withdraw 2019-09-11 23:56:27 +00:00
lightningd-config.5 Reflect the changes in documentation 2019-12-03 23:35:18 +01:00
lightningd-config.5.md Reflect the changes in documentation 2019-12-03 23:35:18 +01:00
lightningd.8 docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightningd.8.md docs: Update manpages to be recognized correctly by mrkd 2019-09-02 16:31:36 +02:00
lightningd.8.txt doc/lightningd.8.txt: Initial manpage for lightningd itself. 2019-08-09 02:36:59 +00:00
ln-draft-fig1.eps doc: add figures from LN draft (thanks Joseph!). 2015-07-20 14:07:40 +09:30
ln-draft-fig2.eps doc: add figures from LN draft (thanks Joseph!). 2015-07-20 14:07:40 +09:30
Makefile doc: Add manpages for createonion and sendonion 2019-12-01 15:40:47 +01:00
MAKING-RELEASES.md changelog: Add a tool to extract changelog entries from the commits 2019-11-08 00:23:09 +00:00
PLUGINS.md doc: add 'id' to rpc_command 2019-12-08 15:26:28 +01:00
REPRODUCIBLE.md doc/REPRODUCIBLE.md: describe to do reproducible builds. 2019-03-01 03:48:04 +00:00
requirements.txt remove repeat line in doc/requirements.txt 2019-10-29 12:18:45 -05:00
STYLE.md changelog: Add a tool to extract changelog entries from the commits 2019-11-08 00:23:09 +00:00
TOR.md Fix typos and options 2019-07-15 01:00:57 +00:00