 |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Go to the documentation of this file.
6 #ifndef BITCOIN_MINER_H
7 #define BITCOIN_MINER_H
33 void GeneratePrcycoins(
bool fGenerate,
CWallet* pwallet,
int nThreads);
38 void GeneratePoAPrcycoin(
CWallet* pwallet,
int period);
43 void BitcoinMiner(
CWallet* pwallet,
bool fProofOfStake);
44 void ThreadStakeMinter();
45 #endif // ENABLE_WALLET
56 #endif // BITCOIN_MINER_H
A key allocated from the key pool.
void UpdateTime(CBlockHeader *block, const CBlockIndex *pindexPrev)
Check mined block.
Serialized script, used inside transaction inputs and outputs.
std::vector< int64_t > vTxSigOps
An encapsulated public key.
std::vector< CAmount > vTxFees
An encapsulated private key.
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances,...
void IncrementExtraNonce(CBlock *pblock, CBlockIndex *pindexPrev, unsigned int &nExtraNonce)
Modify the extranonce in a block.
CBlockTemplate * CreateNewPoABlock(const CScript &scriptPubKeyIn, const CPubKey &txPub, const CKey &txPriv, CWallet *pwallet)
The block chain is a tree shaped structure starting with the genesis block at the root,...
CBlockTemplate * CreateNewBlock(const CScript &scriptPubKeyIn, const CPubKey &txPub, const CKey &txPriv, CWallet *pwallet, bool fProofOfStake)
Generate a new block, without valid proof-of-work.