Rewrite JsonRPC requests using asyncio.
- commands are async - the asyncio loop is started and stopped from the main script - the daemon's main loop runs in the main thread - use jsonrpcserver and jsonrpcclient instead of jsonrpclib
This commit is contained in:
@@ -93,6 +93,9 @@ class MockLNWallet:
|
||||
self.localfeatures = LnLocalFeatures(0)
|
||||
self.pending_payments = defaultdict(asyncio.Future)
|
||||
|
||||
def get_invoice_status(self, key):
|
||||
pass
|
||||
|
||||
@property
|
||||
def lock(self):
|
||||
return noop_lock()
|
||||
|
||||
Reference in New Issue
Block a user