In the next block we're defining our methods, we obviously have our constructor and destructor defined, but there are two other functions that will likely look familiar to some, and one new method.
The importance score determines the probability of an account to harvest the next block in case the account has harvesting turned on and all other accounts are harvesting too.
Therefore, the intense competition for the addition of the next block becomes impractical, which in turn reduces the energy costs for adding a single block when compared to PoW.
In order to rightfully mine the next block, a miner should possess the mining token which is closest to last block's hash, and since all miners are registered in the blockchain, everyone knows who the next miner is.
As there is no central authority in NEM, the creator of the next block must be agreed upon using a consensus algorithm, such that everyone knows that the block creator has the authority to do so.
English
中文
عربى
Български
বাংলা
Český
Dansk
Deutsch
Ελληνικά
Español
Suomi
Français
עִברִית
हिंदी
Hrvatski
Magyar
Bahasa indonesia
Italiano
Қазақ
한국어
മലയാളം
मराठी
Bahasa malay
Nederlands
Norsk
Polski
Português
Română
Русский
Slovenský
Slovenski
Српски
Svenska
தமிழ்
తెలుగు
ไทย
Tagalog
Turkce
Українська
اردو
Tiếng việt