aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2020-12-10 13:21:54 +0100
committerJonas Schnelli <dev@jonasschnelli.ch>2021-02-16 10:26:15 +0100
commit5e112269c311a559bfded814d3c3c438349a1986 (patch)
tree2f8e1a8a8f3c7849d3733f4029a203afe43473bb /src/validation.h
parent00d57ff76854938ead800767fb673a8af46eac8e (diff)
downloadbitcoin-5e112269c311a559bfded814d3c3c438349a1986.tar.xz
Avoid pruning below the blockfilterindex sync height
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h
index e85c7bbf1a..30d8c9c17a 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -361,7 +361,7 @@ private:
*
* @param[out] setFilesToPrune The set of file indices that can be unlinked will be returned
*/
- void FindFilesToPrune(std::set<int>& setFilesToPrune, uint64_t nPruneAfterHeight, int chain_tip_height, bool is_ibd);
+ void FindFilesToPrune(std::set<int>& setFilesToPrune, uint64_t nPruneAfterHeight, int chain_tip_height, int prune_height, bool is_ibd);
public:
BlockMap m_block_index GUARDED_BY(cs_main);