• bitcoinBitcoin (BTC) $ 85,899.00
  • ethereumEthereum (ETH) $ 1,648.74
  • tetherTether (USDT) $ 0.999902
  • xrpXRP (XRP) $ 2.18
  • bnbBNB (BNB) $ 589.97
  • solanaSolana (SOL) $ 132.92
  • usd-coinUSDC (USDC) $ 0.999965
  • tronTRON (TRX) $ 0.252176
  • dogecoinDogecoin (DOGE) $ 0.160510
  • cardanoCardano (ADA) $ 0.646736
  • staked-etherLido Staked Ether (STETH) $ 1,643.06
  • wrapped-bitcoinWrapped Bitcoin (WBTC) $ 85,963.00
  • leo-tokenLEO Token (LEO) $ 9.43
  • avalanche-2Avalanche (AVAX) $ 20.09
  • chainlinkChainlink (LINK) $ 12.76
  • stellarStellar (XLM) $ 0.243415
  • the-open-networkToncoin (TON) $ 2.97
  • usdsUSDS (USDS) $ 0.999901
  • suiSui (SUI) $ 2.22
  • shiba-inuShiba Inu (SHIB) $ 0.000012
  • hedera-hashgraphHedera (HBAR) $ 0.167541
  • wrapped-stethWrapped stETH (WSTETH) $ 1,972.03
  • bitcoin-cashBitcoin Cash (BCH) $ 334.57
  • litecoinLitecoin (LTC) $ 78.19
  • polkadotPolkadot (DOT) $ 3.73
  • hyperliquidHyperliquid (HYPE) $ 16.57
  • bitget-tokenBitget Token (BGB) $ 4.34
  • binance-bridged-usdt-bnb-smart-chainBinance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.999675
  • pi-networkPi Network (PI) $ 0.743277
  • ethena-usdeEthena USDe (USDE) $ 0.999292
  • wethWETH (WETH) $ 1,644.14
  • whitebitWhiteBIT Coin (WBT) $ 27.91
  • moneroMonero (XMR) $ 213.96
  • wrapped-eethWrapped eETH (WEETH) $ 1,751.00
  • uniswapUniswap (UNI) $ 5.43
  • coinbase-wrapped-btcCoinbase Wrapped BTC (CBBTC) $ 85,994.00
  • daiDai (DAI) $ 1.00
  • pepePepe (PEPE) $ 0.000007
  • okbOKB (OKB) $ 52.29
  • aptosAptos (APT) $ 4.76
  • ondo-financeOndo (ONDO) $ 0.882740
  • gatechain-tokenGate (GT) $ 22.57
  • tokenize-xchangeTokenize Xchange (TKX) $ 33.90
  • nearNEAR Protocol (NEAR) $ 2.12
  • susdssUSDS (SUSDS) $ 1.05
  • blackrock-usd-institutional-digital-liquidity-fundBlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
  • internet-computerInternet Computer (ICP) $ 4.96
  • crypto-com-chainCronos (CRO) $ 0.085915
  • mantleMantle (MNT) $ 0.694159
  • ethereum-classicEthereum Classic (ETC) $ 15.34
  • ethena-staked-usdeEthena Staked USDe (SUSDE) $ 1.17
  • aaveAave (AAVE) $ 140.86
  • vechainVeChain (VET) $ 0.024211
  • bittensorBittensor (TAO) $ 239.56
  • render-tokenRender (RENDER) $ 3.96
  • kaspaKaspa (KAS) $ 0.077977
  • cosmosCosmos Hub (ATOM) $ 4.17
  • lombard-staked-btcLombard Staked BTC (LBTC) $ 86,148.00
  • fasttokenFasttoken (FTN) $ 4.13
  • ethenaEthena (ENA) $ 0.302969
  • first-digital-usdFirst Digital USD (FDUSD) $ 0.998531
  • filecoinFilecoin (FIL) $ 2.53
  • algorandAlgorand (ALGO) $ 0.191833
  • sonic-3Sonic (prev. FTM) (S) $ 0.510974
  • polygon-ecosystem-tokenPOL (ex-MATIC) (POL) $ 0.186237
  • official-trumpOfficial Trump (TRUMP) $ 8.04
  • celestiaCelestia (TIA) $ 2.54
  • jupiter-perpetuals-liquidity-provider-tokenJupiter Perpetuals Liquidity Provider Token (JLP) $ 3.83
  • arbitrumArbitrum (ARB) $ 0.294699
  • solv-btcSolv Protocol SolvBTC (SOLVBTC) $ 86,004.00
  • kucoin-sharesKuCoin (KCS) $ 10.45
  • fetch-aiArtificial Superintelligence Alliance (FET) $ 0.484880
  • makerMaker (MKR) $ 1,403.25
  • xdce-crowd-saleXDC Network (XDC) $ 0.073847
  • story-2Story (IP) $ 4.13
  • binance-staked-solBinance Staked SOL (BNSOL) $ 138.51
  • optimismOptimism (OP) $ 0.664416
  • jupiter-exchange-solanaJupiter (JUP) $ 0.384534
  • usdt0USDT0 (USDT0) $ 0.999899
  • bonkBonk (BONK) $ 0.000013
  • nexoNEXO (NEXO) $ 1.03
  • flare-networksFlare (FLR) $ 0.016279
  • binance-peg-wethBinance-Peg WETH (WETH) $ 1,649.21
  • quant-networkQuant (QNT) $ 67.18
  • kelp-dao-restaked-ethKelp DAO Restaked ETH (RSETH) $ 1,710.82
  • worldcoin-wldWorldcoin (WLD) $ 0.750430
  • blockstackStacks (STX) $ 0.617433
  • eosEOS (EOS) $ 0.618068
  • sei-networkSei (SEI) $ 0.182361
  • fartcoinFartcoin (FARTCOIN) $ 0.923765
  • binance-bridged-usdc-bnb-smart-chainBinance Bridged USDC (BNB Smart Chain) (USDC) $ 1.00
  • paypal-usdPayPal USD (PYUSD) $ 1.00
  • dexeDeXe (DEXE) $ 14.44
  • wbnbWrapped BNB (WBNB) $ 590.23
  • polygon-bridged-usdt-polygonPolygon Bridged USDT (Polygon) (USDT) $ 0.999802
  • tether-goldTether Gold (XAUT) $ 3,238.30
  • rocket-pool-ethRocket Pool ETH (RETH) $ 1,855.06
  • curve-dao-tokenCurve DAO (CRV) $ 0.598096
  • injective-protocolInjective (INJ) $ 8.02
  • jasmycoinJasmyCoin (JASMY) $ 0.015922
  • the-graphThe Graph (GRT) $ 0.080346
  • solv-protocol-solvbtc-bbnSolv Protocol xSolvBTC (XSOLVBTC) $ 85,010.00
  • pax-goldPAX Gold (PAXG) $ 3,247.96
  • immutable-xImmutable (IMX) $ 0.410872
  • movementMovement (MOVE) $ 0.296955
  • usual-usdUsual USD (USD0) $ 0.998564
  • arbitrum-bridged-wbtc-arbitrum-oneArbitrum Bridged WBTC (Arbitrum One) (WBTC) $ 85,832.00
  • theta-tokenTheta Network (THETA) $ 0.686976
  • chain-2Onyxcoin (XCN) $ 0.019981
  • heliumHelium (HNT) $ 3.67
  • galaGALA (GALA) $ 0.014895
  • lido-daoLido DAO (LDO) $ 0.719696
  • mantle-staked-etherMantle Staked Ether (METH) $ 1,749.39
  • jupiter-staked-solJupiter Staked SOL (JUPSOL) $ 146.39
  • the-sandboxThe Sandbox (SAND) $ 0.259042
  • usdx-money-usdxStables Labs USDX (USDX) $ 0.999844
  • raydiumRaydium (RAY) $ 2.15
  • bittorrentBitTorrent (BTT) $ 0.00000062
  • msolMarinade Staked SOL (MSOL) $ 170.67
  • iotaIOTA (IOTA) $ 0.163758
  • kaiaKaia (KAIA) $ 0.102334
  • ondo-us-dollar-yieldOndo US Dollar Yield (USDY) $ 1.10
  • mantra-daoMANTRA (OM) $ 0.598888
  • walrus-2Walrus (WAL) $ 0.459051
  • bitcoin-svBitcoin SV (BSV) $ 28.34
  • flowFlow (FLOW) $ 0.354114
  • flokiFLOKI (FLOKI) $ 0.000056
  • pancakeswap-tokenPancakeSwap (CAKE) $ 1.87
  • jito-governance-tokenJito (JTO) $ 1.70
  • tezosTezos (XTZ) $ 0.506759
  • pendlePendle (PENDLE) $ 3.20
  • decentralandDecentraland (MANA) $ 0.275808
  • renzo-restaked-ethRenzo Restaked ETH (EZETH) $ 1,723.01
  • coredaoorgCore (CORE) $ 0.508979
  • zcashZcash (ZEC) $ 31.47
  • true-usdTrueUSD (TUSD) $ 0.997858
  • ethereum-name-serviceEthereum Name Service (ENS) $ 14.77
  • pyth-networkPyth Network (PYTH) $ 0.133306
  • pumpbtcpumpBTC (PUMPBTC) $ 83,343.00
  • spx6900SPX6900 (SPX) $ 0.516361
  • sonic-bridged-usdc-e-sonicSonic Bridged USDC.e (Sonic) (USDC.E) $ 0.999902
  • beldexBeldex (BDX) $ 0.069174
  • bridged-usdc-polygon-pos-bridgeBridged USDC (Polygon PoS Bridge) (USDC.E) $ 0.999902
  • kavaKava (KAVA) $ 0.422634
  • berachain-beraBerachain (BERA) $ 4.12
  • grassGrass (GRASS) $ 1.62
  • bitcoin-avalanche-bridged-btc-bAvalanche Bridged BTC (Avalanche) (BTC.B) $ 85,801.00
  • dydx-chaindYdX (DYDX) $ 0.563032
  • telcoinTelcoin (TEL) $ 0.004682
  • clbtcclBTC (CLBTC) $ 85,999.00
  • dogwifcoindogwifhat (WIF) $ 0.432925
  • solayerSolayer (LAYER) $ 2.02
  • apenftAPENFT (NFT) $ 0.00000043
  • reserve-rights-tokenReserve Rights (RSR) $ 0.007449
  • stakewise-v3-osethStakeWise Staked ETH (OSETH) $ 1,721.56
  • binance-peg-dogecoinBinance-Peg Dogecoin (DOGE) $ 0.160607
  • thorchainTHORChain (RUNE) $ 1.16
  • usdbUSDB (USDB) $ 1.00
  • hashnote-usycHashnote USYC (USYC) $ 1.08
  • virtual-protocolVirtuals Protocol (VIRTUAL) $ 0.620243
  • ousgOUSG (OUSG) $ 110.69
  • elrond-erd-2MultiversX (EGLD) $ 14.18
  • mantle-restaked-ethMantle Restaked ETH (CMETH) $ 1,752.10
  • ecasheCash (XEC) $ 0.000020
  • tbtctBTC (TBTC) $ 86,073.00
  • ether-fi-staked-ethether.fi Staked ETH (EETH) $ 1,642.05
  • olympusOlympus (OHM) $ 22.91
  • resolv-usrResolv USR (USR) $ 0.999223
  • based-brettBrett (BRETT) $ 0.037346
  • neoNEO (NEO) $ 5.24
  • compound-governance-tokenCompound (COMP) $ 40.81
  • honey-3Honey (HONEY) $ 0.999118
  • conflux-tokenConflux (CFX) $ 0.071017
  • l2-standard-bridged-weth-baseL2 Standard Bridged WETH (Base) (WETH) $ 1,650.07
  • axie-infinityAxie Infinity (AXS) $ 2.24
  • chilizChiliz (CHZ) $ 0.037401
  • super-oethSuper OETH (SUPEROETHB) $ 1,647.84
  • starknetStarknet (STRK) $ 0.122263
  • ubtcuBTC (UBTC) $ 77,106.00
  • aerodrome-financeAerodrome Finance (AERO) $ 0.435382
  • mantle-bridged-usdt-mantleMantle Bridged USDT (Mantle) (USDT) $ 0.999420
  • arbitrum-bridged-weth-arbitrum-oneArbitrum Bridged WETH (Arbitrum One) (WETH) $ 1,649.72
  • arweaveArweave (AR) $ 5.21
  • apecoinApeCoin (APE) $ 0.421925
  • stargate-bridged-usdc-berachainStargate Bridged USDC (Berachain) (USDC.E) $ 0.999740
  • wormholeWormhole (W) $ 0.072406
  • infrared-beraInfrared Bera (IBERA) $ 4.12
  • usddUSDD (USDD) $ 1.00
  • matic-networkPolygon (MATIC) $ 0.186298
  • binance-peg-busdBinance-Peg BUSD (BUSD) $ 0.999663
  • terra-lunaTerra Luna Classic (LUNC) $ 0.000059
  • fraxFrax (FRAX) $ 0.999712
  • aioz-networkAIOZ Network (AIOZ) $ 0.273052
  • beam-2Beam (BEAM) $ 0.006027
  • trust-wallet-tokenTrust Wallet (TWT) $ 0.759802
  • plumePlume (PLUME) $ 0.156336
  • saros-financeSaros (SAROS) $ 0.118783
  • wemix-tokenWEMIX (WEMIX) $ 0.737699
  • pudgy-penguinsPudgy Penguins (PENGU) $ 0.004886
  • amp-tokenAmp (AMP) $ 0.003628

