Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

github.com/victoryang00/miner

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/victoryang00/miner

Source
Go
Version
v0.0.0-20221231060454-f2246e082aeb
Version published
Created
Source

Golang Hacash Full Node Miner

Software download & release log

Release: software_release_log.md

Compilation build instructions

Compilation build instructions: build_compilation_en.md

RPC API Doc

English:rpc_api_doc.en.md

Chinese:rpc_api_doc.cn.md

Miner service Doc

English: miner_service_api.en.md

Chinese:miner_service_api.cn.md

X16RS algorithm design explanation

English: x16rs_algorithm_description.en.md

Chinese:x16rs_algorithm_description.cn.md

HAC & HACD mining fairness description

English: HAC_HACD_mining_fairness_description.en.md

Chinese:HAC_HACD_mining_fairness_description.cn.md

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 -> Service -> 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:

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

FAQs

Package last updated on 31 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts