What are the CPU and NET in NGK blockchain network for more understanding?

NGK.IO
4 min readJul 8, 2020

--

Someone may have the experience of filling in the amount of the transfer when making the NGK transfer and always prompting the failure of the transfer after entering the password. So where’s the problem? In fact, the person who understands NGK public chain technology innovation may answer this question as like a piece of cake.

ngk blockchain

The application of blockchain consumes a variety of resources, including the computing power of nodes, bandwidth, storage and so on, which are all cost-effective.

Within the ETH system of the blockchain 2.0 era, the cost of these resources is to directly consume ETH, so transfer Token is charged a handling fee.

So how does NGK make users free to use NGK blockchain network? It all benefits from NGK’s superior resource model in which Token represents the right to use system resources. Users or DAPP developers who want to use NGK blockchain network must first buy Token, and mortgage it to the NGK system account in order to obtain the right to use the blockchain network resources.

For example, if you trade in a ETH network, ETH is a consumable, and each transfer costs a little. The holding of NGK will automatically upgrade to a member in the NGK network, with the NGK, to transfer or develop, etc., which will not consume direct consumption NGK, but cost a small amount of resource consumption.

Classified by resource, the NGK system currently contains three major categories:

1.NET

2.CPU

3.RAM

NET and CPU are renewable resources, whereas RAM is consumptive resource.

ngk blockchain

Today, let’s first introduce NGK network bandwidth resource NET and NGK computing resource CPU.

We all know that after a user sends a transaction information, the block producer needs to package the transaction to generate blocks, and then synchronize the blocks to other producers through the network, which requires a certain amount of network bandwidth resources to be consumed. The bandwidth resources are measured in terms of the number of bytes in the block of transaction information, for example, a transaction information takes up 1,000 bytes, if you make 10 transactions, it will probably take 1000* 10=10 KB.

To put it simply, the charging method of bandwidth resources is similar to mobile phone traffic, and users consume a certain amount of bandwidth resources for each transaction information sent, and if the consumable bandwidth resource is 0, it cannot continue to send the transaction information.

For now, the way of NGK access to bandwidth resources is through mortgage.

Mortgage acquisition can be understood as follows: if the user account is held NGK, then the NGK can be directly mortgaged to the system account, and then the system will allocate the corresponding bandwidth resources to the user according to the proportion of the mortgage NGK to the whole network. For example, if the user holds 10% of the Token, the user has 10% of the bandwidth of the network. If don’t need resources, the user can cancel the mortgage and convert bandwidth resources into equal NGK.

This method of obtaining bandwidth resources will not consume NGK, but the already mortgaged NGK cannot continue to be mortgaged or sold, with a certain period of mortgage locking.

ngk blockchain

Then let’s get to know another vital resource in NGK blockchain network, CPU. As we know, although there is an essential difference between blockchain and Internet, blockchain is also based on the emerging technology of computer as carrier. Hence, the computer’s Central Processing Unit, for short, CPU, known as the brain of computer. CPU only constitutes one of many processing units, but it is one of the most important processing units. It is also part of a computer that performs calculations, operations, and running programs.

CPU is primarily used to perform processing transactions in NGK systems. CPU computing power refers to the time required to process operating instructions NGK the network, and the unit of CPU is time, usually in milliseconds (ms).

On a NGK system, for example, when a user calls a smart contract, the block producer needs to find the contract code according to the smart contract address, and then load the code into memory for execution, which requires a certain amount of CPU computing power. CPU computing resources are measured by the time it takes to run a smart contract (a transaction is also a smart contract), the user consumes a bit of computing resources each time the smart contract is invoked, and the contract can not be continued if the consumption is 0.

That is, when you transfer money to an account, NGK the network processes the transaction (transfer instructions) assuming that it takes 1 ms of time, then you have to mortgage in advance NGK in exchange for at least 1 ms of CPU (or the lease takes 1 ms) to finally guarantee the successful execution of the transfer.

NGK blockchain network ecology is constantly improving on the way to be developer-friendly and user-friendly public chain, with official efforts, NGK is certain to become the most prominent star in the public chain track.

--

--

NGK.IO
NGK.IO

No responses yet