rgb-cln/doc
Rusty Russell eff53495db lightningd: make "is peer connected" a tristate.
First, connectd tells us the peer has connected, and we call the connected hook,
and if it says it's fine, we are actually connected and we fire off notifications.

Of course, we could be disconnected while in the connected hook, and that would
mean we tell people about a connection which is no longer current.

Make this clear with a tristate: if we're not marked disconnected by
the time the hooks finish, we're good.  It also gives us a cleaner
"connect" command return when we connected but disconnected before
processing.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-07-18 20:50:04 -05:00
..
release-notes doc: Fixed typo in the release notes 2018-06-18 12:45:00 +02:00
schemas decode: support decoding runes. 2022-07-17 08:51:02 +09:30
.gitignore Add documentation. 2015-07-18 10:46:53 +09:30
BACKUP.md doc: remove ambiguity for functionality enabled after a release version 2022-03-10 10:24:34 +10:30
CHANGELOG.md docs: Add configuration for the sphinx documentation generator 2019-02-18 02:42:29 +00:00
FAQ.md doc: mention ip discovery only active when no addresses are announced 2022-07-12 13:59:46 -05:00
FUZZING.md doc: add a document about our fuzz testing integration 2020-10-21 19:34:39 +02:00
HACKING.md Change lightning-rfc to bolts post repo move 2022-05-18 10:19:16 +09:30
INSTALL.md Add instructions for checking out a release tag 2022-07-17 11:45:34 +09:30
MAKING-RELEASES.md doc/MAKING-RELEASES.md: advice on updating python package versions. 2021-07-30 19:17:47 +02:00
Makefile doc: document commando and commando-rune. 2022-07-17 08:51:02 +09:30
PLUGINS.md doc: improve/update lightning-plugin, PLUGINS.md and lightning-listconfigs 2022-07-10 21:09:41 -05:00
REPRODUCIBLE.md repro: Update repro dockerfiles and instructions 2022-04-28 12:28:48 +09:30
STYLE.md doc: update c-lightning to Core Lightning almost everywhere. 2022-04-07 06:53:26 +09:30
TOR.md doc: mention ip discovery only active when no addresses are announced 2022-07-12 13:59:46 -05:00
bitcoin.bib bitcoin.bib: Add Satoshi paper URL and date 2018-03-04 03:22:32 +01: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 doc: Update lightning.readthedocs.org project name after rebrand 2022-05-14 11:43:46 +09:30
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
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: document commando and commando-rune. 2022-07-17 08:51:02 +09:30
lightning-addgossip.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-autocleaninvoice.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-check.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-checkmessage.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-cli.1.md lightning-cli: document the real argument handling (for special effects). 2022-04-07 06:53:26 +09:30
lightning-close.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-commando-rune.7.md fix typo in commando documentation 2022-07-17 08:51:02 +09:30
lightning-commando.7.md doc: document commando and commando-rune. 2022-07-17 08:51:02 +09:30
lightning-connect.7.md lightningd: make "is peer connected" a tristate. 2022-07-18 20:50:04 -05:00
lightning-createinvoice.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-createonion.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-datastore.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-decode.7.md decode: support decoding runes. 2022-07-17 08:51:02 +09:30
lightning-decodepay.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-deldatastore.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-delexpiredinvoice.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-delinvoice.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-delpay.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-disableoffer.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-disconnect.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-emergencyrecover.7.md doc: Add documentation for new RPCs and a FIXME: in fromschema.py 2022-07-14 12:24:48 -05:00
lightning-feerates.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-fetchinvoice.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-fundchannel.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-fundchannel_cancel.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-fundchannel_complete.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-fundchannel_start.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-funderupdate.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-fundpsbt.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-getinfo.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-getlog.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-getroute.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-help.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-hsmtool.8.md doc: fix 2021-06-30 09:43:23 +09:30
lightning-invoice.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-keysend.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-listchannels.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-listconfigs.7 make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-listconfigs.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-listdatastore.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-listforwards.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-listfunds.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-listinvoices.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-listnodes.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-listoffers.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-listpays.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-listpeers.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-listsendpays.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-listtransactions.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-makesecret.7.md makesecret: change info_hex arg to simply "hex" to match datastore command. 2022-07-15 22:17:58 +09:30
lightning-multifundchannel.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-multiwithdraw.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-newaddr.7 make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-newaddr.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-notifications.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-offer.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-offerout.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-openchannel_abort.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-openchannel_bump.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-openchannel_init.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-openchannel_signed.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-openchannel_update.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-parsefeerate.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-pay.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-ping.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-plugin.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-recoverchannel.7.md doc: Add documentation for new RPCs and a FIXME: in fromschema.py 2022-07-14 12:24:48 -05:00
lightning-reserveinputs.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-sendcustommsg.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-sendinvoice.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-sendonion.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-sendonionmessage.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-sendpay.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-sendpsbt.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-setchannel.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-setchannelfee.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-signmessage.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-signpsbt.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-staticbackup.7.md doc: Add documentation for new RPCs and a FIXME: in fromschema.py 2022-07-14 12:24:48 -05:00
lightning-stop.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-txdiscard.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-txprepare.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-txsend.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-unreserveinputs.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-utxopsbt.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-waitanyinvoice.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-waitblockheight.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-waitinvoice.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-waitsendpay.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightning-withdraw.7.md make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
lightningd-config.5.md doc: mention ip discovery only active when no addresses are announced 2022-07-12 13:59:46 -05:00
lightningd.8.md doc: document the errors code 2021-12-15 12:24:54 +10:30
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
undoc-flags.json plugin-funder: fix typos in option lease-fee-base-msat and funder-fuzz-percent 2022-03-01 09:38:40 +10:30