Nonce

Karatun lokaci: 2 minti

Un nuncio yana nufin lamba ko ƙimar da za a iya amfani da ita sau ɗaya kawai.

Sau da yawa ana amfani da alaƙa a cikin ladabi na tabbatarwa da cikin Ayyuka masu zane-zane. A cikin yanayin fasaha blockchain, baƙaƙe yana nufin lambar ƙirar ƙira wanda aka yi amfani dashi azaman kanti yayin aikin hakar.

Misali, masu hakar ma'adinai na Bitcoin dole ne suyi ƙoƙari su ƙididdige ingantaccen aiki yayin yin ƙoƙari da yawa don ƙididdige shingen shinge wanda ya cika wasu buƙatu (watau, farawa da takamaiman adadin sifili). Lokacin fafatawa don tono sabon toshe, farkon mai hakar gwal wanda ya sami wani abu wanda ya haifar da ingancin shinge to yana da damar ƙara na gaba a cikin toshe - kuma an ba shi ladan yin hakan.

A takaice dai, aikin hakar ma'adinai ya ƙunshi masu hakar ma'adinai da ke aiwatar da ayyuka iri-iri na hash tare da ƙididdigar ƙididdiga daban-daban har sai an samar da ingantaccen aiki. Idan fitowar hakar ma'adinai ta faɗi ƙasa da ƙayyadadden ƙofar, ana ɗaukar toshiyar ta dace kuma an ƙara ta zuwa toshewar. Idan kayan aikin ba shi da inganci, mai hakar ma'adinan yana ci gaba da gwadawa tare da ƙimomin daban-daban marasa amfani. Lokacin da aka sami nasarar fitar da sabon toshi kuma aka inganta shi, aikin zai fara aiki.

A cikin Bitcoin - kuma a cikin yawancin Tabbacin Aikin tsarin - nonce lamba ce kawai ta bazuwar da masu hakar gwal suke amfani da ita don sanya fitowar lissafin zantarsu. Masu hakar ma'adinai suna amfani da hanya ta hanyar gwaji da kuskure, Inda kowane lissafi yake daukar sabon darajar mara daraja. Suna yin hakan ne saboda yiwuwar yin hasashe mai inganci wanda yake kusa da sifili.

Matsakaicin yawan yunƙurin hashing ana daidaita shi ta atomatik don yin yarjejeniya don tabbatar da cewa kowane sabon toshi yana haifar - a matsakaita - kowane minti 10. Wannan tsari an san shi da wahalar daidaitawa kuma shine abin da ke ƙayyade ƙofar hakar (ma'ana, yaya sifili nawa dole ne a yi la'akari da inganci). Matsalar cire sabon bulo yana da alaƙa da yawan ƙarfin hashing (zanta kudi ko zantawa) tsunduma cikin tsarin toshewa. Arin ƙarfin hashing da aka keɓe ga cibiyar sadarwar, mafi girman ƙofar zai kasance, wanda ke nufin cewa za a buƙaci ƙarin ikon sarrafa kwamfuta don zama gasa da cin nasara mai hakar gwal. Akasin haka, idan masu hakar ma'adinai suka yanke shawarar dakatar da hakar ma'adinai, za a daidaita wahalar kuma ƙofar za ta faɗi, don haka za a buƙaci comparfin sarrafa lissafi don hakowa, amma yarjejeniyar za ta sa ƙirar toshewa ta bi jadawalin minti 10, ba tare da la'akari ba.