PIVX Core  5.6.99
P2P Digital Currency
blocksutil.h
Go to the documentation of this file.
1 // Copyright (c) 2021 The PIVX Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or https://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef PIVX_TEST_UTIL_BLOCKSUTIL_H
6 #define PIVX_TEST_UTIL_BLOCKSUTIL_H
7 
8 #include "primitives/block.h"
9 #include <memory>
10 
11 // Process block and boost_check for the specific rejection reason.
12 void ProcessBlockAndCheckRejectionReason(std::shared_ptr<CBlock>& pblock,
13  const std::string& blockRejectionReason,
14  int expectedChainHeight);
15 
17 
18 #endif // PIVX_TEST_UTIL_BLOCKSUTIL_H
CBlock getBlock13b8a()
Definition: blocksutil.cpp:31
void ProcessBlockAndCheckRejectionReason(std::shared_ptr< CBlock > &pblock, const std::string &blockRejectionReason, int expectedChainHeight)
Definition: blocksutil.cpp:13
Definition: block.h:80