save wallet when needed when receiving blocks