Lightspeed Newsletter: The lifecycle of a Solana transaction

0 42

Lightspeed Newsletter: The lifecycle of a Solana transaction

Today, enjoy the Lightspeed newsletter on Blockworks.co. Tomorrow, get the news delivered directly to your inbox. Subscribe to the Lightspeed newsletter.

Howdy!

I am touching grass today, so Jeffrey is stepping in with the story of how transactions make it to the blockchain.

It’s admittedly a little funny that all this complex infrastructure predominantly helps degens buy memecoins. It reminds me a bit of how liquor goes through a whole long distillation process just to get diluted by cranberry juice or coke. But I digress:

The lifecycle of a Solana transaction

Solana tends to be so fast and efficient that transactions can feel instantaneous. But there’s actually a lot more happening under the hood than users may realize.

It also works a bit differently from other chains, which tend to struggle with congestion and high fees due to their reliance on mempools.

Solana’s approach goes something like this:

  1. Transaction Creation and Submission

A user initiates a transaction via a wallet, dapp, or other interface. Details of the transaction are immediately sent to an RPC (Remote Procedure Call) node through the JSON RPC API. Think of RPC nodes as intermediaries that help access and relay on-chain data. Unlike Ethereum, where RPC nodes are sometimes also validators, Solana’s RPC nodes are mainly non-voting validators focused on accessing onchain data.

