Commit Graph

595 Commits

Author SHA1 Message Date
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
Janus
097ac144d9 file reorganization with top-level module 2018-07-13 14:01:37 +02:00
Janus Troelsen
4f85615734 add simnet support (#4455) 2018-06-22 17:07:07 +02:00
Filip Gospodinov
61154794c8 electrum: cleanup plugin imports
`electrum_plugins` is imported in the `electrum` script
without being used - I assume it's done to make PyInstaller
find that package. But this can be achieved by avoiding
the usage of `__import__()` when importing `electrum_plugins`
where it's effectively used.
2018-04-26 06:12:20 +02:00
Dimitris Apostolou
989c9c2b55 Fix typos 2018-04-15 20:34:40 +02:00
fivepiece
b4d71e651b add regtest support (#4242)
* add regtest support

* set default regtest ssl and tcp ports to 51002 and 51002

* regtest inherits parameters from testnet
2018-04-11 19:10:14 +02:00
SomberNight
7b50790584
do not raise BaseException 2018-04-07 17:10:30 +02:00
ThomasV
08e7a5f05f remove pyjnius thread monkey patching; now in pyjnius 2018-04-01 11:18:15 +02:00
SomberNight
0f5cabc7f6 fix #4122 2018-03-14 12:42:42 +01:00