Homework on Blockchain and Mining Visually - Questions

Homework on Blockchain and Mining Visually - Questions

  1. Why is it important that the blocks are cryptographically linked together?

To ensure the integrity of the data in the blockchain. It makes sure that no one could change or delete any transactions.

  1. What does the block structure look like in bitcoin?

Hash of previous block, a list of txs, the nonce and the hash of current block.

1 Like

1.) It is important to keep the integrity of the provenance because the algorithmic encryption relies on the integrity of the proceeding block in as part of the security.

2.). A block consist of a block header, the previous transaction in hash and the current transaction in hash the time, nonce and how many bits, a null pointer, a coinbase and a the merkle tree id contained in the block, or the transactions it contains, that are being included in the block as verified.

I found this video very helpful if anyone is interested.

2 Likes

It is important because if you were to alter a transaction in one block then all the following blocks will have to be relinked which means you’ll need to resolve all the cryptographic puzzles. Which will be literally impossible to catch up with other miners in the blockchain.

The block structure looks like this

  1. transactions information 2) previous Hash number 3) nonce (random number solution) 4) new hash number
1 Like
  1. Provenance is the whole security protocol of block chain. Changing anything in the chain will make it break the chain and the network will not accept.

2.) Signature Block\ Header and the transaction block/Block

1 Like
  1. Why is it important that the blocks are cryptographically linked together?
    A: Due to these cryptographic links, any change to a previous block, would invalidate all subsequent blocks, making it practically impossible to get the change confirmed by the network. The fact that each block is linked to its predecessor provides security to the network.

  2. What does the block structure look like in bitcoin?
    A: A block header with the previous hash, a timestamp, transaction data, difficulty, and the nonce.

1 Like

Homework on Blockchain and Mining Visually - Questions

  1. Why is it important that the blocks are cryptographically linked together?
    It is important that the blocks are cryptographically linked together in order that the data maintain its immutability as well as censorship resistance.
  2. What does the block structure look like in bitcoin?
    The block structure of the bitcoin consists of the hash of the previous block, a list of all the transactions in the current block, a random number to be used to generate the hash for the current block (nonce), and the hash for the current block.
1 Like
Why is it important that the blocks are cryptographically linked together?

    This helps with the immutability of the chain, changing one block changes the hash on all of them. It also makes it nearly impossible to modify a block and double spend.

What does the block structure look like in bitcoin?

Magic No ( 4 bytes - 0xD9B4BEF9) constant

Block size ( 4 bytes )

Block header ( 80 bytes )

Transaction count ( 1- 9 bytes )

Transactions

1 Like

But the blockheader is the most important one to answer this question.
Because we want you to say that it has the hash of the previous block + nonce etcetera.

The header has 6 items:
Version
hashPrevBlock
hashMerkleRoot
Time
Bits (target)
Nonce

  1. Why is it important that the blocks are cryptographically linked together?

Because it secures the immutability of the blockchain. It is what makes it so difficult and expensive to change any data in a block that was already accepted on the blockchain. If someone would change any data on a previously mined block he would have to mine that block and all the blocks after it. That is all thanks to this cryptographic link the blocks make by always using the hash of the previous block in their own hash.

  1. What does the block structure look like in bitcoin?

A new block will always be produced later in time than the previous block, approximately 10 minutes later. When creating a new block, the miners calculate a hash function of the hash of the previous block, the data inside the current block and the nonce. The block will then only be accepted if the blockchain makes sense to the rest of the nodes, it is the longest blockchain and the hash of the current block is lower than the target.
This way we have a chain in time which consists of blocks containing data and that are linked together by hash functions.

…

1 Like

The Block also contains the previous Block Hash.

1 Like
  1. Helps prevent the data from being altered,data immutability.
  2. The hash of the block is based on the transactions in the block plus previous hash and the nonce that needs to be guessed.
1 Like

1. Why is it important that the blocks are cryptographically linked together?
So that you cannot change past transactions (immutability, no double spend)

2. What does the block structure look like in bitcoin?
Every block has:

  • Block size
  • Block header
  • Transaction counter
  • Transactions

The Block Header contains:

  • Version
  • Previous block hash
  • Merkel Root
  • Timestamp
  • Difficulty target
  • Nonce
1 Like

Hi there!! But what is the structure of a block? What params or values does each block contain? (you already mentioned some…

Thanks Fabrice

I will try to give more detailed answers…good to see someone is paying attention…

Cheers…

1 Like
  1. Blocks are cryptographically linked so that if there is any change in data from a previous block, that block and every one there after would become invalid. This incentivises miners for follow rules and protocols, and also strongly increases the security and validity of transactions.

  2. Hash
    Previous Hash
    Transaction List
    Nonce

The hash of the block is determined by all of the above!

:slight_smile:

1 Like
  1. So that the computational power needed to alter information is increased - therefor making it extremely difficult to alter information on any single block as it would make all previous hashes invalid.

  2. The block is made up of a hash of transactions, the hash of the previous block and the nonce.

2 Likes
  1. to secure the blobkchain, stopping anyone from ameding any transaction on the blobkchain as each block link is based on the previous blocks thus any change will break all subsequent links in the chain.

  2. each block consists of the: block version, time stamp, difficulty target, pervious block hash, hash of the merkel root, nonce, transaction list.

1 Like
  1. Blocks are linked together crptographically for security. Any small change to a block creates a different hash that is recognised by the network as incorrect. The cost to a miner in hardware and electricity to reconstruct a portion of the chain (assuming enough hashing power to overtake the hashing power of the other miners) would be prohibitive.

  2. A block is constructed with the following elements:
    a) Version - this identifies a version of consensus rules used to construct a transaction.
    b) Time - the difference in time from the miner creating the block to the time to the 1st January 1970 in seconds. Displayed as time and date.
    c) Bits - the difficulty target as a number
    d) Nonce - this is the discovered value that the miner used to validate the block
    e) Previous block hash - the hash of the previous block header
    f) Hash of the merkel root - the hash of the transactions inside the block
    The above constitute the block header and then are followed by the transactions beginning with the Coinbase transaction.

1 Like

It contains a reference to the hash of the previous block, the data (transactions), a hash of this data, the nonce, a timestamp and the difficulty target for this block.

1 Like