1

While exploring the Blockchain.info charts, I learned that:

  • The average size of blocks is increasing (max=1MB).
  • The number of transactions in one block is also increasing.

After reading some related articles, is it right to say that

  • One block is defined (solved) by mining. If I have a super powerful computer, I can mine so quickly that one block will only contain one transaction. (I'm trying to understand if there is a link between the number of transaction and the mining speed.)
  • The transactions in the same block are not linked between each other. So miners do solve one transaction, but one block.
0

3 Answers 3

3

A block must satisfy the following conditions for it to be valid:

  • The total size of the block must be 1MB or less.
  • At least 1 transaction called the coinbase transaction must exist.
  • Block must satisfy proof-of-work.
  • Block must reference a valid block as the previous block.

There are some miscellaneous restrictions, but these are the main ones. What you called "solved by mining" is what's called satisfying the proof-of-work. What you called having at least one transaction is the restriction that the coinbase transaction must be present. I encourage you to read the specification to find out more.

1

If you mine a block, the block will contain your "transaction". But it can (and it will nowadays) contain more than 1 transaction. Transactions in one block need not be linked to each other. The can be linked if in one block there are transactions from (1) A->B and (2) B->C. Then those two transactions are linked, because transaction (2) has a reference to transaction (1).

0

One block is defined (solved) by mining. If I have a super powerful computer, I can mine so quickly that one block will only contain one transaction. (I'm trying to understand if there is a link between the number of transaction and the mining speed.)

Blocks are indeed the product of mining. New blocks are generated in a random process that sometimes succeeds very quickly or sometimes takes a long time to produce a block. When miners receive a new block, it takes them some time to validate the block and figure out which transactions were included. If they find a block very quickly, i.e. before the last block is validated, and they would have include transactions in their block, they could have accidentally included a transaction that was already confirmed in the last block. This would cause their new block to be invalid! Therefore, a lot of miners play it safe and only include the required coinbase transaction in blocks when they just start out trying to build on a newly discovered block.
Once the miners have completely validated the previous block, they know which transactions remain unconfirmed and can fill their block without the danger of producing an invalid block.

The transactions in the same block are not linked between each other. So miners do solve one transaction, but one block.

In general each transaction stands by itself, so the order of the transactions is irrelevant for most transactions. There are two exceptions: 1. The coinbase transaction must be in first position. 2. If there are transactions that build on other transactions in the same block, they must be included in the correct order in the block. I.e. if transaction B spends an output of transaction A, A must come before B in the transaction list. All transactions are verified by the miner before they are included in the block, because an invalid transaction would make the block invalid and the miner doesn't get a block reward for an invalid block. :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.