Skip to content

alinous-core/codablecash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

Codablecash

Scalable Smart Contract Ledger with rapid blockchain consensus. The Codablecash is for Dapp application platform which has RDBMS on the blockchain data.

**Current development status **

Now making first alpha version.

Consensus

Codablecash has two blockchains, which are "Flash Consensus Chain" and "Main Data Chain".

The "Flash Consensus Chain" is used to fix order of transactions, and after that, transactions are validated, added into "Main Data Chain".

Instant Settlement

It makes rapid settlement possible, for 4 to 5 seconds. After a transaction is broadcasted, following process is executed.

  1. Settlement
  2. Register into Ledger

When the transaction is imported into the "Flash Consensus Chain", it is sure that the transaction will be validated. Therefore by checking it, users can check the transaction is settled on very early timing.

After the transaction is registered into "Main Data Chain", received coin becomes spendable.

Sharding for Scalability

In order to execute transactions processing parallelly, multiple chains can work simultaneously. The "Main Data Chain" absorbs difference of transaction numbers of each shard, and makes maintenance(Soft fork for update) easy.

Finalizing Blockchain

Codablecash can finalize blockchain rapidly. Therefore it can use snapshot to make blockchain data compact.

Smart Contract

Codablecash has VM(Virtual Machine) to execute smart contract. The program written in original language is available.

The feature of the language is below.

  • Object Oriented Language
  • Build Relational Database Data Structure on blockchain data
  • Supports SQL

Off-Chain and On-Chain Execution

The Smart Contract program contains Off-Chain and On-Chain parts. Off-Chain part makes it possible to cooperate with external devices(Web Service, IoT, etc).

Development Environment

Codablecash has Eclipse Plugin based IDE to develop Smart Contract program. It contains following feature.

  • Code Editor
    • Syntax Hilight
    • Content Assist
    • Break Points Support
  • Simulator & Debugger

Testing

Codablecash is tested with following method.

  • Automated Testing
  • Coverage Check(result will be located on "target/html_report")
  • Memory Check by valgrind

The "sh" folder includes testing shell scripts.

About

Web3.0 Database Main Blockchain.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.3%
  • C 2.4%
  • CMake 1.1%
  • Other 0.2%