Saibato
877f63e99e
Initial TOR v2/v3 support.
This is a rebased and combined patch for Tor support. It is extensively
reworked in the following patches, but the basis remains Saibato's work,
so it seemed fairest to begin with this.
Minor changes:
1. Use --announce-addr instead of --tor-external.
2. I also reverted some whitespace and unrelated changes from the patch.
3. Removed unnecessary ';' after } in functions.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Mark Beckwith
9153688b77
Added fundchannel man page.
This describes 'fundchannel' as it works today.
It definitely could use better error codes instead of -1 for everything.
7 years ago
Christian Decker
700a505727
doc: Remove libsodium-dev dependency, it's in-tree
Signed-off-by: Christian Decker <decker.christian@gmail.com>
Reported-by: Perlover <@Perlover>
7 years ago
ZmnSCPxj
e588737511
peer_control: Have `close` accept channel IDs also.
7 years ago
Felix
52c243852e
documentation: s/Protocol/Command/
7 years ago
Felix
00783884f7
documentation: connect
7 years ago
Felix
1fc5dc94c4
documentation: newaddr, listfunds and withdraw
7 years ago
ZmnSCPxj
2e73317a39
invoice: Define specific error codes for duplicate label and preimage.
7 years ago
ZmnSCPxj
eb42804fcc
invoice: Support providing preimage when making invoice.
7 years ago
ZmnSCPxj
2cee1ab20f
peer_control: Make close wait for complete closure, with timeout.
Also report tx and txid, and whether we closed unilaterally or
bilaterally, if we could close the channel.
Also make a manpage.
Fixes : #1207
Fixes : #714
Fixes : #622
7 years ago
BT
4673ba6a0a
Add in sudo apt-get update into ubuntu
Add in sudo apt-get update into ubuntu instructions because sometimes the process fails if not updated
7 years ago
ZmnSCPxj
0a586acf6e
lightning-autocleaninvoice.7: Properly generate instead of using an empty file.
Strange behavior where `a2x` sometimes does not work at all.
7 years ago
Rusty Russell
09c4203767
bolt11: allow multiple fallback addresses.
We can have more than one; eg we might offer both bech32 and a p2sh
address, and in future we might offer v1 segwit, etc.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Douglas Roark
5e23dccb3b
Add cross-compile instructions for Raspberry Pi ( #1263 )
These are basic instructions that lead to the build process completing without error (after a known error occurs and is rectified). For now, the final results are untested.
7 years ago
ZmnSCPxj
26f7014813
payalgo: Add maximum delay.
Fixes : #1086
7 years ago
ZmnSCPxj
bc5fc692d1
pay: Let `sendpay` modify the recorded `msatoshi` of payments.
7 years ago
Rusty Russell
a85ead7058
invoice: allow numeric labels again.
Fixes : #1291
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Mark Beckwith
217d4f99eb
Added link to macOS in install index.
Also, technically, the name of the current version of the OS is macOS, so I
updated it.
7 years ago
Rusty Russell
880c19eb4e
doc: document restrictions on invoice RPC.
In particular: label must be a string, and description cannot use any
the JSON unicode escapes, which should be unnecessary with UTF-8
anyway.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
practicalswift
0bf1b01425
Fix typos
7 years ago
conanoc
cbe0b2d3a8
Update Install.md to add Mac section ( #1225 )
* Update Install.md to add Mac section
7 years ago
Douglas Schilling Landgraf
35e85ab901
Documentation ( #1238 )
* build: update INSTALL.md to include Fedora #1028
* doc: Add TOC to INSTALL.md
* doc: Use lower case for anchors in TOC and minor changes
- anchors require lower case
- TOC doesn't work with dots, using OS names
* doc: improving FreeBSD doc
- Add missing packages: gmp and asciidoc
- Include step gmake install
7 years ago
ZmnSCPxj
159e736fc1
invoices: Implement autocleaninvoice.
7 years ago
ZmnSCPxj
3b0081aebb
invoices: Add delexpiredinvoice command.
7 years ago
ZmnSCPxj
7443bf5ed5
doc: Update for latest 'pay' command.
7 years ago
ZmnSCPxj
39d8f64226
doc: Update manpages for change in return value.
7 years ago
Rusty Russell
a935ae0711
doc: Link STLYE.md from HACKING.md
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Rusty Russell
08f4d48b0f
Add some Style.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
ZmnSCPxj
8fd71ad654
doc: Update sendpay and waitsendpay manpages.
7 years ago
Jan Sarenik
9b3e8f0bd3
bitcoin.bib: Add Satoshi paper URL and date
Date according to Wikipedia which cites other source.
7 years ago
Jan Sarenik
fd338c0689
doc: More plain-text improvements to HACKING.md and INSTALL.md
This time the rendered output is slightly different, but mostly
because long preformatted lines are wrapped and contain an extra
continuation backslash now.
7 years ago
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