We answer questions from our clients and visitors 

Q: What is the process from the moment a Bitcoin transaction is created, until it is written to the blockchain by the winning miner?

A: Here's a simplified explanation of the process from the moment a Bitcoin transaction is created, until it is written to the blockchain by the winning miner:

Step 1: Transaction Creation

  • A user initiates a transaction on the Bitcoin network, which includes the sender's and receiver's public addresses, as well as the amount being transferred
  • The user creates a unique identifier for the transaction, known as a transaction ID (TXID)

Step 2: Transaction Broadcasting

  • The user broadcasts the transaction to the Bitcoin network, which is then relayed by other nodes on the network

Step 3: Memory Pool

  • The broadcasted transaction is stored in a pool of unconfirmed transactions, known as the "Memory Pool"
  • Miners collect transactions from this pool and group them into batches called "blocks"

Step 4: Block Creation

  • A miner creates a new block, which contains multiple transactions (including our original transaction) and some metadata
  • The miner adds a unique header to the block, which includes the block's hash, timestamp, and other information
Miner with Helmet

Step 5: Proof-of-Work (PoW) Algorithm

  • The miner uses specialized computer hardware to solve a complex mathematical puzzle, known as the Proof-of-Work (PoW) algorithm
  • This process is designed to be energy-intensive and requires significant computational power

Step 6: Block Hashing and Verification

  • Once the miner solves the PoW puzzle, they create a new block hash by hashing the block's contents using the SHA-256 algorithm
  • The miner verifies that their solution is correct and meets the network's difficulty requirements

Step 7: Winning the Right to Write to Blockchain

  • After verifying their solution, the miner broadcasts the completed block to the Bitcoin network
  • Other nodes on the network verify the miner's solution and update their blockchain with the new block

Step 8: Writing Transaction to Blockchain

  • Once the block is verified and written to the blockchain, our original transaction is considered confirmed and is now a permanent part of the blockchain
  • The Memory Pool, which once held our transaction, is updated to reflect that it has been processed


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
Stay up to date with Funda' Bitcoin!

We'll let you know when new stuff is published (posts, guides, courses, etc.)

>