Commit graph

10853 commits

Author SHA1 Message Date
Janus
9617447a0f lnbase: add lnbase_test 2019-08-20 09:03:09 +02:00
ThomasV
70dd4d1235 lnbase: expose wallet object in LNWorker 2019-08-20 09:03:09 +02:00
Janus
e1824233b5 lnbase: merge initialize and main_loop 2019-08-20 09:03:09 +02:00
Janus
7bd3cbf567 lnbase: handle error during channel establishment 2019-08-20 09:03:09 +02:00
Janus
78119f9733 lnbase: channel establishment flow, avoid using Wallet instance 2019-08-20 09:03:09 +02:00
ThomasV
1f5852bd15 lnbase: use relative imports 2019-08-20 09:03:09 +02:00
Janus
784b06f1b9 lnbase: support simnet/testnet, create accepted open_channel message 2019-08-20 09:03:09 +02:00
Janus
ab2e03fcb5 lnbase: use valid pubkeys in open_channel 2019-08-20 09:03:09 +02:00
Janus
304c4b0222 lnbase: try sending open_channel 2019-08-20 09:03:09 +02:00
ThomasV
d8eedf514d lnbase: add draft handlers 2019-08-20 09:03:09 +02:00
Janus
fc2864cb63 lnbase: avoid reimplementing int.to_bytes 2019-08-20 09:03:09 +02:00
Janus
f2066c4629 lnbase: avoid reimplementing int.from_bytes 2019-08-20 09:03:09 +02:00
Janus
94b87ac7d1 lnbase: do not catch all exceptions, tolerate calculations with variables from kwargs 2019-08-20 09:03:09 +02:00
ThomasV
3795770b37 integrate lnbase with network 2019-08-20 09:03:09 +02:00
ThomasV
0fac793735 lnbase: process ping messages 2019-08-20 09:03:09 +02:00
ThomasV
98707a3624 lnbase: create main loop 2019-08-20 09:03:09 +02:00
ThomasV
bcb268d554 lnbase: save buffer for next read 2019-08-20 09:03:09 +02:00
ThomasV
7421bffaa2 lnbase: Peer class 2019-08-20 09:03:09 +02:00
ThomasV
692bc148bb lnbase: fix json loading and indentation 2019-08-20 09:03:09 +02:00
Janus
c69f812f13 lightning: do not list python files as resources, use lightning spec generated serialization 2019-08-20 09:03:09 +02:00
ThomasV
cbf8d4c781 lightning network base 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
5e1412a839 lightning: channel details popup 2019-08-20 09:03:09 +02:00
Janus
ec89b496bf lightning: do not catch BaseException unnecessarily, fix clearSubscribers, detect passworded wallet correctly 2019-08-20 09:03:09 +02:00
ThomasV
fe1a1b27c6 simplify parameters, add lndhost to config 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
ae7bce3385 lightning: paste sample using clipboard 2019-08-20 09:03:09 +02:00
Janus
6aebc0fd5d kivy: fix channel list error handling, close functionality for inactive channels 2019-08-20 09:03:09 +02:00
Janus
1a05838ef2 lightning: assert result type, add invoice qr dialog 2019-08-20 09:03:09 +02:00
Janus
afa5797099 lightning: kivy: open channel button in invoice 2019-08-20 09:03:09 +02:00
Janus
1ab03e8b2a lightning: fix kivy channel close 2019-08-20 09:03:09 +02:00
Janus
d19e8e7f9b lightning: python3.5 compat 2019-08-20 09:03:09 +02:00
Janus
ffe6342882 lightning: fix channels dialog 2019-08-20 09:03:09 +02:00
Janus
13527987bc lightning: add missing import, set console to none initially 2019-08-20 09:03:09 +02:00
Janus
76bd120bdf lightning: do not require lock for broadcast tx, it is thread-safe 2019-08-20 09:03:09 +02:00
Janus
311c53ef1d lightning: save key derivation point 2019-08-20 09:03:09 +02:00
Janus
6ab8badb61 lightning: separate thread for publish transaction 2019-08-20 09:03:09 +02:00
Janus
277e5be229 lightning: use queueing lock 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
e3ef8d7ec4 lightning: don't receive too much data, workaround by reading byte by byte 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