Mining while spending