Dab tsi yog Ethereum node thiab nws ua haujlwm li cas

Dab tsi yog qhov tseem ceeb ntawm Ethereum node hauv blockchain, thiab nws cuam tshuam nrog lwm tus li cas?

Ethereum yog qhov tseeb tsis yog cryptocurrency, tab sis ib qho kev faib tawm P2P network raws li pej xeem thiab qhib lub khoos phis tawj raws tu qauv. 

Nws haiv neeg cryptocurrency yog Ether (ETH), txawm hais tias nws feem ntau hu los ntawm lub npe ntawm tag nrho cov network, uas yog Ethereum. 

P2P tes hauj lwm, los yog cov phooj ywg-rau-peer networks, muaj cov neeg sib txuas lus uas sib txuas lus hauv Internet. Yog li, nws yog cov nodes uas yog cov tseem ceeb ntawm cov tes hauj lwm. 

Yog li ntawd, cov ntsiab lus tseem ceeb ntawm Ethereum yog nws cov nodes, uas tsim lub P2P network, thiab pom tseeb cov txheej txheem uas lawv tau ua raws. 

Txhawm rau ua ib feem ntawm Ethereum P2P network, thiab cuam tshuam nrog lwm cov nodes, Ethereum node yuav tsum ua raws li nws cov txheej txheem yooj yim rau tsab ntawv, uas tau kawg yuav tsum zoo ib yam rau tag nrho cov nodes, lossis nws yuav raug cais tawm ntawm lub network. nws tus kheej. 

Kev ua haujlwm ntawm Ethereum node

Ethereum nodes yog cov khoos phis tawj, lossis cov servers, txuas nrog Is Taws Nem thiab cov software tshwj xeeb ua haujlwm. 

Qhov software no nyob rau hauv jargon yog hu ua tus neeg siv khoom siv network, thiab nws yog qhov tseem ceeb rau kev khiav lub node. Nws yog qhov tseeb no software uas txuas nrog lwm cov nodes hauv P2P network, thiab qhov ntawd yuav tsum ua raws li tsab ntawv nrog Ethereum raws tu qauv. 

Qhov xav paub yog tias txij li cov txheej txheem yog pej xeem thiab qhib qhov chaw, leej twg tuaj yeem ua tus neeg siv khoom siv network los khiav ib qho ntawm Ethereum network. 

Qhov tseem ceeb tshaj plaws yog tias tus neeg siv tau ua raws li tag nrho cov cai ntawm cov txheej txheem, vim hais tias yog tias nws tsis ua, nws yuav tsis sib haum nrog lwm cov nodes, xaus rau raug tshem tawm ib qho tseem ceeb ntawm lub network nws tus kheej. 

Tam sim no, tsuas muaj 4 cov neeg siv khoom uas feem ntau siv, vim hais tias txawm tias muaj ntau, feem ntau yog siv tsawg heev. 

Txawm li cas los xij, yuav tsum muaj qhov sib txawv ntawm Cov Neeg Siv Khoom Pom Zoo thiab Cov Neeg Ua Haujlwm Ua Haujlwm. 

Execution Clients yog cov nodes ntawm qhov hu ua "Execution Layer" (EL) ntawm Ethereum, piv txwv li, cov uas tau los ntawm yav dhau los Pov Thawj-of-Work (PoW) raws tu qauv. 

Txog tam sim no cov neeg siv khoom siv ntau tshaj plaws yog cov keeb kwm Geth, uas tau muaj nyob rau lub sijhawm ntev thiab yog tus thawj coj tsis sib haum xeeb ntawm lub network raws li txoj cai qub. Qhov no yog ua raws li, tab sis nrog tsawg feem pua, los ntawm Erigon, Nethermind, thiab Besu. 

Txij li thaum Ethereum raws tu qauv hloov mus rau Pov Thawj-of-Stake (PoS) nrog rau 15 Cuaj Hlis Merge, lub npe hu ua "Cov Txheej Txheem Pom Zoo" (CL) tau ntxiv, nrog cov neeg siv khoom sib txawv. 

