moved mutex_file to config
moved mutext_file to commit and fixed a bug on walletnotify on blockhash is unavailable until nconfirm > 0