Skip to content

Kokonut Protocol

volta2030 edited this page Sep 4, 2024 · 10 revisions

Version : 4

Abstract

This documentation describes block chain systems & rules of kokonut

Block

Basic Structure

{
  "version":4,
  "index":1,
  "previousHash":"00000000000000000000000000000000000000000000000061bdff5e59b8ff4c",
  "timestamp":1724547179867,
  "data": {
    "reward":16.230218,
    "miner":"6c60b7550766d5ae24ccc3327f0e47fbaa51e599172795bb9ad06ac82784a92d",
    "transactions":[],
    "comment":"kokonut version 4"
    },
  "difficulty":6,
  "nonce":1502929,
  "hash":"000000f31571551dacab93769546843d2ef483fd0d26181fe8950de617b919ec"}

Genesis Block

It is called genesis block which follows below :

  • first block of chain
  • previousHash is "0"
  • reward is 0
  • miner is "0000000000000000000000000000000000000000000000000000000000000000"
  • transactions is empty
  • difficulty is 0
  • nonce is 0
  • hash isn't made by SHA-256 Hash Algorithm. it is artificially generated.

Structure

{ 
  "version":4,
  "index":0,
  "previousHash":"0",
  "timestamp":1725108420520,
  "data":{
    "reward":0.0,
    "ticker":"KNT",
    "miner":"0000000000000000000000000000000000000000000000000000000000000000",
    "transactions":[],
    "comment":"Navigate beyond computing oceans"
   },
  "difficulty":0,
  "nonce":0,
  "hash":"000000000000000000000000000000000000000000000000190282d71244ac7a"
}

Proven Of Work

Mining

Status

  • READY
  • MINING
  • FAILED
  • MINED

State Machine Diagram

image

Difficulty

Reward

Reduction Time

image

Node

Fuel Node

Full Node

Light Node

Transaction

Status

  • INVALID
  • PENDING
  • READY
  • RESERVED
  • EXECUTED

State Machine Diagram

image

Wallet