2. Leader Selection

Meanwhile, a leader is selected to produce the next block in the blockchain.In Solana, the leader schedule is determined by the proof-of-stake mechanism, where validators take turns being the leader based on their stake.

  1. Packet Ingress and QUIC

The RPC node establishes a fast and secure connection to the leader node’s Transaction Processing Unit (TPU) using a communication protocol designed for quick and reliable data transfer called Quick UDP Internet Connections (QUIC). This protocol ensures that data packets are delivered securely, reducing delays and improving overall network performance.

  1. Transaction Processing Unit (TPU)

The TPU processes transactions in multiple stages, each handling a specific part of the process to ensure efficiency and security:

  • Fetch Stage: Transactions are grouped into batches of 128 packets to manage them more efficiently.
  • SigVerify Stage: Each transaction’s signature is checked for validity to ensure it hasn’t been tampered with. Duplicates are removed to prevent redundant processing.
  • Banking Stage: This is where the real work happens. Transactions are executed in parallel, meaning multiple transactions can be processed at the same time without waiting for each other. This stage ensures that all the necessary checks and updates are performed on the involved accounts.
  • Broadcast Stage: Once processed, the TPU broadcasts transactions to the network, informing all nodes of the new transactions.
    1. Gulf Stream Protocol

    Unlike Bitcoin, Ethereum, and others, Solana uses a transaction forwarding protocol called Gulf Stream, which eliminates the need for a traditional mempool queue. In legacy systems, unconfirmed transactions sit in the mempool until miners include them in a block, often causing delays and congestion. The Gulf Stream Protocol, however, preemptively forwards transactions to upcoming leaders if the current leader is overloaded. This ensures high throughput and low latency, preventing congestion and maintaining network efficiency.

    1. Proof of History (PoH) and Commit

    Proof of history (PoH) is a method of timestamping transactions, ensuring they are ordered correctly, without the need for traditional time synchronization. This solves problems faced by other systems in maintaining transaction order and consistency. Verified transactions are then committed to the ledger and broadcast across the network, enabling all validators to update their ledgers accordingly.

    1. Cluster Synchronization

    Next, validators within Solana clusters synchronize their states to maintain a coherent and updated ledger. Solana clusters are groups of validators working together to maintain the ledger. Synchronization between these clusters ensures that all validators have a consistent view of the blockchain. This process ensures that each node’s ledger is up-to-date and agrees on the current state of the network.

    1. Finalization and Confirmation

    Validators are nodes that process and verify transactions. Once a supermajority of validators confirm the block, the transaction is finalized and permanently recorded to the blockchain. Solana’s optimized handling ensures this process is swift and reliable.

    So, next time you send or receive a transaction on the Solana network, remember it’s not just one click and done. There’s a lot of tech wizardry going on behind the scenes that makes it all possible.

    — Jeffrey Albus

    One Good DM

    A message from Hardhat Chad, founder of Ore:

    Lightspeed Newsletter: The lifecycle of a Solana transaction

    Source

    Leave A Reply

    Your email address will not be published.