Concurrency Bugs (Global)

High-quality technical overview of Concurrency Bugs in the context of blockchain security.

Contenido pendiente de traducción. Se muestra la versión en inglés.

Key Components: 1. Matching Engine. 2. Internal Ledger. 3. Hot/Cold [Wallet](/es/terms/cold-wallet) System. 4. API (REST, FIX, WebSocket). Features: High liquidity, Fiat on/off-ramps, Customer support, Advanced trading tools (Margin, Futures). Regulation: KYC/AML, VASP licensing.

        graph LR
  Center["Concurrency Bugs (Global)"]:::main
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧒 Explícalo como si tuviera 5 años

Think of a [CEX](/es/terms/cex) like a traditional bank or a stock exchange. When you put your money in, the bank keeps it safe in their big vault. When you want to trade with someone else, the bank just updates the numbers in its own private notebook. You don't actually hold your own 'digital coins' until you ask the bank to send them to your private [wallet](/es/terms/wallet) outside of the exchange.

🤓 Expert Deep Dive

The core of a CEX is the 'Order Book' and the 'Matching Engine'. The engine must handle thousands of orders per second with microsecond latency. Security is managed through a 'Tiered Wallet Architecture': small amounts are kept in 'Hot Wallets' (online, for fast withdrawals), while most assets are stored in 'Cold Wallets' (offline, using multi-sig or MPC). To build trust, many CEXs now implement 'Proof of Reserves' (PoR) using Merkle Trees, allowing users to verify cryptographically that their account balance is backed by actual assets in the exchange's custody. This combined with strict KYC/AML verification turns a CEX into a regulated gateway between fiat currency and the decentralized world.

📚 Fuentes