finish mining transactions