The Life of a Transaction

The Life of a Transaction

Intermediate How Monero Works · 4 views

Follow a Monero transaction from your wallet to confirmation, tying all the pieces together.

You have now met all of Monero's individual privacy and consensus mechanisms. In this lesson we tie them together by following a single transaction from the instant you hit "send" to the moment the funds are settled and spendable. Watching the whole journey makes each piece click into place and shows how Monero delivers private, trustless payments end to end.

Step 1: Building the Transaction

It starts in your wallet. You enter a recipient's address and an amount, and your wallet quietly does a lot of work:

  • It selects which of your existing outputs to spend to cover the amount plus fee.
  • For each output spent, it gathers decoys and constructs a ring signature so the real source is hidden among plausible alternatives.
  • It derives a one-time stealth address for the recipient, so their real address never touches the chain.
  • It hides the amounts with RingCT commitments and attaches range proofs proving nothing was invented.
  • It sets the fee based on the priority you choose and the transaction's size.

All of this happens locally, in seconds. The finished transaction is private by construction — sender, receiver, and amount all concealed.

Step 2: Broadcasting to the Network

Your wallet hands the transaction to a node, which announces it to the peer-to-peer network. Here Dandelion++ kicks in: the transaction is passed quietly along a random stem of nodes before blooming out to everyone, obscuring which node it originated from. If you run your own node or connect over Tor, your network privacy is stronger still.

Step 3: Waiting in the Mempool

Now the transaction sits in the mempool, the pool of valid but unconfirmed transactions that every node shares. Nodes verify it: they check the ring signature is valid, the key image hasn't been seen before (preventing double-spends), and the RingCT math balances. Only valid transactions stay in the pool, waiting to be picked up by a miner.

Step 4: Inclusion in a Block

About every 2 minutes, a miner finds a new block and includes transactions from the mempool. Thanks to Monero's dynamic block size, there is usually plenty of room, so your transaction is typically included quickly without a fee war. The moment it lands in a block, it has its first confirmation.

Step 5: Confirmations and the Lock

Each subsequent block adds another confirmation, burying the transaction deeper and making reversal practically impossible. For the recipient, the new output is locked for 10 blocks — about 20 minutes — as covered in Block Confirmations and Locks. Once those 10 confirmations pass, the funds unlock and become fully spendable. The recipient's wallet detected the payment the moment it appeared, using their private view key to recognize the stealth output.

Step 6: Verifying and Proving

How does each side confirm success without a public explorer revealing balances? Simple:

  • The recipient's wallet shows the incoming payment and counts confirmations — see Checking Your Transactions.
  • The sender can generate a payment proof to demonstrate they paid a specific amount, without exposing their wallet.

Disclosure is always opt-in and targeted, the opposite of a transparent chain where everything is exposed by default.

The Whole Journey at a Glance

  1. Build — wallet assembles a private transaction (stealth address, ring signature, RingCT).
  2. Broadcast — Dandelion++ spreads it while hiding the origin.
  3. Mempool — nodes verify validity and guard against double-spends.
  4. Mined — a miner includes it; first confirmation at ~2-minute intervals.
  5. Confirmed and unlocked — 10 blocks later (~20 min) funds are spendable.
  6. Verified — each party confirms privately with their own keys and proofs.

You can explore each concept in depth via the community Moneropedia.

From a few clicks in your wallet to settled, private funds about twenty minutes later, every Monero transaction quietly orchestrates stealth addresses, ring signatures, RingCT, Dandelion++, and consensus rules — all automatically. Now that you understand how a transaction works under the hood, the next course shows you how to put Monero to work in daily life, starting with Checking Your Transactions.

Comments

Log in or create a free account to comment.

No comments yet — be the first.