def stop(self): from coins import coins_miner coins_miner.A('stop') coins_miner.A('shutdown') return True
def start(self): from coins import coins_miner coins_miner.A('init') coins_miner.A('start') return True