Mining timing of blockchain miners:
When miners receive new chunks from their competitors, they abandon their current job. Update chunks and prepare to start the next block competition. According to the blockchain white paper, it is not expected to generate a chunk in 10 minutes. But in fact, miners do not have a unified algorithm to ensure that the collection of a specific number of transactions before the commencement of work. The specific time varies depending on the client settings. In extreme cases, empty blockchain is also legal. Figure statistics as follows
Two transaction confirmation process
Transaction confirmation is not directly related to mining.
The detailed steps of the transaction confirmation are as follows:
1. Transaction Verification
2. Trading like a full-screen broadcast
Call
void Ontransaction (Peer peer, Transaction t);
Three-Transaction protocol format
You are welcome to correct your mistakes and add details ~ ~ ~
Reference documents:
https://bitcoinmagazine.com/articles/why-do-some-bitcoin-mining-pools-mine-empty-blocks-1468337739/
http://tech.eu/features/926/bitcoin-ecosystem/