Skip to content
Sugarchain: one-CPU-one-vote, the world's fastest PoW blockchain
C++ Python C M4 Makefile Shell Other
Branch: master-v0.16.3
Clone or download
cryptozeny Sugarchain: add: bootstrap height at 1820701 (#25)
```
1820701 = 510*(510*7)+1
```

last blockhash = `3dd1bf5ec2e2c3bb931f61354925da99dd47524496bc2d69f3794c7150f6b6e6`

https://1explorer.sugarchain.org/block/3dd1bf5ec2e2c3bb931f61354925da99dd47524496bc2d69f3794c7150f6b6e6
Latest commit bf58fb2 Dec 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Make default issue text all comments to make issues more readable Nov 16, 2017
.tx tx: Update transifex slug for 0.16 Jan 24, 2018
build-aux/m4 Sugarchain: clean up Feb 16, 2019
contrib Sugarchain: add: bootstrap height at 1820701 (#25) Dec 7, 2019
depends depends: Update Qt download url Jun 30, 2018
doc Sugarchain: Release Notes: bloomy add: some links (#18) Nov 2, 2019
share Sugarchain: ADD: Icons & Beauty for Windows (#77) Mar 12, 2019
src Sugarchain: remove: unused DNSSEED (#8) Oct 28, 2019
test Switch: Genesis Block - Testnet v5 (#106) Aug 16, 2019
.gitattributes Separate protocol versioning from clientversion Oct 29, 2014
.gitignore Sugarchain: add: bootstrap height at 1820701 (#25) Dec 7, 2019
.travis.yml Sugarchain: switch: Yespower 1.0.1 (was 1.0.0) (#105) Jun 30, 2019
CONTRIBUTING.md [docs] links to code style guides Nov 20, 2017
COPYING Sugarchain: rename: Sugarchain Yumekawa developers (#124) Oct 16, 2019
INSTALL.md Update INSTALL landing redirection notice for build instructions. Oct 5, 2016
Makefile.am Sugarchain: fix braning main Nov 19, 2018
README.md doc: website URL Oct 28, 2019
README_BTC.md doc: create: README.md for Sugarchain Apr 14, 2019
autogen.sh Add MIT license to autogen.sh and share/genbuild.sh Sep 21, 2016
configure.ac Sugarchain: bump version to 0.16.3.24 (bloomy) Oct 26, 2019
libbitcoinconsensus.pc.in Unify package name to as few places as possible without major changes Dec 14, 2015

README.md

Sugarchain Yumekawa

Build Status GitHub All Releases

https://sugarchain.org

The meaning of Yumekawa

Sugarchain's first node software is called Yumekawa (夢川). It can be translated in some ways.

  • "Yume (夢)" means dream and "Kawa (川)" means river. So its Dream River in japanese.
  • The second letter "Kawa" stands for "Kawaii (可愛い)". In this case the meaning is Dreamy Cute.
  • Also Yumekawa is replaces the word Core (ie: Bitcoin Core). We think it sounds a bit centralized.

License

Sugarchain Yumekawa is released under the terms of the MIT license. See COPYING for more information or see https://opensource.org/licenses/MIT.

  • Copyright (c) 2009-2010 Satoshi Nakamoto
  • Copyright (c) 2009-2018 The Bitcoin Core developers
  • Copyright (c) 2013-2019 Alexander Peslyak - Yespower 1.0.1
  • Copyright (c) 2016-2018 The Zcash developers - DigiShieldZEC
  • Copyright (c) 2018-2019 The Sugarchain Yumekawa developers

Minimum Requirement

  • CPU: 1 Core
  • RAM: 1024 MB (at least 2048 MB swap)
  • DISK: 3 GB

Depends on Bitcoin Core

Exactly the same as dependencies of Bitcoin Core v0.16.3.

sudo add-apt-repository -y ppa:bitcoin/bitcoin && \
sudo apt-get update && \
sudo apt-get install -y \
software-properties-common libdb4.8-dev libdb4.8++-dev \
build-essential libtool autotools-dev automake pkg-config \
libssl-dev libevent-dev bsdmainutils libboost-all-dev \
libminiupnpc-dev libzmq3-dev libqt5gui5 libqt5core5a \
libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev \
protobuf-compiler libqrencode-dev help2man

Build

  • Make
git clone https://github.com/sugarchain-project/sugarchain.git && \
cd sugarchain && \
./autogen.sh && \
./configure && \
make -j$(nproc) && \
make check -j$(nproc)
  • (optional) Reduce binary size using strip (about 90% file size reduction)
strip ./src/sugarchain-cli && \
strip ./src/sugarchaind && \
strip ./src/qt/sugarchain-qt && \
strip ./src/sugarchain-tx && \
strip ./src/test/test_sugarchain
  • (optional) After bump version on configure.ac, update binary docs (manpages) using help2man .1 files
make -j$(nproc) && ./contrib/devtools/gen-manpages.sh

Unit Test

All Sugarchain Yumekawa developers should execute this unit test. Some updates may break these tests in some occasions.

  • Test All
./src/test/test_sugarchain test_bitcoin --log_level=test_suite
  • (optional) Test Partially: ie blockencodings_tests
./src/test/test_sugarchain test_bitcoin --log_level=test_suite --run_test=blockencodings_tests
  • (optional) Test QT (GUI)
./src/qt/test/test_sugarchain-qt

Run

The options -rpcuser, -rpcpassword, and -printtoconsole are optional. server=1 needed by RPC servers or cpuminer when solo-mining.

  • Mainnet: debug mode: pow for PoW

    ./src/qt/sugarchain-qt -server=1 -rpcuser=rpcuser -rpcpassword=rpcpassword -debug=pow -printtoconsole

  • Mainnet: debug mode: net for Network

    ./src/qt/sugarchain-qt -server=1 -rpcuser=rpcuser -rpcpassword=rpcpassword -debug=net -printtoconsole

  • Testnet

    ./src/qt/sugarchain-qt -testnet

  • Regtest

    ./src/qt/sugarchain-qt -regtest

  • Reference
    https://en.bitcoin.it/w/index.php?title=Running_Bitcoin&oldid=66644

CLI

  • Mainnet: getblockcount for counting blocks

    ./src/sugarchain-cli -rpcuser=rpcuser -rpcpassword=rpcpassword getblockcount

Known Issues

  • Transaction too large:
    • This is a part of BTC.
    • It will be fixed in next Schnorr Signature update.
  • Slow update balance on wallet:
    • Update total balance every minute (12 blocks) interval.
    • This slow is a part of BTC.
    • This fix is a (nice) workaround for now. source
  • Poor performance on ARM CPUs (32/64-Bit):
    • ARM optimization for Yespower disabled for now.
    • TODO
  • Poor performance on 32-Bit OS:
    • SSE2 for Yespower disabled for now. source
    • Please use 64-bit for best performance.

Release process using GITIAN

  • All Sugarchain Yumekawa developers should do following GITIAN release process. It's the safest way to distribute binaries to people.
  • Please use GITIAN release with checking PGP signature, or compile it yourself on your own machine.

https://gist.github.com/cryptozeny/3501c77750541208b9dd1a9e9719fc53

You can’t perform that action at this time.