jingtian: Detection-only code for new driver
jingtian: Implement mining