IDLE = 'IDLE' MINING = 'MINING' MIA = 'MIA' ERROR = 'ERROR' task_types = [ IDLE, MINING, ]