Skip to content

CodeChain-io/codechain-blake-miner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeChain Blake Miner Build Status

Mining worker for blake PoW algorithms in CodeChain.

Build

CodeChain blake miner is written in Rust. We recommend setting up a build environment with rustup.

To build an executable in release mode, run the following command.

cargo build --release

The resulting binary file can be found at target/release/codechain-blake-miner.

Usage

codechain-blake-miner [OPTIONS] [SUBCOMMAND]

Usage Examples

  • 1 concurrent jobs :

Using HTTP (listening on port 3333, submitting on port 8080)

codechain-blake-miner -j 1 http -p 3333 -s 8080

or

Using Stratum

codechain-blake-miner -j 1 stratum

Configuration

Common options

Option Description Default Required
-j Number of concurrent jobs 1 No

RPC Subcommands

  • HTTP
Option Description Default Required
-p Port number to receive job 3333 No
-s Port number to submit solution 8080 No
  • Stratum
Option Description Default Required
-p Port number to stratum server 8008 No
-i Miner name No
-w Miner password No

About

The CodeChain miner for blake_pow

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages