1
0

lightning: remove hub based approach, port qt gui to lnbase

This commit is contained in:
Janus
2018-05-23 15:46:30 +02:00
committed by ThomasV
parent 4fdf1b9b84
commit 18963405ee
14 changed files with 132 additions and 4309 deletions

View File

@@ -106,7 +106,7 @@ if __name__ == "__main__":
privkey = wallet.storage.get("channels_privkey", None)
assert privkey is not None
privkey = bfh(privkey)
peer = Peer(host, port, pubkey, privkey, request_initial_sync=True, network=network)
peer = Peer(host, port, pubkey, privkey, network, request_initial_sync=True)
network.futures.append(asyncio.run_coroutine_threadsafe(peer.main_loop(), network.asyncio_loop))
funding_satoshis = 2000000