![]() |
BSHA3
0.17.99
P2P Blockchain, based on Bitcoin
|
Nodes collect new transactions into a block, hash them into a hash tree, and scan through nonce values to make the block's hash satisfy proof-of-work requirements. More...
#include <block.h>
Public Member Functions | |
CBlockHeader () | |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action) |
void | SetNull () |
bool | IsNull () const |
uint256 | GetHash () const |
uint256 | GetHash3 () const |
int64_t | GetBlockTime () const |
Public Attributes | |
int32_t | nVersion |
uint256 | hashPrevBlock |
uint256 | hashMerkleRoot |
uint32_t | nTime |
uint32_t | nBits |
uint32_t | nNonce |
ADD_SERIALIZE_METHODS | |
Nodes collect new transactions into a block, hash them into a hash tree, and scan through nonce values to make the block's hash satisfy proof-of-work requirements.
When they solve the proof-of-work, they broadcast the block to everyone and the block is added to the block chain. The first transaction in the block is a special one that creates a new coin owned by the creator of the block.
|
inline |
|
inline |
uint256 CBlockHeader::GetHash | ( | ) | const |
uint256 CBlockHeader::GetHash3 | ( | ) | const |
|
inline |
|
inline |
|
inline |