Skip to content
Yenten; cryptocurrency of the cpu, by the cpu, for the cpu
Branch: master
Clone or download
Pull request Compare This branch is 73 commits ahead, 15 commits behind conan-equal-newone:master.
Latest commit 37cb9df Jul 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.tx first commit Oct 28, 2017
contrib Fix error Mar 12, 2019
doc third commit Feb 25, 2018
docs Update index.md Jul 17, 2019
qa first commit Oct 28, 2017
share first commit Oct 28, 2017
src
.gitattributes first commit Oct 28, 2017
.gitignore first commit Oct 28, 2017
COPYING first commit Oct 28, 2017
INSTALL first commit Oct 28, 2017
Makefile.am first commit Oct 28, 2017
README.md Update README.md Jul 16, 2019
autogen.sh first commit Oct 28, 2017
configure.ac update to yespower Feb 9, 2019
pkg.m4 first commit Oct 28, 2017

README.md

Yenten Core integration/staging tree

http://yentencoin.info/

  • Copyright (c) 2017- Yenten Core Developers
  • Copyright (c) 2009-2017 Bitcoin Core Developers
  • Copyright (c) 2013-2017 Dash Developers (DarkGravityWave3)
  • Copyright (c) 2014-2017 Alexander Peslyak (Yescrypt Original)

License

Yenten Core is released under the terms of the MIT license. See COPYING for more information or see http://opensource.org/licenses/MIT.

Build yentend on Ubuntu 16.04

sudo apt-get install build-essential
sudo apt-get install libtool autotools-dev autoconf
sudo apt-get install libssl-dev
sudo apt-get install libboost-all-dev
sudo apt-get install pkg-config
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev
sudo apt-get install libdb4.8++-dev

git clone https://github.com/yentencoin/yenten.git
cd yenten
./autogen.sh
./configure --enable-upnp-default --without-gui --disable-tests
make

Build yentend on Ubuntu 18.04.2 LTS

sudo apt-get update && sudo apt-get -y upgrade
sudo apt-get install build-essential
sudo apt-get install libtool autotools-dev autoconf
sudo apt-get install libminiupnpc10
sudo apt-get install libssl1.0-dev
sudo apt-get install libboost1.65-all-dev
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev
sudo apt-get install libdb4.8++-dev

git clone https://github.com/yentencoin/yenten.git
cd yenten
./autogen.sh
CXXFLAGS=-O3 ./configure --enable-upnp-default --without-gui --disable-tests
make

Build yenten-qt GUI on Ubuntu 19.04

sudo apt-get update && sudo apt-get -y upgrade
sudo apt-get install build-essential
sudo apt-get install libtool autotools-dev autoconf
sudo apt-get install libminiupnpc-dev
sudo apt-get install libboost1.65-all-dev
sudo apt-get install pkg-config libprotobuf-dev protobuf-compiler git
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev

git clone https://github.com/yentencoin/yenten.git
cd yenten
sed -i 's/fPIE/fPIC/g' configure.ac

wget http://mirrors.kernel.org/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu6.2_amd64.deb
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu6.2_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/o/openssl1.0/libssl1.0-dev_1.0.2n-1ubuntu6.2_amd64.deb
sudo dpkg -i libssl1.0-dev_1.0.2n-1ubuntu6.2_amd64.deb

wget https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin/+build/12096244/+files/libdb4.8_4.8.30-xenial4_amd64.deb
sudo dpkg -i libdb4.8_4.8.30-xenial4_amd64.deb
wget https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin/+build/12096244/+files/libdb4.8-dev_4.8.30-xenial4_amd64.deb
sudo dpkg -i libdb4.8-dev_4.8.30-xenial4_amd64.deb
wget https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin/+build/12096244/+files/libdb4.8++_4.8.30-xenial4_amd64.deb
sudo dpkg -i libdb4.8++_4.8.30-xenial4_amd64.deb
wget https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin/+build/12096244/+files/libdb4.8++-dev_4.8.30-xenial4_amd64.deb
sudo dpkg -i libdb4.8++-dev_4.8.30-xenial4_amd64.deb

./autogen.sh
CXXFLAGS=-O2 ./configure --enable-upnp-default --with-gui=qt5 --disable-tests
make

Development tips and tricks

compiling for debugging

Run configure with the --enable-debug option, then make. Or run configure with CXXFLAGS="-g -ggdb -O0" or whatever debug flags you need.

debug.log

If the code is behaving strangely, take a look in the debug.log file in the data directory; error and debugging message are written there.

The -debug=... command-line option controls debugging; running with just -debug will turn on all categories (and give you a very large debug.log file).

The Qt code routes qDebug() output to debug.log under category "qt": run with -debug=qt to see it.

testnet and regtest modes

Run with the -testnet option to run with "play bitcoins" on the test network, if you are testing multi-machine code that needs to operate across the internet.

If you are testing something that can run on one machine, run with the -regtest option. In regression test mode blocks can be created on-demand; see qa/rpc-tests/ for tests that run in -regest mode.

DEBUG_LOCKORDER

Bitcoin Core is a multithreaded application, and deadlocks or other multithreading bugs can be very difficult to track down. Compiling with -DDEBUG_LOCKORDER (configure CXXFLAGS="-DDEBUG_LOCKORDER -g") inserts run-time checks to keep track of what locks are held, and adds warning to the debug.log file if inconsistencies are detected.

You can’t perform that action at this time.