8 #include <boost/test/unit_test.hpp>
30 for (
int i = 0; i < posActivation; i++) {
const CChainParams & Params()
Return the currently selected parameters.
void ForceSetArg(const std::string &strArg, const std::string &strValue)
static std::unique_ptr< BerkeleyDatabase > CreateMock()
Return object for accessing temporary in-memory database.
std::vector< CTransactionRef > vtx
const Consensus::Params & GetConsensus() const
CPubKey GetPubKey() const
Compute the public key from a private key.
#define BOOST_CHECK(expr)
int nActivationHeight
Height of the first block for which the new consensus rules will be active.
NetworkUpgrade vUpgrades[MAX_NETWORK_UPGRADES]
std::vector< CTransaction > coinbaseTxns
CBlock CreateAndProcessBlock(const std::vector< CMutableTransaction > &txns, const CScript &scriptPubKey, bool fNoMempoolTx=true)
std::unique_ptr< CWallet > pwalletMain
void UnregisterValidationInterface(CValidationInterface *pwalletIn)
Unregister a wallet from core.
void RegisterValidationInterface(CValidationInterface *pwalletIn)
Register a wallet to receive updates from core.
void SyncWithValidationInterfaceQueue()
This is a synonym for the following, which asserts certain locks are not held: std::promise<void> pro...