How Are Bitcoin Transactions Verified and Confirmed?

Bitcoin transactions are verified in two stages: thousands of independent computers called nodes check each transaction against the protocol’s rules the moment it is broadcast, and then miners compete to permanently record batches of valid transactions into a block by solving a computational puzzle. No bank sits in the middle. From the moment you hit send to the point your payment is practically irreversible usually takes about an hour.

Here is what happens at each step, and what you can actually control along the way.

Signing the Transaction

Verification starts with you proving you own the coins. Your wallet holds a pair of mathematically linked codes: a public key, which functions as your address, and a private key, which only you know. When you send Bitcoin, the wallet uses your private key to generate a digital signature tied to the specific details of that transaction.

The signature proves two things at once. It proves you control the funds, and it proves the transaction details have not been altered. Change a single digit of the amount or the recipient address and the signature becomes invalid. The network can confirm your signature using only your public key, so your private key never leaves your wallet.

One consequence worth stating plainly: lose the private key and the funds are gone. There is no password reset, no customer service line, and no court order that can recover them.

Node Checks and the Mempool

Once your wallet broadcasts the signed transaction, it enters a network of roughly 20,000 or more reachable nodes around the world. Each node is a computer running Bitcoin software that independently enforces the protocol’s rules. No node has authority over the others.

Every node that receives your transaction runs the same checks. Is the signature valid? Do the funds actually exist and remain unspent? Does the transaction follow the correct format? If it passes, the node stores it in a temporary holding area called the mempool (short for memory pool) and relays it to other nodes. If it fails any check, the node discards it. There is no appeals process.

Each node keeps its own view of the mempool based on what it has received, so mempools across the network are not perfectly identical at any given moment. Your transaction waits in this holding area until a miner picks it up. The mempool is also where double-spending gets caught: if the same Bitcoin is sent to two different recipients, nodes accept whichever transaction they see first and reject the duplicate.

How Fees Decide Your Wait

Miners do not process transactions out of charity. They prioritize transactions that offer higher fees, and those fees are tied to how much block space your transaction consumes, not the dollar amount you are sending. A $10 transfer and a $10 million transfer can cost the same fee if they are the same size in data terms.

Transaction size is measured in virtual bytes (vB), a unit introduced by the SegWit upgrade. Fees are quoted in satoshis per virtual byte (sats/vB), where one satoshi equals one hundred-millionth of a Bitcoin. A typical simple transaction runs around 140 vB. At 20 sats/vB, the fee works out to about 2,800 satoshis.

When the network is quiet, fees as low as 5 sats/vB may confirm within a few blocks. During congestion, you might need 50 sats/vB or more for next-block confirmation. Most wallets estimate an appropriate fee automatically, but if you set the fee too low, your transaction can sit in the mempool for hours or days.

Mining and the Hashing Puzzle

Miners pull transactions from the mempool and try to bundle them into a block. To earn the right to add that block to the blockchain, a miner has to solve a puzzle that is deliberately expensive in time and electricity. This is proof of work, and it is what makes tampering with Bitcoin’s history economically irrational.

The puzzle itself works like this. The miner takes all the transaction data in the proposed block, adds a reference to the previous block, and runs it through a cryptographic function called SHA-256 (technically, it runs through SHA-256 twice). The output is a hash, a fixed-length string of characters that looks random. The miner’s goal is to find a hash that starts with a specific number of leading zeros, set by the current network difficulty.

You cannot predict what hash a given input will produce, so miners change a small variable called a nonce and re-run the algorithm over and over. Modern mining hardware performs trillions of these calculations per second. Industrial ASIC miners built specifically for SHA-256 hashing cost roughly $10 to $30 per terahash of computing power, and electricity rates vary by location.

The first miner to find a valid hash broadcasts the completed block to the network and earns the block reward, which currently stands at 3.125 BTC following the April 2024 halving. That reward is cut in half approximately every four years, a schedule written into the protocol.

The network also self-corrects. Every 2,016 blocks (roughly two weeks), the difficulty adjusts up or down so that blocks continue to be found about every ten minutes, regardless of how much mining hardware joins or leaves the network.1Bitcoin Wiki. Difficulty Adding more computing power does not speed up transactions. It just raises the bar for everyone.

Confirmations and When a Transaction Is Final

When a miner finds a valid hash, the new block is broadcast to the network. Every node independently verifies that the hash meets the difficulty requirement and that every transaction inside the block is valid. If the math checks out, each node adds the block to its own copy of the blockchain and starts working on the next one. That collective acceptance is what consensus means in Bitcoin: not a vote, but independent verification by thousands of computers reaching the same conclusion.

Checking a completed block is almost instantaneous. Finding a valid hash takes trillions of attempts, but verifying that a given hash is valid takes just one run of the algorithm. Hard to produce, trivial to verify.

A transaction gains security with each block built on top of it. One confirmation means your transaction is in the most recent block. Two confirmations mean another block has been stacked on top, and so on. The convention for high-value transfers is to wait for six confirmations, which takes about an hour. At that point the computational cost of reversing the transaction is astronomical. Many services accept one or two confirmations for smaller everyday payments.

This is where Bitcoin breaks sharply from traditional payments. Confirmed transactions are irreversible. There is no chargeback mechanism, no dispute process, no central authority that can undo a transfer. Send Bitcoin to the wrong address and your only recourse is to ask the recipient to send it back.

If Your Transaction Gets Stuck

If the fee was too low and your transaction is sitting in the mempool, you have two options depending on which side of the transfer you are on.

The sender can use Replace-by-Fee (RBF), but only if the original transaction was flagged as replaceable when it was created. Most modern wallets enable this by default. RBF lets you broadcast a new version of the same transaction with a higher fee. The replacement has to pay a strictly higher fee rate than the original, and nodes drop the old version in favor of the new one. The transaction still confirms once, to the same recipient, just with a bigger fee attached.2Bitcoin Core. Opt-in RBF FAQ

The recipient can use Child-Pays-for-Parent (CPFP). This means creating a new transaction that spends the unconfirmed funds from the stuck transaction, with a fee high enough to make it worthwhile for a miner to confirm both the original (the parent) and the new one (the child) together. The two clear as a pair. CPFP is useful when the sender is unresponsive or does not have RBF enabled.3GitHub. Funding a Transaction with CPFP

One Note on Taxes

Verification settles the question of whether the network accepts a transfer. It does not settle your tax obligations. The IRS treats Bitcoin and other digital assets as property rather than currency, which means every transfer you make is a potentially taxable event that requires documentation of the fair market value at the time of the transaction.4Internal Revenue Service. Digital Assets Mining rewards are treated as gross income at the fair market value on the day the miner gains control of the coins.5Internal Revenue Service. Notice 2014-21 The blockchain permanently records every transfer, so it can serve as a starting point for your records, but you still need to track your own cost basis and acquisition dates.