• bitcoinBitcoin (BTC) $ 108,376.00
  • ethereumEthereum (ETH) $ 4,394.52
  • xrpXRP (XRP) $ 2.83
  • tetherTether (USDT) $ 1.00
  • bnbBNB (BNB) $ 858.50
  • solanaSolana (SOL) $ 206.22
  • usd-coinUSDC (USDC) $ 0.999805
  • staked-etherLido Staked Ether (STETH) $ 4,377.98
  • dogecoinDogecoin (DOGE) $ 0.217156
  • tronTRON (TRX) $ 0.339650
  • cardanoCardano (ADA) $ 0.834196
  • wrapped-stethWrapped stETH (WSTETH) $ 5,314.35
  • chainlinkChainlink (LINK) $ 23.40
  • wrapped-beacon-ethWrapped Beacon ETH (WBETH) $ 4,732.06
  • wrapped-bitcoinWrapped Bitcoin (WBTC) $ 108,548.00
  • ethena-usdeEthena USDe (USDE) $ 1.00
  • hyperliquidHyperliquid (HYPE) $ 44.69
  • wrapped-eethWrapped eETH (WEETH) $ 4,697.33
  • suiSui (SUI) $ 3.31
  • stellarStellar (XLM) $ 0.360438
  • bitcoin-cashBitcoin Cash (BCH) $ 531.61
  • crypto-com-chainCronos (CRO) $ 0.301854
  • avalanche-2Avalanche (AVAX) $ 23.68
  • hedera-hashgraphHedera (HBAR) $ 0.227480
  • wethWETH (WETH) $ 4,389.04
  • leo-tokenLEO Token (LEO) $ 9.50
  • litecoinLitecoin (LTC) $ 110.68
  • usdsUSDS (USDS) $ 0.999812
  • the-open-networkToncoin (TON) $ 3.09
  • shiba-inuShiba Inu (SHIB) $ 0.000012
  • binance-bridged-usdt-bnb-smart-chainBinance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.999937
  • coinbase-wrapped-btcCoinbase Wrapped BTC (CBBTC) $ 108,304.00
  • whitebitWhiteBIT Coin (WBT) $ 42.33
  • uniswapUniswap (UNI) $ 9.69
  • polkadotPolkadot (DOT) $ 3.81
  • ethena-staked-usdeEthena Staked USDe (SUSDE) $ 1.19
  • bitget-tokenBitget Token (BGB) $ 4.54
  • moneroMonero (XMR) $ 261.22
  • aaveAave (AAVE) $ 317.32
  • daiDai (DAI) $ 0.999702
  • ethenaEthena (ENA) $ 0.655644
  • pepePepe (PEPE) $ 0.000010
  • mantleMantle (MNT) $ 1.16
  • okbOKB (OKB) $ 176.38
  • ethereum-classicEthereum Classic (ETC) $ 21.01
  • bittensorBittensor (TAO) $ 323.21
  • jito-staked-solJito Staked SOL (JITOSOL) $ 252.55
  • nearNEAR Protocol (NEAR) $ 2.45
  • aptosAptos (APT) $ 4.30
  • pi-networkPi Network (PI) $ 0.365747
  • ondo-financeOndo (ONDO) $ 0.917520
  • usdt0USDT0 (USDT0) $ 0.998830
  • binance-peg-wethBinance-Peg WETH (WETH) $ 4,392.91
  • internet-computerInternet Computer (ICP) $ 4.91
  • arbitrumArbitrum (ARB) $ 0.493832
  • polygon-ecosystem-tokenPOL (ex-MATIC) (POL) $ 0.243221
  • usd1-wlfiUSD1 (USD1) $ 1.00
  • blackrock-usd-institutional-digital-liquidity-fundBlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
  • binance-staked-solBinance Staked SOL (BNSOL) $ 220.78
  • kaspaKaspa (KAS) $ 0.084851
  • vechainVeChain (VET) $ 0.024552
  • cosmosCosmos Hub (ATOM) $ 4.53
  • algorandAlgorand (ALGO) $ 0.235360
  • gatechain-tokenGate (GT) $ 17.05
  • rocket-pool-ethRocket Pool ETH (RETH) $ 4,994.26
  • susdssUSDS (SUSDS) $ 1.07
  • fasttokenFasttoken (FTN) $ 4.53
  • jupiter-perpetuals-liquidity-provider-tokenJupiter Perpetuals Liquidity Provider Token (JLP) $ 5.43
  • pudgy-penguinsPudgy Penguins (PENGU) $ 0.029680
  • kelp-dao-restaked-ethKelp DAO Restaked ETH (RSETH) $ 4,604.34
  • story-2Story (IP) $ 6.02
  • render-tokenRender (RENDER) $ 3.51
  • worldcoin-wldWorldcoin (WLD) $ 0.914443
  • kucoin-sharesKuCoin (KCS) $ 13.96
  • bonkBonk (BONK) $ 0.000023
  • sei-networkSei (SEI) $ 0.288988
  • bfusdBFUSD (BFUSD) $ 0.999485
  • official-trumpOfficial Trump (TRUMP) $ 8.39
  • stakewise-v3-osethStakeWise Staked ETH (OSETH) $ 4,615.40
  • fetch-aiArtificial Superintelligence Alliance (FET) $ 0.622040
  • kinetic-staked-hypeKinetiq Staked HYPE (KHYPE) $ 44.60
  • jupiter-exchange-solanaJupiter (JUP) $ 0.512062
  • liquid-staked-ethereumLiquid Staked ETH (LSETH) $ 4,742.82
  • filecoinFilecoin (FIL) $ 2.29
  • flare-networksFlare (FLR) $ 0.021295
  • skySky (SKY) $ 0.064469
  • quant-networkQuant (QNT) $ 103.31
  • lombard-staked-btcLombard Staked BTC (LBTC) $ 108,271.00
  • usdtbUSDtb (USDTB) $ 1.00
  • polygon-bridged-usdt-polygonPolygon Bridged USDT (Polygon) (USDT) $ 0.999866
  • xdce-crowd-saleXDC Network (XDC) $ 0.078158
  • fourFour (FORM) $ 3.61
  • renzo-restaked-ethRenzo Restaked ETH (EZETH) $ 4,630.08
  • falcon-financeFalcon USD (USDF) $ 1.00
  • mantle-staked-etherMantle Staked Ether (METH) $ 4,707.30
  • tether-goldTether Gold (XAUT) $ 3,446.55
  • hash-2Provenance Blockchain (HASH) $ 0.026517
  • injective-protocolInjective (INJ) $ 13.12
  • pump-funPump.fun (PUMP) $ 0.003619
  • optimismOptimism (OP) $ 0.706324
  • celestiaCelestia (TIA) $ 1.64
  • nexoNEXO (NEXO) $ 1.25
  • jupiter-staked-solJupiter Staked SOL (JUPSOL) $ 233.71
  • pyth-networkPyth Network (PYTH) $ 0.205274
  • wbnbWrapped BNB (WBNB) $ 859.12
  • paypal-usdPayPal USD (PYUSD) $ 0.999474
  • first-digital-usdFirst Digital USD (FDUSD) $ 0.996051
  • solv-btcSolv Protocol BTC (SOLVBTC) $ 108,205.00
  • blockstackStacks (STX) $ 0.625943
  • lido-daoLido DAO (LDO) $ 1.23
  • curve-dao-tokenCurve DAO (CRV) $ 0.772395
  • binance-bridged-usdc-bnb-smart-chainBinance Bridged USDC (BNB Smart Chain) (USDC) $ 0.999946
  • spx6900SPX6900 (SPX) $ 1.12
  • sonic-3Sonic (S) $ 0.316250
  • aerodrome-financeAerodrome Finance (AERO) $ 1.14
  • immutable-xImmutable (IMX) $ 0.521699
  • super-oethSuper OETH (SUPEROETH) $ 4,386.96
  • pax-goldPAX Gold (PAXG) $ 3,463.34
  • syrupusdcSyrupUSDC (SYRUPUSDC) $ 1.12
  • conflux-tokenConflux (CFX) $ 0.187474
  • msolMarinade Staked SOL (MSOL) $ 271.50
  • raydiumRaydium (RAY) $ 3.50
  • memecoreMemeCore (M) $ 0.563510
  • the-graphThe Graph (GRT) $ 0.089122
  • saros-financeSaros (SAROS) $ 0.350962
  • flokiFLOKI (FLOKI) $ 0.000095
  • arbitrum-bridged-wbtc-arbitrum-oneArbitrum Bridged WBTC (Arbitrum One) (WBTC) $ 108,504.00
  • kaiaKaia (KAIA) $ 0.148303
  • pancakeswap-tokenPancakeSwap (CAKE) $ 2.50
  • ether-fi-staked-ethether.fi Staked ETH (EETH) $ 4,365.45
  • clbtcclBTC (CLBTC) $ 109,815.00
  • cgeth-hashkey-cloudcgETH Hashkey Cloud (CGETH.HASH) $ 4,154.03
  • l2-standard-bridged-weth-baseL2 Standard Bridged WETH (Base) (WETH) $ 4,394.35
  • dogwifcoindogwifhat (WIF) $ 0.808233
  • pendlePendle (PENDLE) $ 4.73
  • fartcoinFartcoin (FARTCOIN) $ 0.792016
  • theta-tokenTheta Network (THETA) $ 0.787676
  • vaultaVaulta (A) $ 0.495214
  • tezosTezos (XTZ) $ 0.740588
  • ethereum-name-serviceEthereum Name Service (ENS) $ 23.52
  • iotaIOTA (IOTA) $ 0.193038
  • virtual-protocolVirtuals Protocol (VIRTUAL) $ 1.16
  • galaGALA (GALA) $ 0.016258
  • jito-governance-tokenJito (JTO) $ 1.96
  • ousgOUSG (OUSG) $ 112.39
  • jasmycoinJasmyCoin (JASMY) $ 0.014689
  • ripple-usdRipple USD (RLUSD) $ 0.999736
  • loaded-lionsLoaded Lions (LION) $ 0.022879
  • newton-projectAB (AB) $ 0.009148
  • usdx-money-usdxStables Labs USDX (USDX) $ 0.997518
  • ondo-us-dollar-yieldOndo US Dollar Yield (USDY) $ 1.08
  • build-onBUILDon (B) $ 0.675848
  • the-sandboxThe Sandbox (SAND) $ 0.276335
  • morphoMorpho (MORPHO) $ 2.03
  • stader-ethxStader ETHx (ETHX) $ 4,661.18
  • zcashZcash (ZEC) $ 40.38
  • arbitrum-bridged-weth-arbitrum-oneArbitrum Bridged WETH (Arbitrum One) (WETH) $ 4,388.85
  • mantle-restaked-ethMantle Restaked ETH (CMETH) $ 4,714.44
  • bittorrentBitTorrent (BTT) $ 0.00000066
  • tbtctBTC (TBTC) $ 108,238.00
  • flowFlow (FLOW) $ 0.397189
  • coinbase-wrapped-staked-ethCoinbase Wrapped Staked ETH (CBETH) $ 4,823.44
  • usual-usdUsual USD (USD0) $ 0.997883
  • swethSwell Ethereum (SWETH) $ 4,740.09
  • beldexBeldex (BDX) $ 0.076278
  • binance-peg-dogecoinBinance-Peg Dogecoin (DOGE) $ 0.217538
  • global-dollarGlobal Dollar (USDG) $ 0.999993
  • decentralandDecentraland (MANA) $ 0.286382
  • walrus-2Walrus (WAL) $ 0.387616
  • vision-3Vision (VSN) $ 0.167525
  • bitcoin-avalanche-bridged-btc-bAvalanche Bridged BTC (Avalanche) (BTC.B) $ 108,213.00
  • bitcoin-svBitcoin SV (BSV) $ 26.00
  • ether-fiEther.fi (ETHFI) $ 1.10
  • syrupMaple Finance (SYRUP) $ 0.455373
  • frax-etherFrax Ether (FRXETH) $ 4,326.97
  • true-usdTrueUSD (TUSD) $ 0.997883
  • starknetStarknet (STRK) $ 0.127706
  • neoNEO (NEO) $ 6.80
  • heliumHelium (HNT) $ 2.57
  • dydx-chaindYdX (DYDX) $ 0.615731
  • based-brettBrett (BRETT) $ 0.048008
  • polygon-pos-bridged-weth-polygon-posPolygon PoS Bridged WETH (Polygon POS) (WETH) $ 4,388.07
  • solv-protocol-solvbtc-bbnSolv Protocol Staked BTC (XSOLVBTC) $ 106,580.00
  • apecoinApeCoin (APE) $ 0.566368
  • apenftAPENFT (NFT) $ 0.00000046
  • bybit-staked-solBybit Staked SOL (BBSOL) $ 226.62
  • usddUSDD (USDD) $ 0.999898
  • reserve-rights-tokenReserve Rights (RSR) $ 0.007527
  • mantle-bridged-usdt-mantleMantle Bridged USDT (Mantle) (USDT) $ 1.00
  • zksyncZKsync (ZK) $ 0.060556
  • polygon-pos-bridged-dai-polygon-posPolygon PoS Bridged DAI (Polygon POS) (DAI) $ 0.999779
  • sun-tokenSun Token (SUN) $ 0.022694
  • savings-daiSavings Dai (SDAI) $ 1.17
  • telcoinTelcoin (TEL) $ 0.004691
  • coredaoorgCore (CORE) $ 0.428816
  • dexeDeXe (DEXE) $ 7.52
  • thorchainTHORChain (RUNE) $ 1.19
  • arweaveArweave (AR) $ 6.40
  • instadappFluid (FLUID) $ 6.20
  • bridged-usdc-polygon-pos-bridgeBridged USDC (Polygon PoS Bridge) (USDC.E) $ 0.999805

Lightspeed Newsletter: The lifecycle of a Solana transaction

0 73

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.