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