SomberNight
01207316aa
storage upgrade: move "htlc_minimum_msat" to base channel config
6 years ago
SomberNight
53c6fc8cf1
lnchannel: test for max htlc value (needs to be below protocol maximum)
6 years ago
SomberNight
777e350fae
lnchannel: partly fix available_to_spend
...
we were looking at inconsistent ctns
and we were looking at the wrong subject's ctx
all the FIXMEs and TODOs here will still warrant some attention.
(note that test_DesyncHTLCs was passing incorrectly:
the "assertRaises" was catching a different exception)
6 years ago
SomberNight
deb50e7ec3
lnchannel: implement "freezing" channels (for sending)
...
and expose it in Qt GUI
6 years ago
SomberNight
9c8d2be638
qt channels list: sort by short chan id by default
6 years ago
SomberNight
95979ba58d
qt channels list: make selection more in line with other tabs
...
(allow selecting none, and allow multi-select)
6 years ago
SomberNight
7488cc91cd
qt channels: expose long channel id (in ctx menu and details dlg)
...
Also add separators to context menu to more visible separate
close/delete actions from rest.
6 years ago
ghost43
1448bfe937
Merge pull request #6039 from interrupt00/document-how-to-disable-proxy
...
Document how to disable proxy
6 years ago
interrupt00
df700ca96a
Document how to disable proxy
6 years ago
SomberNight
cf5872d2c1
follow-up prev
6 years ago
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...
6 years ago
SomberNight
9a70b79eea
follow-up prev: try to handle json db int key madness :/
6 years ago
SomberNight
b524460fdf
lnpeer: implement basic handling of "update_fail_malformed_htlc"
6 years ago
SomberNight
ea0981ebeb
lnutil.UpdateAddHtlc: use attrs instead of old-style namedtuple
6 years ago
ThomasV
444610452e
wallet_db: encapsulate type conversions with attr.s converter
6 years ago
ThomasV
df15042cee
Quantitative easing of lightning fees
6 years ago
ThomasV
d5469b7eb5
fix #6037
6 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
6 years ago
SomberNight
510399d3d2
wallet: dust limit calculation should round up (not down)
...
related to prev commit
closes #6035
6 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
6 years ago
SomberNight
ec6be665d5
lnwatcher: unwatch deeply mined channels
...
reduces log spam generated by "REDEEMED" channels...
6 years ago
SomberNight
8897360a72
travis: change ppa for bitcoind
6 years ago
SomberNight
a7c02c770d
follow-up prev: network.interface might be None
6 years ago
ThomasV
133d74adfb
fee estimates: use median if auto-connect
6 years ago
ThomasV
5bac2fea98
Qt: improve channel details window
6 years ago
ThomasV
ffa3760a17
follow-up prev: rm decorator, preprocess channel_id for all messages
6 years ago
ThomasV
386d385389
lnpeer: channel_update decorator
6 years ago
ThomasV
fe2b40b83d
Fix #6021 : Do not transition channel state to CLOSED if tx is unconfirmed.
6 years ago
ThomasV
af457ea2ec
follow-up 46d8080c76e79670e8abaaaa0eb2d4d4a74544c1: own channels are no longer in channel_db
6 years ago
ThomasV
81dc2591b1
kivy: switch position/size of camera and clear buttons
6 years ago
SomberNight
e5e512df8c
appimage: update package in dockerfile
...
Ubuntu no longer serves old version
6 years ago
ThomasV
b6cb983733
lnworker.pay: run path finding in sep. thread (don't block evt loop)
6 years ago
ThomasV
df5acd1ea5
kivy: add delete button for invoices/requests
6 years ago
ThomasV
6c2ef176cc
kivy: show payment log details
6 years ago
ThomasV
d19fc56eb8
kivy: requests/invoices dialogs improvements
6 years ago
ThomasV
beac1c4ddc
channel_db: raise specific exception if database is not loaded when we try to find a route
6 years ago
ThomasV
e3019a7046
(minor) fix typo
6 years ago
ThomasV
2f31e9fa44
follow-up prev commit
6 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
6 years ago
SomberNight
5d4f8f3164
qt update checker: subclass QDialog instead of QWidget
...
this way "minimise to taskbar" and "fullscreen" buttons are not shown
6 years ago
SomberNight
c95c0dcb80
lnrouter: add comments about path-finding blocking the asyncio loop
6 years ago
ThomasV
05a191cc6a
(minor) simplification
6 years ago
ThomasV
dd0a93abd5
kivy: update screen in on_activate, remove dead code
6 years ago
ThomasV
c80aab7e20
kivy: align icons in password_dialog, use IconButton
6 years ago
ThomasV
47b6c2d87f
improve kivy password dialog:
...
- separate classes for pin code and password
- add file selector to initial screen
6 years ago
ThomasV
25626cf23b
follow-up previous commit
6 years ago
ThomasV
958898280e
follow-up previous commit
6 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.
6 years ago
ThomasV
b0ddd7dc27
kivy receive screen:
...
- change behavior of delete button
- screen must call parent's methods
6 years ago
ThomasV
19dcc5789f
invoices list: show 'batch pay' option only if all selected invoices can be paid
6 years ago