Skip to content

hacash/doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paper

Whitepaper & Documents & Hacash improvement proposals & theoretical articles


Software download & release log

Compilation build instructions


Compilation build instructions:


SDK & RPC & API Doc

-Rust_fullnode_api_doc.md -Memtxpool_operation_important_note.md -HACD_explain_for_exchange.md


X16RS algorithm design explanation


HAC & HACD mining fairness description


Project code engineering architecture

The architecture of Hacash full node code is divided into 7 levels from bottom to top:

X16RS -> Core -> Chain -> Mint -> Node -> Server -> Miner

Each layer of the architecture has independent functions and responsibilities for the upper layer to call, and the implementation of the lower layer to the upper layer is unknown. The responsibilities of each layer are roughly as follows:

  1. [X16RS] Basic algorithm - including HAC mining, block diamond mining, GPU version algorithm, etc.
  2. [Core] Core - block structure definition, interface definition, data serialization and deserialization, storage object, field format, genesis block definition, etc.
  3. [Chain] Chain - underlying database, block and transaction storage, blockchain state storage, logs, etc.
  4. [Mint] Mint - block mining difficulty adjustment algorithm, coinbase definition, block construction, transaction execution and status update, etc.
  5. [Node] Node - P2P underlying module, Backend blockchain synchronization terminal, point-to-point network message definition and processing, etc.
  6. [Server] Server - RPC API interface service, block and transaction and account data query, other services, etc.
  7. [Miner] Miner - block construction and mining, diamond mining, transaction memory pool, mining pool server, mining pool worker, etc.

Releases

No releases published

Packages

No packages published