ThomasV
|
66813a6246
|
move transport code to its own file
|
6 years ago |
ThomasV
|
2c01b46433
|
future and callback are not needed here
|
6 years ago |
Janus
|
3e193a19c5
|
lnbase: split out BOLT-08 (Noise) implementation
|
6 years ago |
SomberNight
|
1fbb34bc77
|
fix tests
|
6 years ago |
SomberNight
|
81a5b3738e
|
follow-up prev
|
6 years ago |
SomberNight
|
380f0981cf
|
channel verifier: NetworkJobOnDefaultServer, and some error handling
|
6 years ago |
ThomasV
|
d57be0a0ca
|
start channel verifier in network.start()
|
6 years ago |
ThomasV
|
6dbb13a0aa
|
add 'recḱless' option to allow using lightning on mainnet
|
6 years ago |
ThomasV
|
0242fdb6a3
|
minor fix
|
6 years ago |
ThomasV
|
2e16ed73c7
|
fix race between network and lnwatcher (network.add_job does not always work)
|
6 years ago |
ThomasV
|
f06a664d58
|
add watchtower class, send encumbered tx as json
|
6 years ago |
SomberNight
|
5fc0d4cc2c
|
fix tests
|
6 years ago |
SomberNight
|
9b49777427
|
rebase follow-up
|
6 years ago |
Janus
|
847f66954c
|
lnbase: resend revoke_and_ack if necessary
|
6 years ago |
ThomasV
|
d762370c03
|
watchtower: use network job, catch exceptions
|
6 years ago |
ThomasV
|
b2f1a8376b
|
remote watchtower: initial commit
|
6 years ago |
Janus
|
52e21bfd22
|
rebase fixup: use new broadcast_transaction API
|
6 years ago |
Janus
|
897b866e78
|
lnbase: use 45000 feerate on regtest for eclair compatibility
|
6 years ago |
ThomasV
|
22f8b9c4ec
|
open_channel: improved success message
|
6 years ago |
ThomasV
|
9982d51412
|
run open_channel in a WaitingDialog
|
6 years ago |
Janus
|
0ec7cb351a
|
rename lnhtlc->lnchan, HTLCStateMachine->Channel
|
6 years ago |
Janus
|
72ecd53b6b
|
lnhtlc: only store feerate once, don't store heights since we do not roll back
|
6 years ago |
Janus
|
6c8ceef1c3
|
lnhtlc: merge config and state, remove unnecessary properties
|
6 years ago |
Janus
|
5359624d67
|
lnhtlc: remove lookup_htlc, use heterogeneously typed lists
|
6 years ago |
Janus
|
050c1c6e49
|
lnhtlc: save settled htlc amounts separately
|
6 years ago |
Janus
|
f85ed3d728
|
qt channels_list: use repr() and not str() for exceptions
|
6 years ago |
ThomasV
|
315ff4bfb7
|
fix previous commit
|
6 years ago |
ThomasV
|
46cc9cd5b6
|
follow-up 1c8a4bcfa497b117e4511c2f108dbca8a1adb793
|
6 years ago |
SomberNight
|
4972e8e7d7
|
lnbase: handle some error codes re htlc failures ('UPDATE' flag)
|
6 years ago |
SomberNight
|
f3bb66d258
|
lnonion: use IntEnum and IntFlag for failure codes
|
6 years ago |
SomberNight
|
e9e5f1bd6d
|
handle failing htlc after restart
|
6 years ago |
SomberNight
|
03dc812087
|
clean up local/global features
|
6 years ago |
SomberNight
|
3c4697b842
|
on_channel_reestablish: try to get remote to force close channel if out-of-sync.
see ACINQ/eclair#727 and lightningnetwork/lnd#1904
|
6 years ago |
SomberNight
|
6ce3223cdc
|
on_update_fail_htlc: don't send commitment without changes
c-lightning was force-closing channels with us: "[lnbase:127.0.0.1] error commit_sig with no changes"
|
6 years ago |
SomberNight
|
0ecc1c9dfa
|
simplify ChannelDB.on_channel_update
|
6 years ago |
SomberNight
|
dac2bf1064
|
travis: don't build binaries on ln branch
|
6 years ago |
SomberNight
|
d78ff0eb95
|
when paying and there are multiple 'r' hints, use one at random
|
6 years ago |
SomberNight
|
8266ec50ef
|
use 'r' field in invoice when making payments (routing hints)
|
6 years ago |
SomberNight
|
02ce9a3bea
|
make our channels private, and put routing hints in invoices we create
|
6 years ago |
SomberNight
|
68fe10f292
|
lnworker: fix race
sometimes a reestablished channel would not get marked "open"
|
6 years ago |
SomberNight
|
24c7c584e6
|
lnaddr: clean up imports
|
6 years ago |
ThomasV
|
1b99849474
|
follow-up previous commit
|
6 years ago |
ThomasV
|
644221f5f2
|
get rid of callbacks in lnwatcher, use network events instead
|
6 years ago |
ThomasV
|
54d0873df2
|
lightning: fix tests
|
6 years ago |
SomberNight
|
3afbc59af3
|
follow-up lnwatcher changes
|
6 years ago |
ThomasV
|
39df2a1b54
|
lnwatcher simplification: remove ctn tests and pubkeys
|
6 years ago |
ThomasV
|
b7040e55aa
|
add more fields to list_channels
|
6 years ago |
ThomasV
|
f8b79ae621
|
aiosafe: define user visible exception class
|
6 years ago |
ThomasV
|
f2b798394d
|
lnbase: propagate error messages received in on_error to their relevant coroutines
|
6 years ago |
ThomasV
|
c1b8c6f863
|
create sweep transaction outside of lnwatcher
|
6 years ago |