diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-10-18 21:35:27 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-10-18 21:36:38 +0200 |
| commit | 7f71a3c591945769ad33e5734105219062311d1e (patch) | |
| tree | fe9c4008eeeb0f912630ecf80b7342072f15e353 /src/main.h | |
| parent | Merge #8908: Update bitcoin-qt.desktop (diff) | |
| parent | Add preciousblock tests (diff) | |
| download | discoin-7f71a3c591945769ad33e5734105219062311d1e.tar.xz discoin-7f71a3c591945769ad33e5734105219062311d1e.zip | |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index db58b2748..49768f21c 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); |