diff --git a/ethjsonrpc/client.py b/ethjsonrpc/client.py index 89a9edb..345154a 100644 --- a/ethjsonrpc/client.py +++ b/ethjsonrpc/client.py @@ -714,6 +714,22 @@ def shh_getMessages(self, filter_id): ''' return self._call('shh_getMessages', [filter_id]) + def miner_start(self): + ''' + undocumented + + NEEDS TESTING + ''' + return self._call('miner_start') + + def miner_stop(self): + ''' + undocumented + + NEEDS TESTING + ''' + return self._call('miner_stop') + class ParityEthJsonRpc(EthJsonRpc): ''' diff --git a/test.py b/test.py index 3518e88..777f3a1 100644 --- a/test.py +++ b/test.py @@ -16,6 +16,8 @@ 'eth_getCompilers', 'eth_newPendingTransactionFilter', 'eth_getWork', + 'miner_start', + 'miner_stop' # 'shh_version', # 'shh_newIdentity', # 'shh_newGroup',