Skip to content

tempdevelop001/sugarmaker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SUGARMAKER

GitHub All Releases

This is a multi-threaded CPU miner for Sugarchain, fork of solardiz's (Resistance) fork of pooler's (Litecoin) fork of Jeff Garzik's (Bitcoin) reference cpuminer. This fork is supporting only Yespower variant algorithms.

License: GPLv2. See COPYING for details.

Git tree: https://github.com/decryp2kanon/sugarmaker

Build dependencies:

autoconf
automake
GNU make
gcc
libcurl	https://curl.haxx.se/libcurl/
  • On recent Debian and Ubuntu, these can be installed with:
sudo apt-get install build-essential libcurl4-openssl-dev autotools-dev automake libtool

Basic Unix build instructions:

./autogen.sh
./configure CFLAGS="-Wall -O2 -fomit-frame-pointer" CXXFLAGS="$CFLAGS -std=gnu++11"
make

Notes for AIX users:

  • To build a 64-bit binary, export OBJECT_MODE=64
  • GNU-style long options are not supported, but are accessible via configuration file

Basic Windows build instructions, using MinGW:

Usage instructions:

Run sugarmaker --help to see options. You can solo-mine using these options:

  • Mainnet (Solo)
./sugarmaker -o http://127.0.0.1:34229 -u ユーザーネーム -p パスワード --coinbase-addr=sugar1qv0ahzfa2ssu47wes89390sl0jz6g05h0267u8g -t1
  • Mainnet (Stratum Pool)
./sugarmaker -o stratum+tcp://1pool.sugarchain.org:3333 -u sugar1qv0ahzfa2ssu47wes89390sl0jz6g05h0267u8g -t1
  • Testnet (Solo)
./sugarmaker -o http://127.0.0.1:44229 -u ユーザーネーム -p パスワード --coinbase-addr=tugar1qkvl32hmzvgtwpu7v70k5u0kcv9s4uqy4twjge8 -t1
  • Testnet (Stratum Pool)
./sugarmaker -o stratum+tcp://1pool-testnet.cryptozeny.com:3333 -u tugar1qkvl32hmzvgtwpu7v70k5u0kcv9s4uqy4twjge8 -t1

(Omit the leading ./ if you're on Windows.) For the above to work, for solo mining you need a fully-synced node running locally and with RPC username/password configured,

  • e.g. with the below in your .sugarchain/sugarchain.conf:
rpcbind=127.0.0.1
rpcallowip=127.0.0.0/8
rpcuser=ユーザーネーム
rpcpassword=パスワード
  • Connecting through a proxy:
    • Use the --proxy option.
    • To use a SOCKS proxy, add a socks4:// or socks5:// prefix to the proxy host.
    • Protocols socks4a and socks5h, allowing remote name resolving, are also available since libcurl 7.18.0.
    • If no protocol is specified, the proxy is assumed to be a HTTP proxy.
    • When the --proxy option is not used, the program honors the http_proxy and all_proxy environment variables.

Author

Support and donation

If you happy with this sugarmaker, please support devloper for better performance in near future!

About

CPU miner for Yespower variant algorithms

Resources

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 55.5%
  • Roff 20.1%
  • Shell 5.7%
  • M4 4.4%
  • Perl 3.9%
  • HTML 2.9%
  • Other 7.5%