Entire Architecture of CodableCash Ledger for Instant Payment & Smart Contract
Now Decided Architecture of Entire P2P Ledger
Now, I've decided the architecture of decentralized ledger for CodableCash. It takes long term, about 2 months to decide it.
Most difficult point was to realize decentralization. To make system without that is not so difficult, but it has to be decentralized.
Decentralized Ledger for Instant Payment & Smart Contract
CodableCash network consists of full nodes. It does not have
- Master Nodes
- Miner Nodes
- Mining Pool
It only has full nodes, and all nodes have same functionality.
Everyone who manages full node can be both user and miner.By this network design, the P2P nodes can be fully decentralized.
Full Node Architecture
The functionality of full node is below.
There are following parts.
- Front Blockchain
- Transaction Verification Engine
- Main Blockchain
A transaction is stored in the Front Blockchain at first, Transaction Verification Engine verify it, and verified transactions are stored into the Main Blockchain.
Front Blockchain
The Front Blockchain is where the transactions come at first. By this chain, the ledger system deecide the order of transactions to verify. It makes possible to avoid double spending.
The consensus algorithm of this blockchain is Ticket PoS using nonce calculation.
The ticket system decide order to mine the block. Then the full node, whose turn comes can mine a block.
Spare full nodes also can mine a new block, but they have to calculate nonce.
Transaction Verification Engine
After the transactions are in the confirmed block of the Front Blockchain, the Transaction Verification Engine starts to verify transactions.
The CodableCash supports sharding and Smart Contract, so this process takes both calculation and network cost. Therefore full nodes in the CodableCash network helps each other to verify it.
Main Blockchain
After the transactions are verified, correct ones are stored in the Main Blockchain. This blockchain is permanent data, and received balance becomes spendable when it is located here.
Next Topics
This time I've shown the grand design of the ledger. I'll write about consensus of the blockchain and more detail, later.
Hi iizuka, is it a brand new project that you are currently working?
What about the advantages compared to other similar existing technologies?
There are 2 points.
This is the goal of this project I'm currently working.
https://steemit.com/cryptocurrency/@iizuka/goal-and-concept-of-codablecash-cryptocurrency-on-11th-feb-2018
it reminds me to Cardano. It also offers similar advantages. They claimed it as a blockchain tech version 3
Mine also looks like other blockchains which use DPos. The difference between mine and others is if it uses nonce calculation.
In smart contract, Tezos would be simular, in addition to Cardano.
But I think most of them are different after they actually released in many detailed specification.(i.e Smart Contract programming language, verification process)
I think the detail is very important, because business users will choose product by it.
is it going to be an open source project?
Yes, of course!
Now I'm mainly considering the design, but I'll start actual development in this month.
And I'm planning first coin distribution for persons who help testing my product.
You are on my follow list now :)
Thank you, I've also followed you.