Jan Sarenik
960548f311
doc: Reflow HACKING.md and INSTALL.md without textual change
See previous commit 9504a77b
for a script to prove there is no
change in the rendered file, just readability plain-text
improvements.
7 years ago
ZmnSCPxj
6c9d81ef42
payalgo: Remove reporting PAY_TRY_ANOTHER_ROUTE and PAY_UNPARSEABLE_ONION.
These error codes will cause `pay` to retry, so `pay` will never
actually report those error codes.
Those error codes will only get reported at the `sendpay` level.
7 years ago
Igor Cota
694fb41ef6
Update INSTALL.md
7 years ago
Igor Cota
642cff84ea
Update INSTALL.md
Add Android build instructions
7 years ago
ZmnSCPxj
1cf32f9f05
doc: Update manpage for getroute and pay for route randomization.
7 years ago
ZmnSCPxj
38535fc36c
payalgo: Create a new failure for paying expired invoice.
7 years ago
ZmnSCPxj
4e382ebd94
doc: Mention keyword arguments, update pay to mention use of null.
7 years ago
ZmnSCPxj
203c222f57
doc: Update to add fee limit to pay.
7 years ago
practicalswift
4f4756bd20
Fix a-vs-an typos
7 years ago
ZmnSCPxj
d4478458dd
pay: Change origin_index to erring_index, start with local node = 0.
7 years ago
ZmnSCPxj
b7c9029fe3
doc: Update for new error codes of sendpay.
7 years ago
Sjors Provoost
e4d719a421
[doc] install: add libsodium-dev
7 years ago
ZmnSCPxj
ba24fe0ba3
doc: Update manpage for waitinvoice.
7 years ago
ZmnSCPxj
4255e4186d
HACKING: Add subtleties.
7 years ago
luca vaccaro
d36fa33c9b
Explain table vars ( #792 )
* Database Table vars
Explain Database Table vars and bip32_max_index variable.
7 years ago
William Casarin
5b4a62d822
doc: some sqlite db info for HACKING
Signed-off-by: William Casarin <jb55@jb55.com>
7 years ago
William Casarin
8aee38162c
doc: Nix{,OS} build instructions
Signed-off-by: William Casarin <jb55@jb55.com>
7 years ago
practicalswift
17aaa1d235
Fix lightning typos
7 years ago
practicalswift
96d093fb30
Fix typos
7 years ago
Carl Dong
feb734086b
build: Update INSTALL.md to include FreeBSD.
7 years ago
ZmnSCPxj
940819567d
lightning-cli: Add support for null argument.
7 years ago
Rusty Russell
5e0a5c9111
JSONRPC: delinvoice: have a status argument.
delinvoice was orginally documented to only allow deletion of unpaid
invoices, but there might be reasons to delete paid ones or unexpired ones.
But we have to avoid the race where someone pays as it's deleted: the
easiest way is to have the caller tell us the status, and fail if
it's wrong.
Fixes : #477
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Rusty Russell
bd010d4b96
listinvoices: deprecate 'complete' in favor of 'status' trinary.
[ Manpage regen fixup by Christian Decker ]
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Rusty Russell
1a641c823c
JSONRPC: Make listinvoice an deprecated alias for listinvoices.
This matches the other names, and also the return value is about to change.
This will be removed before release!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Rusty Russell
461207b886
getroute: document cltv argument.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Christian Decker
f298c6b03e
doc: Adding generate listpayments man page
7 years ago
practicalswift
aefc887521
Fix typos
7 years ago
ianthius
2d5c958617
Python is a needed dependency here
Make seems to require python as well as python3.
7 years ago
ZmnSCPxj, ZmnSCPxj jxPCSmnZ
be0b76f03d
INSTALL.md: Add `automake` as dependency.
Fixes : #624
7 years ago
windsok
710e91f255
update invoice manpage to match current RPC and CLI interface
7 years ago
Rusty Russell
1950583612
subdaemon: make debugging a bit easier.
Use a volatile global, so debugger can flip it easily.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
William Casarin
3e3dbfdd1b
hacking: document subdaemon debugging
Signed-off-by: William Casarin <jb55@jb55.com>
7 years ago
Rusty Russell
6d7c8c8dd0
doc: manpages for pay, listpayments and decodepay.
Also contains some help message clarifications.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Rusty Russell
2f2fb0c2a1
invoice: add msatoshi_received field.
Paid invoices need to know how much was actually paid: both for the case
where no 'msatoshi' amount was specified, and for the normal case, where
clients are permitted to overpay in order to help them disguise their
payments.
While we migrate the db, we leave this field as 0 for old paid
invoices. This is unhelpful for accounting, but at least clearly
indicates what happened if we find this in the wild.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Rusty Russell
66885163c9
JSON: Rename rhash to payment_hash in delinvoice, invoice, listinvoice, waitinvoice, waitanyinvoice.
'rhash' is the old terminology, but 'payment_preimage' and
'payment_hash' were decided on for the BOLTs, so we should fix that here.
We still use rhash internally, but that's much easier to fix.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Rusty Russell
f031120903
doc: update return values of delinvoice, invoice, listinvoice, waitinvoice, waitanyinvoice.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
ZmnSCPxj
816298123f
invoice: Allow "any" msatoshi, for amountless invoices.
Fixes : #534
7 years ago
Rusty Russell
758317387e
HACKING.md: describe take() in more detail.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Rusty Russell
9b129f7fb5
doc/HACKING.md: update.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
ZmnSCPxj
5eceaa7be9
invoice: Modify waitanyinvoice interface to use pay_index.
7 years ago
practicalswift
aee3661b35
Fix typos (repeated words)
7 years ago
practicalswift
61c47c09d0
Fix typos
7 years ago
Rusty Russell
45e9f35988
docs: Note that we need 0.15 (for estimatesmartfee with CONSERVATIVE/ECONOMCIAL flags)
Closes : #392
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Damian Mee
211791f6d2
Lightning daemon path fixed
7 years ago
Rusty Russell
ebba5f85a2
handshaked: remove.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Rusty Russell
9da5abc39c
docs: update, move into doc/
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Christian Decker
da31675537
doc: Adding compiled manpage
8 years ago
Christian Decker
51a22c4274
doc: Fixed two small mistakes in the `getroute` documentation
Two arguments were flipped and riskfactor was missing in the error
message returned from the JSON.
8 years ago
Rusty Russell
2fb2e757ae
doc: add lightning-waitinvoice man page.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
8 years ago
Rusty Russell
69079e51a9
doc: move Makefile parts into doc/
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
8 years ago