diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-04-22 14:30:02 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-05-06 14:03:56 -0400 |
commit | faf3729242c5e9486e137e549f05bf20bd3908a0 (patch) | |
tree | 2e8eac01221ff69a1c9c5ccacff731d6ee0ed1ff /src/interfaces/chain.h | |
parent | 3356799ee3f5441b8d6e68b9172eb641011354f8 (diff) |
wallet: Only fail rescan when blocks have actually been pruned
Diffstat (limited to 'src/interfaces/chain.h')
-rw-r--r-- | src/interfaces/chain.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h index 7564ad26ac..550b2fe28e 100644 --- a/src/interfaces/chain.h +++ b/src/interfaces/chain.h @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -207,8 +207,8 @@ public: //! Relay dust fee setting (-dustrelayfee), reflecting lowest rate it's economical to spend. virtual CFeeRate relayDustFee() = 0; - //! Check if pruning is enabled. - virtual bool getPruneMode() = 0; + //! Check if any block has been pruned. + virtual bool havePruned() = 0; //! Check if p2p enabled. virtual bool p2pEnabled() = 0; |