Zopanda pake

Nthawi yowerengera: 2 minuti

Un nthumwi yaikulu amatanthauza nambala kapena mtengo womwe ungagwiritsidwe ntchito kamodzi.

Nonces nthawi zambiri amagwiritsidwa ntchito pamaumboni ovomerezeka ndi cryptographic hash ntchito. Pankhani yaukadaulo blockchain, nonce amatanthauza nambala yabodza yomwe imagwiritsidwa ntchito ngati kauntala panthawi yochotsa.

Mwachitsanzo, ogwira ntchito m'migodi a Bitcoin ayenera kuyesa kulingalira za nonce pomwe akuyesera kangapo kuwerengera block yomwe ikukwaniritsa zofunikira zina (mwachitsanzo, zimayamba ndi nambala ya zero). Mukamachita mpikisano kuti mupeze chipika chatsopano, woyamba mgodi yemwe amapeza nonce yomwe imapangitsa kuti pakhale vuto lolondola ali ndi ufulu wowonjezeranso blockchain - ndipo amapatsidwa mphoto potero.

Mwanjira ina, ndondomeko ya migodi Amakhala ndi anthu ogwira ntchito m'migodi omwe amachita ntchito zambirimbiri za ma hasi ndizikhalidwe zosiyanasiyana mpaka atulutsa. Ngati kutuluka kwa mgodi kukugwera pansi pazomwe zidakonzedweratu, malowo amawoneka kuti ndi ovomerezeka ndipo amawonjezeredwa ku blockchain. Ngati zotulukazo ndizosavomerezeka, mgodi akupitiliza kuyesa ndi mitundu ina ya nonce. Chipika chatsopano chikatulutsidwa bwinobwino ndikutsimikizika, ndondomekoyi imayambiranso.

Mu Bitcoin - komanso machitidwe ambiri a Proof of Work - the nonce ndi nambala wamba yomwe oyendetsa minda amagwiritsa ntchito kuti achepetse kutulutsa kwawo. Ogwira ntchito m'migodi amagwiritsa ntchito njira poyesera ndi zolakwika, pomwe mawerengedwe aliwonse amatenga phindu latsopano. Amachita izi chifukwa kuthekera kolingalira molondola nonce woyenera kuli pafupi ndi zero.

Chiwerengero cha kuyesa kwakanthawi kumangosinthidwa ndi protocol kuti zitsimikizire kuti chipika chilichonse chatsopano chimapangidwa - pafupifupi - mphindi 10 zilizonse. Izi zimadziwika kuti zovuta kusintha ndipo ndizomwe zimatsimikizira kuti pamalowo pakhale cholowera (mwachitsanzo, kuchuluka kwa zero zomwe block hash iyenera kuonedwa kuti ndi yovomerezeka). Kuvuta kotenga chipika chatsopano ndikokhudzana ndi kuchuluka kwa mphamvu ()mlingo wa hash kapena chulukitsa) akuchita nawo blockchain system. Mphamvu yochulukirapo yoperekedwa pa netiweki, malirewo adzakhala okwera, zomwe zikutanthauza kuti mphamvu zambiri zama kompyuta zidzafunika kukhala akatswiri ampikisano komanso opambana. Mosiyana ndi izi, ngati ogwira ntchito mgodi angaganize zosiya migodi, mavutowo amasinthidwa ndipo malowo adzagwa, motero mphamvu zochepa zamagetsi zidzafunika kugwiranso ntchito, koma ndondomekoyi ipangitsa kuti m'badwo wazotsatira utsatire ndandanda ya mphindi 10, mosasamala kanthu.