Skip to content

Instantly share code, notes, and snippets.

@brakmic
Created October 3, 2017 11:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brakmic/58ab54c6e33b6a54e24243709e8053f0 to your computer and use it in GitHub Desktop.
Save brakmic/58ab54c6e33b6a54e24243709e8053f0 to your computer and use it in GitHub Desktop.
Bitcoin Block Header (simplified)
class BlockHeader {
public:
int32_t Version;
uint256 PreviousBlockHash;
uint256 MerkleRootHash;
uint32_t Timestamp;
uint32_t TargetToBeSolved;
uint32_t NonceForProofOfWork;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment