SomberNight
2cc76fbbbd
lnworker: fix type error re pending_payments, and impl malformed htlcs
In old code, in lnpeer.htlc_switch(), "error" in lnworker.pending_payments
had incorrect type.
TODO: we need tests for payment failures...
5 years ago
SomberNight
9a70b79eea
follow-up prev: try to handle json db int key madness :/
5 years ago
SomberNight
b524460fdf
lnpeer: implement basic handling of "update_fail_malformed_htlc"
5 years ago
SomberNight
ea0981ebeb
lnutil.UpdateAddHtlc: use attrs instead of old-style namedtuple
5 years ago
ThomasV
444610452e
wallet_db: encapsulate type conversions with attr.s converter
5 years ago
ThomasV
df15042cee
Quantitative easing of lightning fees
5 years ago
ThomasV
d5469b7eb5
fix #6037
5 years ago
SomberNight
5e59d1a0ed
lnonion: use random starting bytes in Sphinx packet as in updated BOLT4
see https://github.com/lightningnetwork/lightning-rfc/pull/697
5 years ago
SomberNight
510399d3d2
wallet: dust limit calculation should round up (not down)
related to prev commit
closes #6035
5 years ago
SomberNight
a500db371d
wallet: put hard limit on minimum of relayfee: 1 sat/byte
(note that the dust limit is calculated based on the relayfee)
closes #6035
5 years ago
SomberNight
ec6be665d5
lnwatcher: unwatch deeply mined channels
reduces log spam generated by "REDEEMED" channels...
5 years ago
SomberNight
8897360a72
travis: change ppa for bitcoind
5 years ago
SomberNight
a7c02c770d
follow-up prev: network.interface might be None
5 years ago
ThomasV
133d74adfb
fee estimates: use median if auto-connect
5 years ago
ThomasV
5bac2fea98
Qt: improve channel details window
5 years ago
ThomasV
ffa3760a17
follow-up prev: rm decorator, preprocess channel_id for all messages
5 years ago
ThomasV
386d385389
lnpeer: channel_update decorator
5 years ago
ThomasV
fe2b40b83d
Fix #6021 : Do not transition channel state to CLOSED if tx is unconfirmed.
5 years ago
ThomasV
af457ea2ec
follow-up 46d8080c76e79670e8abaaaa0eb2d4d4a74544c1: own channels are no longer in channel_db
5 years ago
ThomasV
81dc2591b1
kivy: switch position/size of camera and clear buttons
5 years ago
SomberNight
e5e512df8c
appimage: update package in dockerfile
Ubuntu no longer serves old version
5 years ago
ThomasV
b6cb983733
lnworker.pay: run path finding in sep. thread (don't block evt loop)
5 years ago
ThomasV
df5acd1ea5
kivy: add delete button for invoices/requests
5 years ago
ThomasV
6c2ef176cc
kivy: show payment log details
5 years ago
ThomasV
d19fc56eb8
kivy: requests/invoices dialogs improvements
5 years ago
ThomasV
beac1c4ddc
channel_db: raise specific exception if database is not loaded when we try to find a route
5 years ago
ThomasV
e3019a7046
(minor) fix typo
5 years ago
ThomasV
2f31e9fa44
follow-up prev commit
5 years ago
ThomasV
3d69f3b0be
improve payment status callbacks:
- add 'computing route' status for lightning payments
- use separate callbacks for invoice status and payment popups
- show payment error and payment logs in kivy
5 years ago
SomberNight
5d4f8f3164
qt update checker: subclass QDialog instead of QWidget
this way "minimise to taskbar" and "fullscreen" buttons are not shown
5 years ago
SomberNight
c95c0dcb80
lnrouter: add comments about path-finding blocking the asyncio loop
5 years ago
ThomasV
05a191cc6a
(minor) simplification
5 years ago
ThomasV
dd0a93abd5
kivy: update screen in on_activate, remove dead code
5 years ago
ThomasV
c80aab7e20
kivy: align icons in password_dialog, use IconButton
5 years ago
ThomasV
47b6c2d87f
improve kivy password dialog:
- separate classes for pin code and password
- add file selector to initial screen
5 years ago
ThomasV
25626cf23b
follow-up previous commit
5 years ago
ThomasV
958898280e
follow-up previous commit
5 years ago
ThomasV
8b79e9fed1
kivy: remove dynamic screen loading.
The performance gain it brings is negligible,
and it causes object duplication, which makes
things difficult to debug.
5 years ago
ThomasV
b0ddd7dc27
kivy receive screen:
- change behavior of delete button
- screen must call parent's methods
5 years ago
ThomasV
19dcc5789f
invoices list: show 'batch pay' option only if all selected invoices can be paid
5 years ago
ThomasV
172b03129b
kivy: fix display of request messages
5 years ago
ThomasV
8b63f7176e
Add short channel id to tx labels
5 years ago
ThomasV
1e92307120
Qt history: Do not use monospace font for description column
5 years ago
ThomasV
3c111471e9
Fix bug with save_funding_height, save_closing_height
(it would enter a state where only closing_height was saved)
5 years ago
SomberNight
5b23d5ee97
lnchannel/lnhtlc: speed up balance calculation for recent ctns
Move the balance calculation from lnchannel to lnhtlc.
Maintain a running balance in lnhtlc that is coupled with _maybe_active_htlc_ids
for practicality reasons.
5 years ago
SomberNight
ec7473789e
lnhtlc: speed-up methods for recent ctns
we maintain a set of interesting htlc_ids
5 years ago
ThomasV
2c617c3b00
move feerate warning to lnpeer
5 years ago
ThomasV
ee01ca352f
update force-close warning message
5 years ago
SomberNight
35a8812534
lnworker.reestablish_peer_for_given_channel: give each addr a chance
follow-up fa0ef9c548
5 years ago
ThomasV
b36e9a6451
Qt: add info about force closing
5 years ago