add block mining and verification