• bitcoinBitcoin (BTC) $ 90,843.00
  • ethereumEthereum (ETH) $ 3,035.26
  • tetherTether (USDT) $ 1.00
  • xrpXRP (XRP) $ 2.18
  • bnbBNB (BNB) $ 883.41
  • usd-coinUSDC (USDC) $ 0.999810
  • tronTRON (TRX) $ 0.281279
  • staked-etherLido Staked Ether (STETH) $ 3,033.55
  • dogecoinDogecoin (DOGE) $ 0.150347
  • cardanoCardano (ADA) $ 0.416048
  • figure-helocFigure Heloc (FIGR_HELOC) $ 1.04
  • whitebitWhiteBIT Coin (WBT) $ 58.76
  • wrapped-stethWrapped stETH (WSTETH) $ 3,702.40
  • wrapped-bitcoinWrapped Bitcoin (WBTC) $ 90,583.00
  • wrapped-beacon-ethWrapped Beacon ETH (WBETH) $ 3,288.79
  • bitcoin-cashBitcoin Cash (BCH) $ 534.84
  • usdsUSDS (USDS) $ 0.999710
  • hyperliquidHyperliquid (HYPE) $ 34.44
  • chainlinkChainlink (LINK) $ 13.11
  • leo-tokenLEO Token (LEO) $ 9.79
  • binance-bridged-usdt-bnb-smart-chainBinance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.999958
  • stellarStellar (XLM) $ 0.253878
  • wethWETH (WETH) $ 3,035.29
  • wrapped-eethWrapped eETH (WEETH) $ 3,283.67
  • zcashZcash (ZEC) $ 469.90
  • moneroMonero (XMR) $ 410.49
  • ethena-usdeEthena USDe (USDE) $ 0.999593
  • coinbase-wrapped-btcCoinbase Wrapped BTC (CBBTC) $ 90,857.00
  • litecoinLitecoin (LTC) $ 85.19
  • avalanche-2Avalanche (AVAX) $ 14.88
  • hedera-hashgraphHedera (HBAR) $ 0.144411
  • suiSui (SUI) $ 1.52
  • shiba-inuShiba Inu (SHIB) $ 0.000009
  • daiDai (DAI) $ 0.999675
  • world-liberty-financialWorld Liberty Financial (WLFI) $ 0.158906
  • crypto-com-chainCronos (CRO) $ 0.109152
  • ethena-staked-usdeEthena Staked USDe (SUSDE) $ 1.21
  • susdssUSDS (SUSDS) $ 1.08
  • the-open-networkToncoin (TON) $ 1.59
  • uniswapUniswap (UNI) $ 6.16
  • paypal-usdPayPal USD (PYUSD) $ 0.999690
  • polkadotPolkadot (DOT) $ 2.28
  • usdt0USDT0 (USDT0) $ 1.00
  • mantleMantle (MNT) $ 1.07
  • canton-networkCanton (CC) $ 0.083980
  • bittensorBittensor (TAO) $ 300.29
  • aaveAave (AAVE) $ 185.03
  • usd1-wlfiUSD1 (USD1) $ 0.999416
  • bitget-tokenBitget Token (BGB) $ 3.63
  • nearNEAR Protocol (NEAR) $ 1.89
  • memecoreMemeCore (M) $ 1.39
  • blackrock-usd-institutional-digital-liquidity-fundBlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
  • okbOKB (OKB) $ 108.98
  • internet-computerInternet Computer (ICP) $ 4.16
  • aster-2Aster (ASTER) $ 1.10
  • tether-goldTether Gold (XAUT) $ 4,216.33
  • falcon-financeFalcon USD (USDF) $ 0.999131
  • ethereum-classicEthereum Classic (ETC) $ 13.81
  • ethenaEthena (ENA) $ 0.279112
  • pi-networkPi Network (PI) $ 0.246503
  • pepePepe (PEPE) $ 0.000005
  • jito-staked-solJito Staked SOL (JITOSOL) $ 171.11
  • binance-peg-wethBinance-Peg WETH (WETH) $ 3,034.72
  • pump-funPump.fun (PUMP) $ 0.002911
  • jupiter-perpetuals-liquidity-provider-tokenJupiter Perpetuals Liquidity Provider Token (JLP) $ 4.70
  • solanaSolana (SOL) $ 137.41
  • rainRain (RAIN) $ 0.007084
  • htx-daoHTX DAO (HTX) $ 0.000002
  • ondo-financeOndo (ONDO) $ 0.517540
  • aptosAptos (APT) $ 2.13
  • kaspaKaspa (KAS) $ 0.058452
  • worldcoin-wldWorldcoin (WLD) $ 0.646179
  • kucoin-sharesKuCoin (KCS) $ 11.63
  • polygon-ecosystem-tokenPOL (ex-MATIC) (POL) $ 0.135694
  • pax-goldPAX Gold (PAXG) $ 4,234.65
  • syrupusdcsyrupUSDC (SYRUPUSDC) $ 1.14
  • usdtbUSDtb (USDTB) $ 1.00
  • bfusdBFUSD (BFUSD) $ 0.999083
  • rocket-pool-ethRocket Pool ETH (RETH) $ 3,483.60
  • binance-bridged-usdc-bnb-smart-chainBinance Bridged USDC (BNB Smart Chain) (USDC) $ 0.999826
  • ripple-usdRipple USD (RLUSD) $ 0.999741
  • algorandAlgorand (ALGO) $ 0.142635
  • gatechain-tokenGate (GT) $ 10.61
  • global-dollarGlobal Dollar (USDG) $ 0.999832
  • wbnbWrapped BNB (WBNB) $ 883.69
  • arbitrumArbitrum (ARB) $ 0.217714
  • official-trumpOfficial Trump (TRUMP) $ 6.08
  • hashnote-usycCircle USYC (USYC) $ 1.11
  • flare-networksFlare (FLR) $ 0.015371
  • cosmosCosmos Hub (ATOM) $ 2.45
  • vechainVeChain (VET) $ 0.013619
  • filecoinFilecoin (FIL) $ 1.62
  • skySky (SKY) $ 0.050962
  • binance-staked-solBinance Staked SOL (BNSOL) $ 149.10
  • hash-2Provenance Blockchain (HASH) $ 0.022258
  • kelp-dao-restaked-ethKelp DAO Restaked ETH (RSETH) $ 3,210.47
  • ignition-fbtcFunction FBTC (FBTC) $ 90,455.00
  • kinetic-staked-hypeKinetiq Staked HYPE (KHYPE) $ 34.72
  • lombard-staked-btcLombard Staked BTC (LBTC) $ 91,021.00
  • liquid-staked-ethereumLiquid Staked ETH (LSETH) $ 3,243.35
  • solv-btcSolv Protocol BTC (SOLVBTC) $ 90,593.00
  • nexoNEXO (NEXO) $ 0.992059
  • xdce-crowd-saleXDC Network (XDC) $ 0.053433
  • syrupusdtsyrupUSDT (SYRUPUSDT) $ 1.11
  • render-tokenRender (RENDER) $ 1.79
  • first-digital-usdFirst Digital USD (FDUSD) $ 0.996803
  • superstate-short-duration-us-government-securities-fund-ustbSuperstate Short Duration U.S. Government Securities Fund (USTB) (USTB) $ 10.91
  • sei-networkSei (SEI) $ 0.137338
  • story-2Story (IP) $ 2.57
  • morphoMorpho (MORPHO) $ 1.53
  • bonkBonk (BONK) $ 0.000010
  • pancakeswap-tokenPancakeSwap (CAKE) $ 2.38
  • jupiter-exchange-solanaJupiter (JUP) $ 0.247807
  • ousgOUSG (OUSG) $ 113.47
  • janus-henderson-anemoy-aaa-clo-fundJanus Henderson Anemoy AAA CLO Fund (JAAA) $ 1.02
  • mantle-staked-etherMantle Staked Ether (METH) $ 3,284.15
  • renzo-restaked-ethRenzo Restaked ETH (EZETH) $ 3,228.88
  • arbitrum-bridged-wbtc-arbitrum-oneArbitrum Bridged WBTC (Arbitrum One) (WBTC) $ 90,774.00
  • dashDash (DASH) $ 58.12
  • fetch-aiArtificial Superintelligence Alliance (FET) $ 0.276428
  • pudgy-penguinsPudgy Penguins (PENGU) $ 0.011178
  • clbtcclBTC (CLBTC) $ 90,661.00
  • ondo-us-dollar-yieldOndo US Dollar Yield (USDY) $ 1.10
  • jupiter-staked-solJupiter Staked SOL (JUPSOL) $ 158.32
  • spx6900SPX6900 (SPX) $ 0.691540
  • optimismOptimism (OP) $ 0.334385
  • starknetStarknet (STRK) $ 0.137734
  • bridged-usdc-polygon-pos-bridgePolygon Bridged USDC (Polygon PoS) (USDC.E) $ 0.999823
  • usdaiUSDai (USDAI) $ 0.999961
  • aerodrome-financeAerodrome Finance (AERO) $ 0.684665
  • virtual-protocolVirtuals Protocol (VIRTUAL) $ 0.940976
  • polygon-pos-bridged-dai-polygon-posPolygon PoS Bridged DAI (Polygon POS) (DAI) $ 0.999808
  • stakewise-v3-osethStakeWise Staked ETH (OSETH) $ 3,155.65
  • curve-dao-tokenCurve DAO (CRV) $ 0.427725
  • beldexBeldex (BDX) $ 0.081394
  • injective-protocolInjective (INJ) $ 5.99
  • lido-daoLido DAO (LDO) $ 0.664088
  • blockstackStacks (STX) $ 0.318128
  • newton-projectAB (AB) $ 0.006329
  • tbtctBTC (TBTC) $ 90,511.00
  • msolMarinade Staked SOL (MSOL) $ 184.24
  • usual-usdUsual USD (USD0) $ 0.998080
  • celestiaCelestia (TIA) $ 0.645815
  • the-graphThe Graph (GRT) $ 0.051273
  • tezosTezos (XTZ) $ 0.506555
  • l2-standard-bridged-weth-baseL2 Standard Bridged WETH (Base) (WETH) $ 3,035.27
  • arbitrum-bridged-weth-arbitrum-oneArbitrum Bridged WETH (Arbitrum One) (WETH) $ 3,035.13
  • ether-fiEther.fi (ETHFI) $ 0.830382
  • true-usdTrueUSD (TUSD) $ 0.995837
  • cgeth-hashkey-cloudcgETH Hashkey Cloud (CGETH.HASH) $ 2,460.42
  • myx-financeMYX Finance (MYX) $ 2.55
  • mantle-bridged-usdt-mantleMantle Bridged USDT (Mantle) (USDT) $ 1.00
  • iotaIOTA (IOTA) $ 0.113995
  • usddUSDD (USDD) $ 1.00
  • flokiFLOKI (FLOKI) $ 0.000049
  • kaiaKaia (KAIA) $ 0.080001
  • gtethGTETH (GTETH) $ 3,035.20
  • telcoinTelcoin (TEL) $ 0.004901
  • stader-ethxStader ETHx (ETHX) $ 3,262.38
  • pendlePendle (PENDLE) $ 2.76
  • ethereum-name-serviceEthereum Name Service (ENS) $ 11.78
  • eutblSpiko EU T-Bills Money Market Fund (EUTBL) $ 1.21
  • ether-fi-liquid-ethEther.Fi Liquid ETH (LIQUIDETH) $ 3,198.18
  • plasmaPlasma (XPL) $ 0.220837
  • pyth-networkPyth Network (PYTH) $ 0.075908
  • trust-wallet-tokenTrust Wallet (TWT) $ 1.04
  • conflux-tokenConflux (CFX) $ 0.083116
  • lorenzo-wrapped-bitcoinLorenzo Wrapped Bitcoin (ENZOBTC) $ 90,454.00
  • steakhouse-usdc-morpho-vaultSteakhouse USDC Morpho Vault (STEAKUSDC) $ 1.11
  • decredDecred (DCR) $ 24.56
  • sonic-3Sonic (S) $ 0.110802
  • ghoGHO (GHO) $ 0.999587
  • bitcoin-svBitcoin SV (BSV) $ 20.86
  • the-sandboxThe Sandbox (SAND) $ 0.158475
  • bittorrentBitTorrent (BTT) $ 0.00000042
  • basic-attention-tokenBasic Attention (BAT) $ 0.273824
  • sun-tokenSun Token (SUN) $ 0.021190
  • usdbUSDB (USDB) $ 0.998848
  • heliumHelium (HNT) $ 2.17
  • doublezeroDoubleZero (2Z) $ 0.115955
  • swethSwell Ethereum (SWETH) $ 3,317.26
  • monadMonad (MON) $ 0.037009
  • sbtc-2sBTC (SBTC) $ 90,389.00
  • coinbase-wrapped-staked-ethCoinbase Wrapped Staked ETH (CBETH) $ 3,358.47
  • justJUST (JST) $ 0.039386
  • apenftAINFT (NFT) $ 0.00000039
  • binance-peg-dogecoinBinance-Peg Dogecoin (DOGE) $ 0.150218
  • wrapped-hypeWrapped HYPE (WHYPE) $ 34.48
  • flowFlow (FLOW) $ 0.235218
  • merlin-chainMerlin Chain (MERL) $ 0.360847
  • dogwifcoindogwifhat (WIF) $ 0.378457
  • benqi-liquid-staked-avaxBENQI Liquid Staked AVAX (SAVAX) $ 18.35
  • bitcoin-avalanche-bridged-btc-bAvalanche Bridged BTC (Avalanche) (BTC.B) $ 90,799.00
  • ether-fi-staked-ethether.fi Staked ETH (EETH) $ 3,034.42
  • galaGALA (GALA) $ 0.007874
  • jasmycoinJasmyCoin (JASMY) $ 0.007405
  • olympusOlympus (OHM) $ 22.31
  • fasttokenFasttoken (FTN) $ 0.829030
  • theta-tokenTheta Network (THETA) $ 0.358323
  • gnosisGnosis (GNO) $ 135.23

Lightspeed Newsletter: The lifecycle of a Solana transaction

0 100

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.