Exemplo n.º 1
0
 def removeNode(self, nodeId):
     """
     remove Node
     """
     common.check_nodeId(nodeId)
     fn_name = "remove"
     fn_args = [nodeId]
     return self.client.send_transaction_getReceipt(fn_name, fn_args, self.gasPrice)
Exemplo n.º 2
0
 def addObserver(self, nodeId):
     """
     addObserver
     """
     common.check_nodeId(nodeId)
     fn_name = "addObserver"
     fn_args = [nodeId]
     return self.client.send_transaction_getReceipt(fn_name, fn_args, self.gasPrice)