Nyob rau hauv rooj plaub ntawm CL cov neeg siv khoom, muaj ntau haiv neeg, nrog Prysm ntawm 42%, Lighthouse ntawm 36% thiab Teku ntawm 18%. Qhov no yog ua raws li Nimbus nrog tsuas yog 3%. 

Tag nrho cov software no yog qhib qhov chaw, dawb thiab dawb downloadable los ntawm txhua tus. 

Dab tsi network nodes ua

Nyob rau tib lub sijhawm, cov haujlwm ntawm cov nodes tau hloov zuj zus. 

Thaum xub thawj, lawv tau ua txhua yam, uas yog, tsuas yog software uas twb muaj lawm ntawm Ethereum network yog cov nodes. 

Hauv lwm lo lus: 

  • lawv ruaj ntseg thiab tswj lub blockchain 
  • lawv mined cov blocks nrog cov PoW 
  • lawv tau txheeb xyuas qhov ua raws li tag nrho cov blocks thiab kev lag luam nrog cov txheej txheem
  • lawv tau ua cov ntawv cog lus ntse
  • lawv ua raws li lub hnab nyiaj los ntawm kev ua kom xa thiab tau txais cov tokens. 

Txawm li cas los xij, dhau sijhawm lawv poob qee qhov haujlwm. 

Tshwj xeeb, lawv tau poob qhov kev ua haujlwm rau kuv cov blocks, vim tias yuav tsum tau ua kom zoo dua thiab nrawm dua software kom ua tiav qhov no. Yog li, ad hoc software tau tsim rau tsuas

Raws li txoj cai, lawv tseem tuaj yeem siv los ua hnab nyiaj, tab sis lawv tsis yooj yim heev. Qhov tseeb, los ntawm tam sim no yuav luag txhua lub hnab nyiaj dav siv tsis yog cov nodes. 

Qhov tseeb yog qhov node yuav tsum ruaj ntseg thiab txheeb xyuas qhov blockchain, uas yog ze li ntawm 350 GB cov ntaub ntawv uas tag nrho cov kev lag luam ntawm Ethereum hauv keeb kwm tau raug kaw, uas lub node yuav tsum tau kuaj ib los ntawm ib qho. 

Yog li dhau sij hawm, cov nodes tau xaus ua ob yam tseem ceeb: ntawm ib sab, lawv saib xyuas thiab txheeb xyuas cov blockchain, lossis cov ntaub ntawv hloov pauv, thiab ntawm qhov tod tes, lawv ua raws li cov lus qhia muaj nyob rau hauv cov ntawv cog lus ntse. 

Hloov mus rau PoS

cov hauj lwm ua ke, nrog rau kev txav mus rau PoS, tau hloov pauv yam. 

Qhov tseeb, kev tso tseg ntawm PoW tshem tawm qhov xav tau ntawm kuv cov blocks, yog li Ethereum cov miners tsuas ploj mus, lossis tsiv mus rau lwm qhov blockchains tseem ua raws li PoW. 

Tab sis los ntawm lub sijhawm nws tsis yog cov miners uas tau tsim cov blocks nrog kev lag luam ntxiv rau blockchain, lwm yam software yuav tsum tau tsim kom siv tau cov blocks. 

Cov software no yog cov neeg siv kev pom zoo tshiab, uas yog Prysm, Lighthouse, Teku thiab Nimbus. 

Cov CL nodes validate blocks tam sim no uas cov miners tsis ua lawm. 

Txawm li cas los xij, PoS yog raws li staking, yog li CL nodes tseem tuav ETH tokens muab tso rau hauv staking. 

Cov Txheej Txheem Pom Zoo yog ua raws li cov blockchain tshiab, hu ua Beacon Chain thiab raws li PoS, uas ETH tokens tuaj yeem koom nrog rau cov nodes cuam tshuam kom PoS tuaj yeem ua tiav. Cov Txheej Txheem Ua Haujlwm qub siv cov qub PoW-raws li blockchain, tab sis tsis muaj cov blocks tshiab ntxiv, txij li kev lag luam tam sim no tau kaw rau ntawm Beacon Chain tshiab. 

Teeb tsa Ethereum node

