![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <block.h>
Public Member Functions | |
CBlock () | |
CBlock (const CBlockHeader &header) | |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion) |
void | SetNull () |
CBlockHeader | GetBlockHeader () const |
std::string | ToString () const |
![]() | |
CBlockHeader () | |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion) |
void | SetNull () |
bool | IsNull () const |
uint256 | GetHash () const |
int64_t | GetBlockTime () const |
Public Attributes | |
std::vector< CTransaction > | vtx |
CTxOut | txoutMasternode |
std::vector< CTxOut > | voutSuperblock |
bool | fChecked |
ADD_SERIALIZE_METHODS | |
![]() | |
int32_t | nVersion |
uint256 | hashPrevBlock |
uint256 | hashMerkleRoot |
uint32_t | nTime |
uint32_t | nBits |
uint32_t | nNonce |
ADD_SERIALIZE_METHODS | |
|
inline |
|
inline |
Definition at line 112 of file block.h.
Referenced by CMerkleBlock::CMerkleBlock().
|
inline |
|
inline |
Definition at line 103 of file block.h.
Referenced by CBlock(), and ReadBlockFromDisk().
std::string CBlock::ToString | ( | ) | const |
Definition at line 18 of file block.cpp.
Referenced by ProcessBlockFound().
|
mutable |
Definition at line 82 of file block.h.
Referenced by CheckBlock(), and SetNull().
|
mutable |
Definition at line 80 of file block.h.
Referenced by CreateNewBlock(), getblocktemplate(), and SetNull().
|
mutable |
Definition at line 81 of file block.h.
Referenced by CreateNewBlock(), getblocktemplate(), and SetNull().
std::vector<CTransaction> CBlock::vtx |
Definition at line 77 of file block.h.
Referenced by BitcoinMiner(), BlockMerkleBranch(), BlockMerkleRoot(), blockToJSON(), CheckBlock(), CMerkleBlock::CMerkleBlock(), ConnectBlock(), ConnectTip(), ContextualCheckBlock(), CreateGenesisBlock(), CreateNewBlock(), DisconnectBlock(), DisconnectTip(), getblocktemplate(), GetTransaction(), gettxoutproof(), IncrementExtraNonce(), IsBlockValueValid(), ProcessBlockFound(), ProcessGetData(), ReceivedBlockTransactions(), RecursiveDynamicUsage(), SerializationOp(), CMerkleTx::SetMerkleBranch(), SetNull(), ToString(), CMasternode::UpdateLastPaid(), and CVerifyDB::VerifyDB().