• bitcoinBitcoin (BTC) $ 103,684.00
  • ethereumEthereum (ETH) $ 2,517.80
  • tetherTether (USDT) $ 1.00
  • xrpXRP (XRP) $ 2.13
  • bnbBNB (BNB) $ 653.99
  • solanaSolana (SOL) $ 154.67
  • usd-coinUSDC (USDC) $ 0.999812
  • dogecoinDogecoin (DOGE) $ 0.189246
  • tronTRON (TRX) $ 0.268507
  • cardanoCardano (ADA) $ 0.667712
  • staked-etherLido Staked Ether (STETH) $ 2,515.36
  • wrapped-bitcoinWrapped Bitcoin (WBTC) $ 103,611.00
  • wrapped-stethWrapped stETH (WSTETH) $ 3,030.91
  • hyperliquidHyperliquid (HYPE) $ 31.48
  • suiSui (SUI) $ 3.14
  • chainlinkChainlink (LINK) $ 13.56
  • avalanche-2Avalanche (AVAX) $ 20.06
  • stellarStellar (XLM) $ 0.261951
  • leo-tokenLEO Token (LEO) $ 8.74
  • bitcoin-cashBitcoin Cash (BCH) $ 401.20
  • the-open-networkToncoin (TON) $ 3.07
  • shiba-inuShiba Inu (SHIB) $ 0.000013
  • usdsUSDS (USDS) $ 0.999861
  • hedera-hashgraphHedera (HBAR) $ 0.163307
  • wethWETH (WETH) $ 2,517.34
  • wrapped-eethWrapped eETH (WEETH) $ 2,690.90
  • litecoinLitecoin (LTC) $ 84.78
  • polkadotPolkadot (DOT) $ 3.98
  • binance-bridged-usdt-bnb-smart-chainBinance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.997801
  • moneroMonero (XMR) $ 320.87
  • bitget-tokenBitget Token (BGB) $ 4.63
  • ethena-usdeEthena USDe (USDE) $ 1.00
  • pepePepe (PEPE) $ 0.000011
  • whitebitWhiteBIT Coin (WBT) $ 31.20
  • coinbase-wrapped-btcCoinbase Wrapped BTC (CBBTC) $ 103,628.00
  • pi-networkPi Network (PI) $ 0.613759
  • daiDai (DAI) $ 1.00
  • aaveAave (AAVE) $ 250.69
  • uniswapUniswap (UNI) $ 6.02
  • bittensorBittensor (TAO) $ 402.53
  • crypto-com-chainCronos (CRO) $ 0.107629
  • okbOKB (OKB) $ 50.18
  • ethena-staked-usdeEthena Staked USDe (SUSDE) $ 1.18
  • aptosAptos (APT) $ 4.64
  • jito-staked-solJito Staked SOL (JITOSOL) $ 186.11
  • blackrock-usd-institutional-digital-liquidity-fundBlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
  • nearNEAR Protocol (NEAR) $ 2.39
  • tokenize-xchangeTokenize Xchange (TKX) $ 34.00
  • ondo-financeOndo (ONDO) $ 0.804141
  • ethereum-classicEthereum Classic (ETC) $ 16.68
  • internet-computerInternet Computer (ICP) $ 4.74
  • susdssUSDS (SUSDS) $ 1.05
  • gatechain-tokenGate (GT) $ 19.21
  • mantleMantle (MNT) $ 0.671819
  • usd1-wlfiUSD1 (USD1) $ 0.997521
  • kaspaKaspa (KAS) $ 0.082151
  • official-trumpOfficial Trump (TRUMP) $ 10.72
  • vechainVeChain (VET) $ 0.023580
  • lombard-staked-btcLombard Staked BTC (LBTC) $ 102,887.00
  • render-tokenRender (RENDER) $ 3.72
  • cosmosCosmos Hub (ATOM) $ 4.25
  • fasttokenFasttoken (FTN) $ 4.44
  • fetch-aiArtificial Superintelligence Alliance (FET) $ 0.723280
  • polygon-ecosystem-tokenPOL (ex-MATIC) (POL) $ 0.205206
  • ethenaEthena (ENA) $ 0.299032
  • worldcoin-wldWorldcoin (WLD) $ 1.11
  • filecoinFilecoin (FIL) $ 2.49
  • first-digital-usdFirst Digital USD (FDUSD) $ 1.00
  • algorandAlgorand (ALGO) $ 0.190312
  • arbitrumArbitrum (ARB) $ 0.328395
  • jupiter-perpetuals-liquidity-provider-tokenJupiter Perpetuals Liquidity Provider Token (JLP) $ 4.42
  • binance-peg-wethBinance-Peg WETH (WETH) $ 2,512.08
  • jupiter-exchange-solanaJupiter (JUP) $ 0.509582
  • kucoin-sharesKuCoin (KCS) $ 11.26
  • celestiaCelestia (TIA) $ 2.13
  • binance-staked-solBinance Staked SOL (BNSOL) $ 163.32
  • usdt0USDT0 (USDT0) $ 1.00
  • virtual-protocolVirtuals Protocol (VIRTUAL) $ 1.96
  • bonkBonk (BONK) $ 0.000016
  • sonic-3Sonic (S) $ 0.382255
  • nexoNEXO (NEXO) $ 1.20
  • rocket-pool-ethRocket Pool ETH (RETH) $ 2,861.73
  • injective-protocolInjective (INJ) $ 11.99
  • kelp-dao-restaked-ethKelp DAO Restaked ETH (RSETH) $ 2,630.55
  • flare-networksFlare (FLR) $ 0.017203
  • blockstackStacks (STX) $ 0.722717
  • story-2Story (IP) $ 3.83
  • optimismOptimism (OP) $ 0.620011
  • fartcoinFartcoin (FARTCOIN) $ 1.03
  • sei-networkSei (SEI) $ 0.190871
  • binance-bridged-usdc-bnb-smart-chainBinance Bridged USDC (BNB Smart Chain) (USDC) $ 0.996875
  • immutable-xImmutable (IMX) $ 0.537030
  • solv-btcSolv Protocol BTC (SOLVBTC) $ 103,172.00
  • xdce-crowd-saleXDC Network (XDC) $ 0.059374
  • eosEOS (EOS) $ 0.629201
  • mantle-staked-etherMantle Staked Ether (METH) $ 2,689.11
  • paypal-usdPayPal USD (PYUSD) $ 0.999609
  • spx6900SPX6900 (SPX) $ 0.960917
  • makerMaker (MKR) $ 1,549.65
  • the-graphThe Graph (GRT) $ 0.092057
  • curve-dao-tokenCurve DAO (CRV) $ 0.647426
  • polygon-bridged-usdt-polygonPolygon Bridged USDT (Polygon) (USDT) $ 1.00
  • arbitrum-bridged-wbtc-arbitrum-oneArbitrum Bridged WBTC (Arbitrum One) (WBTC) $ 103,524.00
  • wbnbWrapped BNB (WBNB) $ 651.85
  • stakewise-v3-osethStakeWise Staked ETH (OSETH) $ 2,638.08
  • renzo-restaked-ethRenzo Restaked ETH (EZETH) $ 2,639.10
  • jupiter-staked-solJupiter Staked SOL (JUPSOL) $ 171.65
  • dogwifcoindogwifhat (WIF) $ 0.823948
  • tether-goldTether Gold (XAUT) $ 3,295.27
  • clbtcclBTC (CLBTC) $ 103,651.00
  • dexeDeXe (DEXE) $ 13.92
  • pax-goldPAX Gold (PAXG) $ 3,308.49
  • flokiFLOKI (FLOKI) $ 0.000080
  • zcashZcash (ZEC) $ 46.09
  • msolMarinade Staked SOL (MSOL) $ 200.38
  • lido-daoLido DAO (LDO) $ 0.817570
  • jasmycoinJasmyCoin (JASMY) $ 0.015080
  • pancakeswap-tokenPancakeSwap (CAKE) $ 2.26
  • theta-tokenTheta Network (THETA) $ 0.725468
  • galaGALA (GALA) $ 0.016163
  • coredaoorgCore (CORE) $ 0.705988
  • raydiumRaydium (RAY) $ 2.42
  • bittorrentBitTorrent (BTT) $ 0.00000069
  • ethereum-name-serviceEthereum Name Service (ENS) $ 20.40
  • iotaIOTA (IOTA) $ 0.177202
  • usdx-money-usdxStables Labs USDX (USDX) $ 1.00
  • ousgOUSG (OUSG) $ 111.26
  • solv-protocol-solvbtc-bbnSolv Protocol Staked BTC (XSOLVBTC) $ 103,199.00
  • walrus-2Walrus (WAL) $ 0.497851
  • bitcoin-svBitcoin SV (BSV) $ 32.92
  • pyth-networkPyth Network (PYTH) $ 0.113225
  • the-sandboxThe Sandbox (SAND) $ 0.267150
  • pendlePendle (PENDLE) $ 3.91
  • usual-usdUsual USD (USD0) $ 0.997870
  • pudgy-penguinsPudgy Penguins (PENGU) $ 0.009865
  • polyhedra-networkPolyhedra Network (ZKJ) $ 2.00
  • kaiaKaia (KAIA) $ 0.103586
  • heliumHelium (HNT) $ 3.19
  • ondo-us-dollar-yieldOndo US Dollar Yield (USDY) $ 1.09
  • tezosTezos (XTZ) $ 0.556022
  • l2-standard-bridged-weth-baseL2 Standard Bridged WETH (Base) (WETH) $ 2,517.74
  • flowFlow (FLOW) $ 0.356798
  • thorchainTHORChain (RUNE) $ 1.61
  • super-oethSuper OETH (SUPEROETH) $ 2,519.03
  • jito-governance-tokenJito (JTO) $ 1.62
  • chain-2Onyxcoin (XCN) $ 0.016021
  • mantle-restaked-ethMantle Restaked ETH (CMETH) $ 2,684.25
  • cgeth-hashkey-cloudcgETH Hashkey Cloud (CGETH.HASH) $ 2,587.96
  • ketKet (KET) $ 0.516844
  • saros-financeSaros (SAROS) $ 0.195848
  • syrupusdcSyrupUSDC (SYRUPUSDC) $ 1.10
  • decentralandDecentraland (MANA) $ 0.269944
  • bitcoin-avalanche-bridged-btc-bAvalanche Bridged BTC (Avalanche) (BTC.B) $ 103,609.00
  • arbitrum-bridged-weth-arbitrum-oneArbitrum Bridged WETH (Arbitrum One) (WETH) $ 2,517.17
  • true-usdTrueUSD (TUSD) $ 0.998850
  • grassGrass (GRASS) $ 1.71
  • based-brettBrett (BRETT) $ 0.049192
  • apecoinApeCoin (APE) $ 0.606926
  • binance-peg-dogecoinBinance-Peg Dogecoin (DOGE) $ 0.188309
  • zebec-networkZebec Network (ZBCN) $ 0.005879
  • kaitoKAITO (KAITO) $ 1.95
  • tbtctBTC (TBTC) $ 103,626.00
  • bridged-usdc-polygon-pos-bridgeBridged USDC (Polygon PoS Bridge) (USDC.E) $ 0.999700
  • aethirAethir (ATH) $ 0.049832
  • beldexBeldex (BDX) $ 0.063304
  • falcon-financeFalcon USD (USDF) $ 0.999687
  • kavaKava (KAVA) $ 0.414662
  • livepeerLivepeer (LPT) $ 10.87
  • elrond-erd-2MultiversX (EGLD) $ 15.19
  • aerodrome-financeAerodrome Finance (AERO) $ 0.508158
  • dog-go-to-the-moon-runeDog (Bitcoin) (DOG) $ 0.004172
  • apenftAPENFT (NFT) $ 0.00000042
  • pumpbtcpumpBTC (PUMPBTC) $ 100,839.00
  • aioz-networkAIOZ Network (AIOZ) $ 0.351982
  • usdbUSDB (USDB) $ 1.01
  • wrapped-hypeWrapped HYPE (WHYPE) $ 31.54
  • hashnote-usycCircle USYC (USYC) $ 1.09
  • dydx-chaindYdX (DYDX) $ 0.523820
  • arweaveArweave (AR) $ 6.22
  • starknetStarknet (STRK) $ 0.130716
  • neoNEO (NEO) $ 5.69
  • axie-infinityAxie Infinity (AXS) $ 2.48
  • ecasheCash (XEC) $ 0.000020
  • reserve-rights-tokenReserve Rights (RSR) $ 0.006902
  • usddUSDD (USDD) $ 1.00
  • eigenlayerEigenlayer (EIGEN) $ 1.29
  • mantle-bridged-usdt-mantleMantle Bridged USDT (Mantle) (USDT) $ 0.999180
  • roninRonin (RON) $ 0.590642
  • mimblewimblecoinMimbleWimbleCoin (MWC) $ 34.61
  • liquid-staked-ethereumLiquid Staked ETH (LSETH) $ 2,720.34
  • ether-fi-staked-ethether.fi Staked ETH (EETH) $ 2,517.22
  • conflux-tokenConflux (CFX) $ 0.073875
  • stader-ethxStader ETHx (ETHX) $ 2,673.11
  • chilizChiliz (CHZ) $ 0.038534
  • compound-governance-tokenCompound (COMP) $ 40.45
  • wormholeWormhole (W) $ 0.079216
  • ether-fiEther.fi (ETHFI) $ 1.11
  • sun-tokenSun Token (SUN) $ 0.018773
  • syrupMaple Finance (SYRUP) $ 0.332867
  • build-onBUILDon (B) $ 0.356464

Lightspeed Newsletter: The lifecycle of a Solana transaction

0 49

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.