How your transactions processed on Knownetwork?

--

It is important to know that we can process five types of tracsaction on Knownetwork. If you are still not familiar with them you can find them in our Whitepaper or the previous blog post.

link : http://bit.ly/2mVWfxv

five types of normal transaction on Knowchain included: Transfer Know, Create a smart contract (including Ano units), Attach Ano units, Request Service on Ano units and Vote for Delegates.

For the normal transactions that are related to Ano units (except only the first type of transaction — Transfer Know) and special transactions, there will always be 2 processes on Knowchain network — The Know process and the Ano process:

Transactions in Knowchain will be processed as below:

Users create transactions and broadcast to the nearest peers in Knowchain network who are running Full Nodes as Delegates.

Delegates determine the type of transactions as 1-layered transactions or 2-layered transactions.

  • If the transactions are 1-layered transactions (only in Know Layer), Delegates will add the transactions to txpool and broadcast the transactions to the Delegates who are in their turns as Validators. Validators will process the transactions, confirm or decline the transactions and put the results into blocks. The transactions will be removed from txpool. The blockchain will be broadcasted to the next Validators in turns.

If the transactions are 2-layered transactions (will be processed in both Know Layer and Ano Layer), Delegates will add the transactions to txpool and broadcast the transactions to the Delegates who are in their turns as Validators. Validators will process the transferring aspect of the transactions, accept or decline the transferring requests.

If the transferring requests are declined by Validators, the results will be put into blocks and no need to broadcast to the Ultranodes system. The transactions will be removed from txpool. The blockchain will be broadcasted to the next Validators in turns.

If the transferring requests are confirmed by Validators (it means the sender has enough balance), the transactions will be put in pendingpool and will be broadcasted to Ultranodes system. The Ultranodes system will process the Ano-related requests, confirm or decline them.

- If the Ano-related requests are declined by Ultranodes, the results will be put into blocks. The transactions will be removed from pendingpool. The blockchain will be broadcasted to the next Validators in turns.

- If the Ano-related requests are confirmed by Ultranodes, the results will be put into both Know blocks and Ano blocks in Know Layer and Ano Layer. The transactions will be removed from pendingpool. The blockchain will be broadcasted to the Ultranode system and the next Validators in turns.

2-layered transactions

There will be a sub-process where users call to Service Ultranodes to use their services. In those cases, the transactions will be sent from Validators and Ultranodes to Service Ultranodes for processing the services.

--

--