how does solo mining work