mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
15 lines
391 B
Python
15 lines
391 B
Python
class Daemon(object):
|
|
def __init__(self, backend):
|
|
self._backend = backend
|
|
|
|
def get_info(self):
|
|
return self._backend.get_info()
|
|
|
|
def get_height(self):
|
|
return self._backend.get_info()['height']
|
|
|
|
def send_transaction(self, blob):
|
|
return self._backend.send_transaction(blob)
|
|
|
|
def get_mempool(self):
|
|
return self._backend.get_mempool()
|