SomberNight
f2242868fa
qt/channels list: show error in dialog
6 years ago
SomberNight
66817d41f9
lnwatcher improvements
...
- only try sweeping csv-locked to_local if past timelock
- check if outputs are already spent
- no need to keep watching channels for which all outputs are spent and mined deep
6 years ago
Janus
d740475e7a
move channel_state into HTLCStateMachine
6 years ago
ThomasV
3caccbebcd
follow-up a7e5b9421c014fc0be72696837cb9d77519c5e03
6 years ago
ThomasV
89dfd1cc2c
lightning: improve request tab layout
6 years ago
ThomasV
f2b40c69fc
do not set background in frozen_style, it does not look good with dark theme
6 years ago
ThomasV
b5f0209a56
fix crash in lnworker main_loop
6 years ago
ThomasV
18bc5aa27b
lightning: improve receive in Qt GUI
6 years ago
ThomasV
31b67c422b
add peer suggestion to open channel dialog. move add_peer code back to lnworker constructor
6 years ago
ThomasV
2ee41975f9
add lnworker.main_loop to network.futures so it gets cancelled on exit. fix aiosafe verbosity.
6 years ago
ThomasV
44d8c8f995
diagnostic_name: convert to str
6 years ago
ThomasV
8f779f504f
LNWorker: connect to multiple peers.
...
save exceptions in aiosafe.
enable adding peer in GUI.
6 years ago
Janus
35adc3231b
lightning: fixup after rebasing on restructured master
6 years ago
ThomasV
1db7a8334a
Refresh LN status in GUI using network callback.
6 years ago
ThomasV
8346e358b2
move lnaddr.py to lib
6 years ago
Janus
77e9abc655
ln: store HTLCStateMachine in lnworker.channels
6 years ago
SomberNight
0d4593eebf
improve Qt Receive tab for LN payment requests
6 years ago
ThomasV
c7e47b74a9
Separate open_channel dialog. In open_channel_coroutine, use host and port from channel announcements
6 years ago
ThomasV
61983c222a
lightning: single shared instance of Watcher, ChannelDB and PathFinder
6 years ago
ThomasV
6e71340e52
do not block GUI with open_channel
6 years ago
ThomasV
40fcf58fec
lightning: display remote balance in gui
6 years ago
ThomasV
bf6d28e1f0
integrate channels_list with existing framework
6 years ago
ThomasV
4fe912f4b3
qt: fix unit of lnaddr.amount
6 years ago
ThomasV
34d5f1b2e3
lightning: connect send button
6 years ago
ThomasV
12d3877873
lightning GUI: use existing receive and send tabs with lightning invoices
6 years ago
Janus
7d2a6d83d5
ln: don't make invoice if peer can't possibly pay, append _sat to sat
...
parameters to avoid confusion
6 years ago
ThomasV
af4f0b6daf
lnworker: separate invoice creation from payment flow
6 years ago
Janus
6a8e5d5954
ln: restore functionality
6 years ago
ThomasV
762dea6593
fix amount in open_channel, add listchannels command
6 years ago
ThomasV
b71f020fc9
move on_funding_locked to lnworker
6 years ago
ThomasV
0552c61b66
lightning: add payment methods to lnworker
6 years ago
ThomasV
f66377604d
fix lnaddr.py following rebase
6 years ago
ThomasV
5666188e9e
update lnbase after crypto refactoring
6 years ago
Janus
1d8c771440
lnbase: remove lnbase stub
6 years ago
ThomasV
5a819611c8
qt: fix password passed to open_channel, cleanup
6 years ago
Janus
10e8a90224
kivy: port lightning ui to lnbase
6 years ago
Janus
18963405ee
lightning: remove hub based approach, port qt gui to lnbase
6 years ago
SomberNight
7ba3f2d54d
calc short_channel_id after funding locked
6 years ago
SomberNight
053c571d74
minor clean-up of prev. util.xor_bytes
6 years ago
ThomasV
96544b8b58
lnbase: derive keys from wallet keystore
6 years ago
SomberNight
b3da13420b
bitcoin.py: SCRIPT-related clean-up. transaction.py: construct_witness
6 years ago
SomberNight
f174609158
constants.py: Simnet inherits from Testnet
6 years ago
Janus
8468fc8f68
use same servers for simnet as for regtest
6 years ago
Janus
5b1a5e8786
avoid duplicating bech32 module
6 years ago
ThomasV
6ba846bff0
fix hash in make_offered_htlc
6 years ago
ThomasV
60d6080fe5
lightning: separate testing from main code
6 years ago
SomberNight
98f46dbaf5
implement script_num_to_hex. fix encoding of argument for CSV in make_commitment
6 years ago
Janus
9617447a0f
lnbase: add lnbase_test
6 years ago
Janus
094b939a24
lightning: qt channel dialog, fix for shutdown when lightning disabled
6 years ago
Janus
0abfcd2b6a
lightning: add --simnet and --lightning switches
6 years ago