Homework on Blockchain and Mining Visually - Answers
-
This ensures a network in which everybody follows consensus.
-
Hash Block including a nonce, tx list, & prev. hash. This repeats creating a chain!
Homework on Blockchain and Mining Visually - Answers
This ensures a network in which everybody follows consensus.
Hash Block including a nonce, tx list, & prev. hash. This repeats creating a chain!
1.
It is important cuz the whole system wouldn’t work secure, immutability! This ensure the data is reliable and not been played with of any kind or the chainlink will be broken.
.
.
.
2.
The Block structure contains:
The Magic number *identification for the blockchain network so it know what software it is, in this case its bitcoin " *0xD9B4BEF9
Blocksize of the block
Header (blockheader)
The blockheader cointains:
- Version
- previous block hash ( *hash of previous header *
Transaction Counter ( Tells how many transactions in the block)
Transactions ( Contains a list of all transaction in the block)
Homework - Mining Part 2
The cryptographic puzzle is based on the context of previous blocks linking them together - this ensures the security and integrity of the blockchain
The structure of the blockchain contains the hash of the previously mined block, the list of tx for this block and the nonce
Cheers
Homework on Blockchain and Mining Visually - Questions
This is important to ensure that no altering of the block can be done which compromises the security of the network.
A bitcoin block hash = Hash of the previous linking block + guessed nonce + block data(i.e transaction fee)
the linking of the blocks is what makes transactions simultaneously transparent and traceable, and is one of many variables that makes fraudulent transactions near impossible
the candidate block (which is pending inclusion into blockchain) consists of the version (summary of data structure inside block to insure correct reading of the block by computer), last block hash id, transaction data (Unix timestamp, computation data, and transaction details - including UTXO’s or inputs and, after finalized, outputs and fees), and the merkle root (hash for this block that is generated based on all the aforementioned data); it also contains the accepted nonce number (first number guessed that generated a hash below the target number) and the target number itself
This creates greater security in the blockchain which makes it harder for someone to randomly change created blocks.
The structure of bitcoin has a genesis block then the next block will have a nonce, the data of the block, previous block hash, and the block hash.
The blocks are cryptographically linked together to make it more difficult to change previous transactions and do not let people double spend.
The block structure is made up of the previous block hash, a list of transactions and the nonce.
Blocks being linked cryptographically is important because it provides security to the network. If they weren’t connected in such a way it would be easy to change the previous blocks.
Each new block relies on the hash, data, and previous transaction of the block before it.
Why is it important that the blocks are cryptographically linked together?
Blocks are cryptographically linked together in a way that each blocks are constructed using the hash from the previous block and it goes on like this in a blockchain. If someone wants to change or tamper any of the block it will break the chain and but they will not be able to do it because it will take an enormous amount of hashing power to do it.
What does the block structure look like in bitcoin?
In Bitcoin blockchain, blocks are linked together by chain where each block contains the hash of the previous block. Also the current block contains all the current transactions and nonce.
Why is it important that the blocks are cryptographically linked together?
Blocks must be cryptographically linked so that any one transaction a bad actor attempts to change will break the links in all blocks mined afterwards. Not one byte can be changed in a block without completely unlinking & changing the blockchain after the change.
What does the block structure look like in bitcoin?
Each block is constructed of;
-previous blocks hash
-all transactions on current block
-nonce
-current block hash.
accounting, continuity, coherence, authenticity
each block points to the preceding block (excluding genesis) & contains <1MB of transactional data.
This is to secure the network, if the block are cryptographically linked, miners will not try to edit the previous block (which require more works), instead they will follow the rules. This is to eliminate history alteration and also double spending.
A bitcoin hash block structure contain previous hash, transactions & nonce.
1.to secure the network and make a concensus of the true blockchain
2. Hash -previous hash plus transactions plus nonce