Quickly Explained Genesis.json File in Ethereum Blockchain

quickly explained genesis json file in ethereum blockchain

Blockchain

Quickly Explained Genesis.json File in Ethereum Blockchain

We have a lot of key values pairs I’ll explain the most important ones.

mixHash

  • 256-bit Hash
  • Sufficient amount of computation is carried out on block
  • Combined with nonce it proves that the proof of work is done

Nonce

  • 64-bit Hash
  • Hash that proves a certain amount of blocks have been mined

Difficulty

  • A scalar value
  • Difficulty level of a block
  • Can be calculated from previous block’s difficulty level
  • The higher the difficulty the harder to mined the block

Coinbase

  • Its’ an address – 160-bit
  • Sets in Miner
  • Miner will override it

Timestamp

  • Scalar value
  • Verify the order of blocks
  • Increase or decrease the difficulty level

ParentHash

  • 256-bit hash
  • Complete hash of parent including nonce and mixHash
  • Points to Parent block
  • Zero only in the genesis block

GasLimit

  • Scalar value
  • Equals to the current limit of the expenditure per block
  • Number that stops too complex contracts from executing

Where the rest?

Because they are also alloc (Pre allocate accounts with ether) and “Extra Data” fields and many more but these are not really important for the genesis block.

Continue Reading
You may also like...

I am a Sr Android App, Web Developer & Blockchain Project Manager having 5 plus years of extensive hands-on experience in Object Oriented Programming, Database Design and Implementation using Agile & UML. Pro in Yii2 PHP Framework, Android App Development, MYSQL, EOS & Etherium Blockchain & Smart Contract development.

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

More in Blockchain

Recent Posts

Categories

To Top