ThomasV
032be27bb5
force-close channel if unfulfilled htlc is close to cltv expiry
6 years ago
ThomasV
02bddc3899
fix tests (follow up prev commit)
6 years ago
ThomasV
6026ed4be0
save timestamps in htlc log
6 years ago
ThomasV
c3e70a2b28
follow-up previous commit
6 years ago
ThomasV
5bae1fcad7
factorize channel opening code into chan.open_with_first_pcp
6 years ago
ThomasV
a35588dd4b
simplify points, remove side-effect in reestablish_channel
6 years ago
ThomasV
52604b968c
fix local/remote confusion in reestablish_channel
6 years ago
ThomasV
e5f5c040f1
do not duplicate ctn in channel log and config
6 years ago
ThomasV
e6a777bbbb
lnhtlc: remove unused field in log
6 years ago
ThomasV
1d28ecf2b2
reestablish_peers_and_channels: spawn tasks in for loop
6 years ago
ThomasV
e84d2de115
post rebase fixes
6 years ago
ThomasV
1edf84c711
lnhtlc: rename ctnheights -> ctn
6 years ago
ThomasV
4f46dca607
lnwatcher: store transactions as binary
6 years ago
ThomasV
5c083fbd84
create parent class for sql databases
6 years ago
ThomasV
256dab53ad
lnwatcher: save sweepstore in sqlite database
6 years ago
ThomasV
6f8c53662c
start asyncio loop in test_lnrouter and test_lnpeer
6 years ago
ThomasV
e18228de30
sqlite: do not use scoped_session
6 years ago
ThomasV
b7c25848bd
add sqlalchemy to requirements
6 years ago
ThomasV
a8abf8d9c3
follow-up previous commit
6 years ago
ThomasV
45cb7fd9f8
lnrouter: perform SQL requests in a separate thread. persist database.
6 years ago
ThomasV
efd3353e05
Flatten the structure of lnrouter, so that DBSession is not used outside of ChannelDB
6 years ago
Janus
3bb5561f48
sqlite in lnrouter: lnpeer: introduce _gossip_loop for gossip handling separated from message handling
6 years ago
Janus
0e3a25ab7a
sqlite in lnrouter: remove useless InDB suffix
6 years ago
Janus
e55914732a
sqlite in lnrouter: request missing channel_announcements and node_announcements
6 years ago
Janus
63f6800506
sqlite in lnrouter: avoid exceptions on shutdown
6 years ago
Janus
2e7f001d78
sqlite in lnrouter
6 years ago
ThomasV
ff1cf502f7
add 'txpos' field to lightning history items, in case two transactions have the same timestamp
6 years ago
ThomasV
fbafec2db7
add future transactions to address synchronizer
6 years ago
ThomasV
996a8ea313
history: add column for ln amount
6 years ago
ThomasV
43c5055dff
fix amount_msat sign in get_history
6 years ago
ThomasV
0746622f28
follow-up previous commit
6 years ago
ThomasV
d50fc021ea
improve watchtower gui
6 years ago
ThomasV
c6964df652
lightning: display forwarded payments as a single history item
6 years ago
ThomasV
db045fdc1e
lnchannel: pass reference to lnworker
6 years ago
ThomasV
7a24566510
lnchannel: save timestamp when we settle
6 years ago
ThomasV
5d82613083
ln_message: trigger notification instead of popup
6 years ago
SomberNight
ebd1f83d33
lnchannel: save htlc preimages as soon as possible but horribly hacky
will properly clean this up...
6 years ago
SomberNight
422a33b638
lnchannel: only consider payments finished when we revoke our old ctx
in the old code,
`self.hm.received_in_ctn(self.config[REMOTE].ctn + 1)`
did not really make sense as "received_in_ctn" compares the argument against the LOCAL ctn
6 years ago
SomberNight
47d1c14479
lnhtlc: revert 0c4e7b856f8c96c4f0a33bf3e0d1c8fd8184bd36
6 years ago
SomberNight
55bafb502d
travis: don't build binaries on ln branch (also for appimage)
6 years ago
SomberNight
287742c1c8
qt: update whole gui on every LN payment
inefficient... but at least kept updated.
6 years ago
SomberNight
8eb41e3b66
lnpeer: check that remote only sends commit_sig if there are changes
6 years ago
SomberNight
83f999b213
qt: handle LN invoices better in Send tab
6 years ago
SomberNight
1b8bf7a167
lnworker: minor clean-up re payment_completed
6 years ago
ThomasV
9cbf6c2938
lnhtlc: fix received_in_ctn (LOCAL->REMOTE)
6 years ago
SomberNight
ffee6e5644
tmp fix for circular imports
6 years ago
SomberNight
f65627c0cb
qt request_list: disable editing existing items
6 years ago
SomberNight
b34d4b1358
qt request_list: minor fix for context menu
6 years ago
SomberNight
b9ba833718
qt request_list: fix changing between items
6 years ago
Janus
fb32fd3da3
lnhtlc: handle settles like adds (asymmetrical across ctns)
6 years ago