Commit graph

1556 commits

Author SHA1 Message Date
ThomasV
8346e358b2 move lnaddr.py to lib 2019-08-20 09:03:10 +02:00
Janus
77e9abc655 ln: store HTLCStateMachine in lnworker.channels 2019-08-20 09:03:10 +02:00
SomberNight
0d4593eebf improve Qt Receive tab for LN payment requests 2019-08-20 09:03:10 +02:00
ThomasV
c7e47b74a9 Separate open_channel dialog. In open_channel_coroutine, use host and port from channel announcements 2019-08-20 09:03:10 +02:00
ThomasV
61983c222a lightning: single shared instance of Watcher, ChannelDB and PathFinder 2019-08-20 09:03:10 +02:00
ThomasV
6e71340e52 do not block GUI with open_channel 2019-08-20 09:03:10 +02:00
ThomasV
40fcf58fec lightning: display remote balance in gui 2019-08-20 09:03:10 +02:00
ThomasV
bf6d28e1f0 integrate channels_list with existing framework 2019-08-20 09:03:10 +02:00
ThomasV
4fe912f4b3 qt: fix unit of lnaddr.amount 2019-08-20 09:03:10 +02:00
ThomasV
34d5f1b2e3 lightning: connect send button 2019-08-20 09:03:10 +02:00
ThomasV
12d3877873 lightning GUI: use existing receive and send tabs with lightning invoices 2019-08-20 09:03:10 +02:00
Janus
7d2a6d83d5 ln: don't make invoice if peer can't possibly pay, append _sat to sat
parameters to avoid confusion
2019-08-20 09:03:10 +02:00
ThomasV
af4f0b6daf lnworker: separate invoice creation from payment flow 2019-08-20 09:03:10 +02:00
Janus
6a8e5d5954 ln: restore functionality 2019-08-20 09:03:09 +02:00
ThomasV
762dea6593 fix amount in open_channel, add listchannels command 2019-08-20 09:03:09 +02:00
ThomasV
b71f020fc9 move on_funding_locked to lnworker 2019-08-20 09:03:09 +02:00
ThomasV
0552c61b66 lightning: add payment methods to lnworker 2019-08-20 09:03:09 +02:00
ThomasV
f66377604d fix lnaddr.py following rebase 2019-08-20 09:03:09 +02:00
ThomasV
5666188e9e update lnbase after crypto refactoring 2019-08-20 09:03:09 +02:00
Janus
1d8c771440 lnbase: remove lnbase stub 2019-08-20 09:03:09 +02:00
ThomasV
5a819611c8 qt: fix password passed to open_channel, cleanup 2019-08-20 09:03:09 +02:00
Janus
10e8a90224 kivy: port lightning ui to lnbase 2019-08-20 09:03:09 +02:00
Janus
18963405ee lightning: remove hub based approach, port qt gui to lnbase 2019-08-20 09:03:09 +02:00
SomberNight
7ba3f2d54d calc short_channel_id after funding locked 2019-08-20 09:03:09 +02:00
SomberNight
053c571d74 minor clean-up of prev. util.xor_bytes 2019-08-20 09:03:09 +02:00
ThomasV
96544b8b58 lnbase: derive keys from wallet keystore 2019-08-20 09:03:09 +02:00
SomberNight
b3da13420b bitcoin.py: SCRIPT-related clean-up. transaction.py: construct_witness 2019-08-20 09:03:09 +02:00
SomberNight
f174609158 constants.py: Simnet inherits from Testnet 2019-08-20 09:03:09 +02:00
Janus
8468fc8f68 use same servers for simnet as for regtest 2019-08-20 09:03:09 +02:00
Janus
5b1a5e8786 avoid duplicating bech32 module 2019-08-20 09:03:09 +02:00
ThomasV
6ba846bff0 fix hash in make_offered_htlc 2019-08-20 09:03:09 +02:00
ThomasV
60d6080fe5 lightning: separate testing from main code 2019-08-20 09:03:09 +02:00
SomberNight
98f46dbaf5 implement script_num_to_hex. fix encoding of argument for CSV in make_commitment 2019-08-20 09:03:09 +02:00
Janus
9617447a0f lnbase: add lnbase_test 2019-08-20 09:03:09 +02:00
Janus
094b939a24 lightning: qt channel dialog, fix for shutdown when lightning disabled 2019-08-20 09:03:09 +02:00
Janus
0abfcd2b6a lightning: add --simnet and --lightning switches 2019-08-20 09:03:09 +02:00
Janus
0f6566d11e lightning: less junk on console, quicker shutdown 2019-08-20 09:03:09 +02:00
Janus
d84eab0418 lightning: complete moving of lightning objects, acquire net/wallet lock while answering lightning requests 2019-08-20 09:03:09 +02:00
Janus
98f6f67c6b lightning: misc patches, launch asyncio loop on separate thread 2019-08-20 09:03:09 +02:00
Janus
ad5aac1383 lightning: march 2018 rebase, without integration 2019-08-20 09:03:09 +02:00
ThomasV
9c454726f4 rename WizardChoiceDialog (ambiguous) 2019-08-20 09:02:33 +02:00
SomberNight
bffc2a1d4b
wizard: try harder to have temporarily stored pw erased from memory 2019-08-14 17:27:38 +02:00
SomberNight
25a1ed048f
qt preferences: cast some config values to bool
to gracefully handle unexpected values

fixes #5562
2019-08-14 17:15:03 +02:00
ThomasV
b42009acb7 signtransaction: pass pubkey to tx.sign (fix #5522) 2019-08-14 12:49:35 +02:00
ThomasV
1d637ef988 fix #5558 2019-08-14 12:00:36 +02:00
ThomasV
aa7aeb9014 disable go_back button in wizard password dialog (fix #5509) 2019-08-14 10:14:28 +02:00
SomberNight
e62d652f14
(trivial) time.clock is deprecated, replace with time.process_time 2019-08-14 02:18:08 +02:00
SomberNight
bf7beba60c
kivy wizard: script type dialog now uses toggle buttons 2019-08-13 20:12:27 +02:00
SomberNight
bcbd52d752
kivy wizard: dedicated button for seed options
previously user had to touch the text field itself
2019-08-13 19:19:50 +02:00
ThomasV
a7b61fcab9 kivy: support bip39 seeds 2019-08-13 17:14:54 +02:00