[cleanup] Text for ~/.btcp/bitcoin.conf, whitespace

This commit is contained in:
Jon Layton 2018-07-21 14:17:40 -05:00
parent 88357cf1ca
commit 3ef8c14019
4 changed files with 15 additions and 15 deletions

View File

@ -34,9 +34,9 @@ Run `btpcd --version` to find out
- Compiler version (gcc -version): - Compiler version (gcc -version):
### Any extra information that might be useful in the debugging process. ### Any extra information that might be useful in the debugging process.
This includes the relevant contents of `~/.btcprivate/debug.log`. You can paste raw text, attach the file directly in the issue or link to the text via a pastebin type site. This includes the relevant contents of `~/.btcp/debug.log`. You can paste raw text, attach the file directly in the issue or link to the text via a pastebin type site.
Please also include any non-standard things you did during compilation (extra flags, dependency version changes etc.) if applicable. Please also include any non-standard things you did during compilation (extra flags, dependency version changes etc.) if applicable.
### Do you have a back up of `~/.btcprivate` directory and/or take a VM snapshot? ### Do you have a back up of `~/.btcp` directory and/or take a VM snapshot?
- Backing up / making a copy of the `~/.btcprivate` directory might help make the problem reproducible. Please redact appropriately. - Backing up / making a copy of the `~/.btcp` directory might help make the problem reproducible. Please redact appropriately.
- Taking a VM snapshot is really helpful for interactively testing fixes - Taking a VM snapshot is really helpful for interactively testing fixes

View File

@ -23,7 +23,7 @@ std::string GetUTXOFileName(int nHeight, const CChainParams& chainparams)
boost::filesystem::path utxo_path(GetDataDir() / "utxo_snapshot"); boost::filesystem::path utxo_path(GetDataDir() / "utxo_snapshot");
if (utxo_path.empty() || !utxo_path.has_filename()) if (utxo_path.empty() || !utxo_path.has_filename())
{ {
LogPrintf("GetUTXOFileName(): UTXO path is not specified, add utxo-path=<path-to-utxop-files> to your btcprivate.conf and restart"); LogPrintf("GetUTXOFileName(): UTXO path is not specified, add utxo-path=<path-to-utxo-files> to your bitcoin.conf and restart");
return ""; return "";
} }
@ -63,7 +63,7 @@ bool ContextualCheckBlockFork(const CBlock& block, CValidationState& state,
int nHeight = pindexprev->nHeight + 1; int nHeight = pindexprev->nHeight + 1;
if (fExpensiveChecks && isForkBlock(nHeight, chainparams.ForkStartHeight(), chainparams.ForkHeightRange())) { if (fExpensiveChecks && isForkBlock(nHeight, chainparams.ForkStartHeight(), chainparams.ForkHeightRange())) {
//if block is in forking region validate it agains file records // If block is in forking region, validate it against file records
std::string utxo_file_path = GetUTXOFileName(nHeight, chainparams); std::string utxo_file_path = GetUTXOFileName(nHeight, chainparams);
std::ifstream if_utxo(utxo_file_path, std::ios::binary | std::ios::in); std::ifstream if_utxo(utxo_file_path, std::ios::binary | std::ios::in);