• bitcoinBitcoin (BTC) $ 75,475.00
  • ethereumEthereum (ETH) $ 2,392.17
  • tetherTether (USDT) $ 1.00
  • xrpXRP (XRP) $ 1.39
  • bnbBNB (BNB) $ 622.49
  • usd-coinUSDC (USDC) $ 0.999757
  • solanaSolana (SOL) $ 87.30
  • tronTRON (TRX) $ 0.321037
  • staked-etherLido Staked Ether (STETH) $ 2,265.05
  • figure-helocFigure Heloc (FIGR_HELOC) $ 1.03
  • dogecoinDogecoin (DOGE) $ 0.096863
  • whitebitWhiteBIT Coin (WBT) $ 55.27
  • usdsUSDS (USDS) $ 0.999678
  • hyperliquidHyperliquid (HYPE) $ 44.79
  • leo-tokenLEO Token (LEO) $ 10.11
  • wrapped-stethWrapped stETH (WSTETH) $ 2,779.67
  • cardanoCardano (ADA) $ 0.247585
  • bitcoin-cashBitcoin Cash (BCH) $ 441.98
  • wrapped-bitcoinWrapped Bitcoin (WBTC) $ 76,243.00
  • chainlinkChainlink (LINK) $ 9.23
  • binance-bridged-usdt-bnb-smart-chainBinance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.998762
  • moneroMonero (XMR) $ 352.96
  • wrapped-beacon-ethWrapped Beacon ETH (WBETH) $ 2,466.93
  • zcashZcash (ZEC) $ 369.01
  • canton-networkCanton (CC) $ 0.155903
  • ethena-usdeEthena USDe (USDE) $ 1.00
  • wrapped-eethWrapped eETH (WEETH) $ 2,465.31
  • stellarStellar (XLM) $ 0.157709
  • memecoreMemeCore (M) $ 2.85
  • susdssUSDS (SUSDS) $ 1.08
  • daiDai (DAI) $ 0.999432
  • litecoinLitecoin (LTC) $ 55.13
  • avalanche-2Avalanche (AVAX) $ 9.49
  • coinbase-wrapped-btcCoinbase Wrapped BTC (CBBTC) $ 76,366.00
  • usd1-wlfiUSD1 (USD1) $ 0.999345
  • paypal-usdPayPal USD (PYUSD) $ 0.999878
  • ravedaoRaveDAO (RAVE) $ 16.37
  • wethWETH (WETH) $ 2,268.37
  • rainRain (RAIN) $ 0.008038
  • hedera-hashgraphHedera (HBAR) $ 0.087449
  • suiSui (SUI) $ 0.959163
  • usdt0USDT0 (USDT0) $ 0.998824
  • the-open-networkToncoin (TON) $ 1.43
  • shiba-inuShiba Inu (SHIB) $ 0.000006
  • crypto-com-chainCronos (CRO) $ 0.070624
  • hashnote-usycCircle USYC (USYC) $ 1.12
  • tether-goldTether Gold (XAUT) $ 4,769.22
  • world-liberty-financialWorld Liberty Financial (WLFI) $ 0.082944
  • blackrock-usd-institutional-digital-liquidity-fundBlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
  • ethena-staked-usdeEthena Staked USDe (SUSDE) $ 1.22
  • bittensorBittensor (TAO) $ 252.89
  • pax-goldPAX Gold (PAXG) $ 4,778.69
  • mantleMantle (MNT) $ 0.679610
  • global-dollarGlobal Dollar (USDG) $ 0.999905
  • uniswapUniswap (UNI) $ 3.20
  • polkadotPolkadot (DOT) $ 1.18
  • okbOKB (OKB) $ 87.28
  • nearNEAR Protocol (NEAR) $ 1.40
  • falcon-financeFalcon USD (USDF) $ 0.998813
  • skySky (SKY) $ 0.075596
  • little-pepe-5Little Pepe (LILPEPE) $ 2.16
  • aster-2Aster (ASTER) $ 0.687698
  • pi-networkPi Network (PI) $ 0.165672
  • syrupusdcsyrupUSDC (SYRUPUSDC) $ 1.15
  • htx-daoHTX DAO (HTX) $ 0.000002
  • pepePepe (PEPE) $ 0.000004
  • usddUSDD (USDD) $ 1.00
  • aaveAave (AAVE) $ 101.06
  • ripple-usdRipple USD (RLUSD) $ 0.999989
  • janus-henderson-anemoy-treasury-fundJanus Henderson Anemoy Treasury Fund (JTRSY) $ 1.10
  • internet-computerInternet Computer (ICP) $ 2.49
  • bitget-tokenBitget Token (BGB) $ 1.92
  • ondo-us-dollar-yieldOndo US Dollar Yield (USDY) $ 1.13
  • ethereum-classicEthereum Classic (ETC) $ 8.48
  • bfusdBFUSD (BFUSD) $ 0.999697
  • ondo-financeOndo (ONDO) $ 0.259985
  • pump-funPump.fun (PUMP) $ 0.001972
  • kucoin-sharesKuCoin (KCS) $ 8.62
  • jupiter-perpetuals-liquidity-provider-tokenJupiter Perpetuals Liquidity Provider Token (JLP) $ 4.00
  • gatechain-tokenGate (GT) $ 6.88
  • quant-networkQuant (QNT) $ 76.01
  • worldcoin-wldWorldcoin (WLD) $ 0.318193
  • morphoMorpho (MORPHO) $ 1.80
  • algorandAlgorand (ALGO) $ 0.111586
  • jito-staked-solJito Staked SOL (JITOSOL) $ 124.46
  • render-tokenRender (RENDER) $ 1.91
  • eutblSpiko EU T-Bills Money Market Fund (EUTBL) $ 1.24
  • kelp-dao-restaked-ethKelp DAO Restaked ETH (RSETH) $ 2,404.69
  • kaspaKaspa (KAS) $ 0.033205
  • nexoNEXO (NEXO) $ 0.904762
  • binance-peg-wethBinance-Peg WETH (WETH) $ 2,262.26
  • cosmosCosmos Hub (ATOM) $ 1.78
  • rocket-pool-ethRocket Pool ETH (RETH) $ 2,631.35
  • polygon-ecosystem-tokenPOL (ex-MATIC) (POL) $ 0.084244
  • usdtbUSDtb (USDTB) $ 1.00
  • binance-bridged-usdc-bnb-smart-chainBinance Bridged USDC (BNB Smart Chain) (USDC) $ 0.999945
  • ethenaEthena (ENA) $ 0.096435
  • superstate-short-duration-us-government-securities-fund-ustbSuperstate Short Duration U.S. Government Securities Fund (USTB) (USTB) $ 11.05
  • wbnbWrapped BNB (WBNB) $ 759.61
  • blockchain-capitalBlockchain Capital (BCAP) $ 82.76
  • ignition-fbtcFunction FBTC (FBTC) $ 76,389.00
  • hash-2Provenance Blockchain (HASH) $ 0.012315
  • flare-networksFlare (FLR) $ 0.008169
  • filecoinFilecoin (FIL) $ 0.906762
  • aptosAptos (APT) $ 0.865389
  • justJUST (JST) $ 0.077240
  • syrupusdtsyrupUSDT (SYRUPUSDT) $ 1.11
  • ousgOUSG (OUSG) $ 114.91
  • arbitrumArbitrum (ARB) $ 0.111232
  • official-trumpOfficial Trump (TRUMP) $ 2.86
  • binance-staked-solBinance Staked SOL (BNSOL) $ 108.24
  • xdce-crowd-saleXDC Network (XDC) $ 0.031340
  • beldexBeldex (BDX) $ 0.080289
  • jupiter-exchange-solanaJupiter (JUP) $ 0.172061
  • vechainVeChain (VET) $ 0.007007
  • midnight-3Midnight (NIGHT) $ 0.036171
  • ghoGHO (GHO) $ 0.999609
  • new-x-ceo-is-backNEW X CEO IS BACK (XFLOKI) $ 0.506041
  • bridged-usdc-polygon-pos-bridgePolygon Bridged USDC (Polygon PoS) (USDC.E) $ 0.999720
  • stable-2​​Stable (STABLE) $ 0.026795
  • solv-btcSolv Protocol BTC (SOLVBTC) $ 76,461.00
  • yldsYLDS (YLDS) $ 0.999849
  • lombard-staked-btcLombard Staked BTC (LBTC) $ 76,491.00
  • usual-usdUsual USD (USD0) $ 0.998174
  • pancakeswap-tokenPancakeSwap (CAKE) $ 1.64
  • siren-2Siren (SIREN) $ 0.731750
  • clbtcclBTC (CLBTC) $ 76,920.00
  • fetch-aiArtificial Superintelligence Alliance (FET) $ 0.234798
  • bonkBonk (BONK) $ 0.000006
  • dashDash (DASH) $ 40.49
  • layerzeroLayerZero (ZRO) $ 2.00
  • true-usdTrueUSD (TUSD) $ 1.00
  • a7a5A7A5 (A7A5) $ 0.012470
  • stakewise-v3-osethStakeWise Staked ETH (OSETH) $ 2,419.84
  • dexeDeXe (DEXE) $ 10.03
  • virtual-protocolVirtuals Protocol (VIRTUAL) $ 0.695821
  • kinetic-staked-hypeKinetiq Staked HYPE (KHYPE) $ 33.97
  • pudgy-penguinsPudgy Penguins (PENGU) $ 0.007191
  • tbtctBTC (TBTC) $ 70,942.00
  • adi-tokenADI (ADI) $ 4.31
  • wrappedm-by-m0WrappedM by M0 (WM) $ 1.00
  • venice-tokenVenice Token (VVV) $ 9.78
  • monadMonad (MON) $ 0.036731
  • euro-coinEURC (EURC) $ 1.18
  • blockstackStacks (STX) $ 0.224134
  • first-digital-usdFirst Digital USD (FDUSD) $ 1.00
  • janus-henderson-anemoy-aaa-clo-fundJanus Henderson Anemoy AAA CLO Fund (JAAA) $ 1.03
  • c8ntinuumc8ntinuum (CTM) $ 0.087592
  • tezosTezos (XTZ) $ 0.354791
  • mantle-staked-etherMantle Staked Ether (METH) $ 2,455.82
  • decredDecred (DCR) $ 21.84
  • chilizChiliz (CHZ) $ 0.036756
  • polygon-pos-bridged-dai-polygon-posPolygon PoS Bridged DAI (Polygon POS) (DAI) $ 0.999983
  • sei-networkSei (SEI) $ 0.055933
  • resolv-wstusrResolv wstUSR (WSTUSR) $ 1.13
  • kinesis-goldKinesis Gold (KAU) $ 152.84
  • cocaCOCA (COCA) $ 1.30
  • usxUSX (USX) $ 0.999521
  • bianrensheng币安人生 (BinanceLife) (币安人生) $ 0.356582
  • hastra-primePRIME (PRIME) $ 1.03
  • doge-strategyDoge Strategy (DOGESTR) $ 0.288297
  • liquid-staked-ethereumLiquid Staked ETH (LSETH) $ 2,406.26
  • aerodrome-financeAerodrome Finance (AERO) $ 0.384779
  • arbitrum-bridged-wbtc-arbitrum-oneArbitrum Bridged WBTC (Arbitrum One) (WBTC) $ 76,200.00
  • sun-tokenSun Token (SUN) $ 0.018071
  • ether-fiEther.fi (ETHFI) $ 0.439187
  • plasmaPlasma (XPL) $ 0.140515
  • edgexedgeX (EDGE) $ 0.960130
  • wrapped-flareWrapped Flare (WFLR) $ 0.009961
  • apenftAINFT (NFT) $ 0.00000033
  • curve-dao-tokenCurve DAO (CRV) $ 0.220762
  • l2-standard-bridged-weth-baseL2 Standard Bridged WETH (Base) (WETH) $ 2,266.86
  • bittorrentBitTorrent (BTT) $ 0.00000033
  • steakhouse-usdc-morpho-vaultSteakhouse USDC Morpho Vault (STEAKUSDC) $ 1.12
  • lido-daoLido DAO (LDO) $ 0.373422
  • gnosisGnosis (GNO) $ 119.14
  • bitcoin-svBitcoin SV (BSV) $ 15.63
  • spx6900SPX6900 (SPX) $ 0.330982
  • injective-protocolInjective (INJ) $ 3.03
  • binance-peg-xrpBinance-Peg XRP (XRP) $ 1.59
  • usdaiUSDai (USDAI) $ 0.999853
  • ether-fi-liquid-ethEther.Fi Liquid ETH (LIQUIDETH) $ 2,443.47
  • kinesis-silverKinesis Silver (KAG) $ 78.20
  • renzo-restaked-ethRenzo Restaked ETH (EZETH) $ 2,421.84
  • lighterLighter (LIT) $ 1.13
  • conflux-tokenConflux (CFX) $ 0.054430
  • noonNoon (NOON) $ 0.751949
  • sbtc-2sBTC (SBTC) $ 77,039.00
  • celestiaCelestia (TIA) $ 0.311731
  • doublezeroDoubleZero (2Z) $ 0.080583
  • flokiFLOKI (FLOKI) $ 0.000029
  • jupiter-staked-solJupiter Staked SOL (JUPSOL) $ 115.56
  • kaiaKaia (KAIA) $ 0.047746
  • savings-usddSavings USDD (SUSDD) $ 1.03
  • fraxLegacy Frax Dollar (FRAX) $ 0.991037
  • jasmycoinJasmyCoin (JASMY) $ 0.005419
  • crvusdcrvUSD (CRVUSD) $ 0.999963
  • msolMarinade Staked SOL (MSOL) $ 133.18
  • ape-and-pepeApe and Pepe (APEPE) $ 0.000001
  • arbitrum-bridged-weth-arbitrum-oneArbitrum Bridged WETH (Arbitrum One) (WETH) $ 2,265.06

Lightspeed Newsletter: The lifecycle of a Solana transaction

0 132

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.