Homework on Blockchain and Mining Visually - Questions

  1. It is important that blocks are linked together because changing one block changes all subsequent blocks. This is the core of bitcoin security - linking blocks together makes it practically impossible to go back and change one block.

  2. A block is composed of:

–Previous block hash
–Selected transactions
–Nonce

1: If they weren’t linked together there would be no proof of work, which would remove all the advantages of blockchain

2: each block consists of the hash from the previous block, the tx list and the nonce. These 3 units hashed together then needs to be lower than a given target for the block to receive a hash itself.

  1. So that the transactions are linked and can not be changed.
  2. Previous block hash, UTXO’s inputs and outputs, and fee.
  1. only this way the integrity of the blockchain can be assured since the data becomes very difficult to change. Our blockchain gets broken if we alter something in a former block, the hashes won’t fit anymore.

  2. every single block contains:

  • the transactions written in this block (hashed together in the merkle route)
  • the hash of the former block
  • a proper hash that is the result of hashing together the transactions hash + the hash of the former block
  1. It is important that the blocks are cryptographically linked together to help prevent the data from being tampered with and keep it’s integrity.
  2. A bitcoin block structure consists of a nonce, transaction data within current block, hash value of previous block and hash value of current block.
  1. Why is it important that the blocks are cryptographically linked together?
    This ensures the security of the network. Each block contains info on the previous link and block so changing 1 mould mean you have to remine all following blocks again.

  2. What does the block structure look like in bitcoin?
    A block consists of transactions, a nonce, and info on the previous block.

Why is it important that the blocks are cryptographically linked together? The cryptographic link between blocks assures the consistency and traceability of transactions embedded in the blockchain. It is this cryptographic link what allows the block to form the blockchain and maintain its integrity.

What does the block structure look like in bitcoin? A block is a container data structure. A block is composed of 1) magic number, 2) blocksize, 3) blockheader (comprised of block version number, the hash of previous block, a hash based on all of the transactions in the block, block timestamp, bits related to difficulty an nonce), 4) transaction counter and 5) a non-empty list of transactions. The average size of a block seems to be in the range of 1MB to 1,4MB.

  1. Why is it important that the blocks are cryptographically linked together?
    To maintain the security of the chain so that there can be no double spending or any other data alteration.

  2. What does the block structure look like in bitcoin?
    A chain of blocks where the previous hash sends an output or a link to connect to the next block which connects the information together.

  1. Why is it important that the blocks are cryptographically linked together?
    To prevent any of the previous blocks from being invalidated by a change from another miner.
  2. What does the block structure look like in bitcoin?
  • With previous hash, current transactions, the nonce and current block hash

Don’t forget about the transactions. :wink:

Not only that, but it also ensure that previous blocks can’t be changed easily. Changing the block’s content will invalidate all the blocks after it.

1 Like

Linking the blocks ensures that the past can’t be changed.

1 Like

No problem. Keep up the great work. :smiley:

True. The way we protect the network is by linking the blocks together. Changing the contents of a block will destroy all the links from that block on forward.

  1. Why is it important that the blocks are cryptographically linked together? To ensure good integrity of the blockchain, to make sure the network is secure and there are no chances of a double spend, and to make sure no history is altered and ensures the blockchain remains immutable.

  2. What does the block structure look like in bitcoin? Previous block hash, transaction list, and nonce.

1 Like
  1. Why is it important that the blocks are cryptographically linked together?
    -> it gives the whole system the security that it needs, to avoid attacks or changing previous transactions.

  2. What does the block structure look like in bitcoin?
    -> each block has a number of transactions in it, as well as the hash of the previous block and a nonce which is a number connected to the puzzle that has been solved. From these inputs, the new block hash will be created and will move forward to secure the next block.

1 Like

1. Why is it important that the blocks are cryptographically linked together?
The blocks are cryptographically linked so that a change to a preceeding block will necessarily invalidate all following blocks. This makes the cost of changing a transaction prohibitively expensive and without a 51% consensus, impossible to effectively do, as the changed chain will be shorter and will not get added to in the chain.
2. What does the block structure look like in bitcoin?
The blocks are in a cryptographically linked chain.

2 Likes

[1] It important that the blocks are cryptographically linked together so to prevent any alterations in the stored information.
[2] The block structure in bitcoin looks like a transaction area, hash value of the transactions, a nonce, hash value of the previous block and then the hash of the block (== Hash of [Tx Hash + Nonce + Previous Blk Hash])

1 Like
  1. Blocks need to be linked together to prevent the network from being hacked.
  2. Previous hash, transactions and nonce make up the basic structure of a block.
1 Like
  1. all blocks are part of a big puzzle, and its important they are linked to secure the network from any manipulation because mining again the same blocks costs electricity. So mining by the rules is much more effective to get rewards.

nonce code
TRANSACTIONS
TRANSACTIONS

previous hash code
new hash code

1 Like