aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-10-18 21:35:27 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-10-18 21:36:38 +0200
commit7f71a3c591945769ad33e5734105219062311d1e (patch)
treefe9c4008eeeb0f912630ecf80b7342072f15e353 /src/main.h
parentdf7519cbc1a9613a557bf84ad3c124795155f287 (diff)
parent5805ac836c5847bc54cbef3e71154d022ca18eda (diff)
downloadbitcoin-7f71a3c591945769ad33e5734105219062311d1e.tar.xz
Merge #6996: Add preciousblock RPC
5805ac8 Add preciousblock tests (Pieter Wuille) 5127c4f Add preciousblock RPC (Pieter Wuille)
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index db58b27487..49768f21c1 100644
--- a/src/main.h
+++ b/src/main.h
@@ -509,6 +509,9 @@ public:
/** Find the last common block between the parameter chain and a locator. */
CBlockIndex* FindForkInGlobalIndex(const CChain& chain, const CBlockLocator& locator);
+/** Mark a block as precious and reorganize. */
+bool PreciousBlock(CValidationState& state, const CChainParams& params, CBlockIndex *pindex);
+
/** Mark a block as invalid. */
bool InvalidateBlock(CValidationState& state, const CChainParams& chainparams, CBlockIndex *pindex);