wownero-python/monero/daemon.py
2018-01-22 03:56:05 +01:00

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()