Commit Graph

603 Commits

Author SHA1 Message Date
ThomasV
f702bbac11 integrate channels_list with existing framework 2018-07-13 16:44:01 +02:00
ThomasV
eb9434ca48 request list: remove Type column 2018-07-13 16:44:01 +02:00
ThomasV
ed496dca4b qt: fix unit of lnaddr.amount 2018-07-13 16:44:01 +02:00
ThomasV
123f10054e lightning: connect send button 2018-07-13 16:44:01 +02:00
ThomasV
a388fb6ffd lightning GUI: use existing receive and send tabs with lightning invoices 2018-07-13 16:44:01 +02:00
Janus
0a67a824b6 ln: don't make invoice if peer can't possibly pay, append _sat to sat
parameters to avoid confusion
2018-07-13 16:44:01 +02:00
ThomasV
8580be30b2 lnworker: separate invoice creation from payment flow 2018-07-13 16:44:01 +02:00
Janus
4d34977359 ln: restore functionality 2018-07-13 16:44:01 +02:00
ThomasV
db75ff04ce fix amount in open_channel, add listchannels command 2018-07-13 16:44:01 +02:00
ThomasV
9598978cc4 move on_funding_locked to lnworker 2018-07-13 16:44:01 +02:00
ThomasV
68f409fd27 lightning: add payment methods to lnworker 2018-07-13 16:44:01 +02:00
ThomasV
a69e72b830 lightning: move lnworker code to its own module 2018-07-13 16:44:01 +02:00
ThomasV
3a9b15bc2d fix lnaddr.py following rebase 2018-07-13 16:44:01 +02:00
ThomasV
82953cb092 update lnbase after crypto refactoring 2018-07-13 16:44:01 +02:00
Janus
9ad0b7a878 lnbase: remove lnbase stub 2018-07-13 16:44:01 +02:00
ThomasV
275f26729f qt: fix password passed to open_channel, cleanup 2018-07-13 16:44:01 +02:00
Janus
e550e0241b kivy: port lightning ui to lnbase 2018-07-13 16:44:01 +02:00
Janus
5f3613d8b7 lightning: remove hub based approach, port qt gui to lnbase 2018-07-13 16:43:59 +02:00
SomberNight
1fc0b1378d calc short_channel_id after funding locked 2018-07-13 16:43:24 +02:00
SomberNight
a3e1e5dd47 minor clean-up of prev. util.xor_bytes 2018-07-13 16:43:24 +02:00
ThomasV
5ebc328ae6 lnbase: derive keys from wallet keystore 2018-07-13 16:43:24 +02:00
SomberNight
0a55216045 bitcoin.py: SCRIPT-related clean-up. transaction.py: construct_witness 2018-07-13 16:43:24 +02:00
SomberNight
91c5ddfad8 constants.py: Simnet inherits from Testnet 2018-07-13 16:43:24 +02:00
Janus
30abdbfda3 use same servers for simnet as for regtest 2018-07-13 16:43:24 +02:00
Janus
e6b22e9d56 avoid duplicating bech32 module 2018-07-13 16:43:24 +02:00
ThomasV
0edba56315 fix hash in make_offered_htlc 2018-07-13 16:43:24 +02:00
Janus
d3d23066e9 lnbase: offered htlc script construction 2018-07-13 16:43:24 +02:00
ThomasV
1ded2fd7b2 lightning: separate testing from main code 2018-07-13 16:43:24 +02:00
SomberNight
905998e87a implement script_num_to_hex. fix encoding of argument for CSV in make_commitment 2018-07-13 16:43:24 +02:00
ThomasV
5aba0b9538 lnbase: create unit test for commitment tx 2018-07-13 16:43:24 +02:00
Janus
802206bdf3 network: stop loop on loop thread 2018-07-13 16:43:24 +02:00
ThomasV
90bab35789 lnbase: initial commitment transaction 2018-07-13 16:43:24 +02:00
Janus
9949a8fd58 lightning: fix hub backend loop availability 2018-07-13 16:43:24 +02:00
Janus
afaef1e7ab network: do not acquire lightninglock for lnbase 2018-07-13 16:43:24 +02:00
Janus
c0a8fd811f lnbase: add lnbase_test 2018-07-13 16:43:24 +02:00
ThomasV
1c90479f55 lnbase: expose wallet object in LNWorker 2018-07-13 16:43:24 +02:00
ThomasV
4615b9134d fix asyncio loop 2018-07-13 16:43:24 +02:00
ThomasV
b64e97a68b integrate lnbase with network 2018-07-13 16:43:24 +02:00
Janus
1c8be7d3e7 lightning: qt channel dialog, fix for shutdown when lightning disabled 2018-07-13 16:35:43 +02:00
Janus
f2798d09ea kivy: paste test seed using xclip, lightning: do not catch BaseException unnecessarily, fix clearSubscribers, detect passworded wallet correctly 2018-07-13 16:35:43 +02:00
ThomasV
4426ea2e70 simplify parameters, add lndhost to config 2018-07-13 16:35:43 +02:00
Janus
ea5a42d2eb lightning: add --simnet and --lightning switches 2018-07-13 16:35:43 +02:00
Janus
ee576d3ead lightning: use queueing lock 2018-07-13 16:35:42 +02:00
Janus
a13fb91ea4 lightning: less junk on console, quicker shutdown 2018-07-13 16:35:42 +02:00
Janus
f5bfbf97d3 lightning: fix syntax 2018-07-13 16:35:42 +02:00
Janus
702a2919ec lightning: complete moving of lightning objects, acquire net/wallet lock while answering lightning requests 2018-07-13 16:35:42 +02:00
Janus
920371e350 lightning: misc patches, launch asyncio loop on separate thread 2018-07-13 16:34:23 +02:00
Janus
cce6421340 lightning: march 2018 rebase, without integration 2018-07-13 16:34:23 +02:00
Janus
87f6aa09df log failure to import plugins or plot module 2018-07-13 15:24:16 +02:00
ThomasV
77940148fa fix paths in buildozer/makefile 2018-07-13 14:45:08 +02:00