aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-08-29 12:42:00 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-09-03 07:32:33 -0400
commitfa99efd054c57cd6717391f9ae8ce32b06986ff8 (patch)
treef70a63fa9144a720415528008c87011f78875859 /src/validation.h
parent119e97ae2d805fc29ef3744fff401ef289a19f8e (diff)
downloadbitcoin-fa99efd054c57cd6717391f9ae8ce32b06986ff8.tar.xz
doc: ActivateBestChainStep return value
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h
index 99850f71d9..3b11096282 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -211,7 +211,7 @@ static const uint64_t MIN_DISK_SPACE_FOR_BLOCK_FILES = 550 * 1024 * 1024;
* @param[in] pblock The block we want to process.
* @param[in] fForceProcessing Process this block even if unrequested; used for non-network block sources and whitelisted peers.
* @param[out] fNewBlock A boolean which is set to indicate if the block was first received via this call
- * @return True if state.IsValid()
+ * @returns If the block was processed, independently of block validity
*/
bool ProcessNewBlock(const CChainParams& chainparams, const std::shared_ptr<const CBlock> pblock, bool fForceProcessing, bool* fNewBlock) LOCKS_EXCLUDED(cs_main);
@@ -653,6 +653,8 @@ public:
*
* If FlushStateMode::NONE is used, then FlushStateToDisk(...) won't do anything
* besides checking if we need to prune.
+ *
+ * @returns true unless a system error occurred
*/
bool FlushStateToDisk(
const CChainParams& chainparams,