Kev ua haujlwm ntawm lub node yog qhov yooj yim. Qhov tseeb, ib zaug ntsia, tus neeg siv tsuas xav tau sab laug ua haujlwm txuas nrog Is Taws Nem. 

Txawm li cas los xij, lub installation tsis yog qhov tsis tseem ceeb. 

Ua ntej, thaum tus neeg siv khoom raug teeb tsa, nws yuav tsum rub tawm tag nrho blockchain thiab txheeb xyuas nws tag nrho, kev hloov pauv los ntawm kev hloov pauv. Cov txheej txheem no hloov mus rau qhov tshwj xeeb ntev. 

Tsis tas li ntawd, thaum nws tau teeb tsa nws yuav tsum tau teeb tsa kom nws tuaj yeem txuas mus rau lwm cov nodes, txwv tsis pub nws hloov tawm kom raug cais tawm ntawm P2P network. 

Cov tom kawg yog txheej txheem txheej txheem uas yuav tsum tau muaj tsawg kawg ntawm kev txawj ntse. Yog li, nws tsis haum rau cov neeg uas tsuas yog ua lawv thawj kauj ruam hauv cheeb tsam no, tsis yog tsawg kawg vim nws xav tau IT thiab kev txawj ntse. 

Nws yog qhov nyuaj dua nyob rau hauv rooj plaub ntawm CL node, vim hais tias txij li thaum nws yuav tsum tau saib xyuas yam tsawg 32 ETH hauv stakeing nws ua rau qhov teeb meem kev ruaj ntseg tseem cuam tshuam. 

Security

Kev ruaj ntseg ntawm lub node yog qhov tseem ceeb kom tso cai rau nws ua haujlwm kom zoo, vim tias nws muaj lub hnab ntim khoom tsim thiab nyob rau hauv rooj plaub ntawm CL nodes nws tuav ETH hauv staking. 

Tsuas yog qhov teeb meem loj thaum muaj kev ua txhaum cai yog qhov ua tau tub sab nyiag nyiaj, vim tias txawm tias nws raug tawm tsam lossis tawg tag nrho lub network yuav tsis cuam tshuam. 

Txij li thaum lawv tuaj yeem raug nyiag ntawm cov nyiaj, qib siab ntawm kev tiv thaiv cov tshuab thiab cov tes hauj lwm uas nws khiav yog qhov tseem ceeb. 

Ib qho teeb meem nyuaj dua yog qhov P2P kev ruaj ntseg network. 

Txij li qhov no tso siab rau nws tus kheej cov nodes, yog tias ntau ntawm lawv raug ua txhaum cai, lub network nws tus kheej tuaj yeem muaj teeb meem. Qhov ua txhaum cai ntawm ib qho ntawm ib leeg, lossis qee tus ntawm cov nodes, tsis tsim teeb meem loj rau lub network, tab sis yog tias muaj ntau yam raug ua txhaum cai, cov teeb meem kuj tuaj yeem loj heev. 

Qhov no yog vim li cas nws thiaj li tsim nyog rau ntau tus neeg siv khoom txhua lub sijhawm, vim tias nyob rau hauv qhov xwm txheej uas ib tus muaj kab laum lossis qhov tsis zoo, nws nyuaj rau lwm tus neeg siv khoom kom muaj lawv thiab. 

Raws li Txoj Cai Txhaum Cai muaj kev txhawj xeeb, Geth tam sim no tau ua pov thawj zoo tias nws zoo li tsis muaj teeb meem loj. Txawm li cas los xij, nws tseem muaj txiaj ntsig zoo uas tseem muaj lwm cov neeg siv khoom siv hauv qhov kev xav ntawm qhov teeb meem hauv Geth. 

Nyob rau hauv sib piv, nyob rau hauv cov ntaub ntawv ntawm cov neeg rau lub Consensus Txheej, qhov teeb meem yog txawv, txij li thaum lawv tau tiag tiag nyob rau hauv ib tug tsuas yog ob peb lub hlis. 

Tau qhov twg los: https://en.cryptonomist.ch/2022/11/26/what-is-an-ethereum-node-and-how-it-works/