Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8d4edd3
Showing
1,301 changed files
with
317,227 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
src/clientversion.cpp export-subst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
*.sublime-project | ||
*.sublime-workspace | ||
todo.txt | ||
reset-files.bash | ||
|
||
*.tar.gz | ||
|
||
*.exe | ||
src/infinex | ||
src/infinexd | ||
src/infinex-cli | ||
src/infinex-tx | ||
src/test/test_infinex | ||
src/qt/test/test_infinex-qt | ||
src/bench/bench_infinex | ||
|
||
# autoreconf | ||
Makefile.in | ||
aclocal.m4 | ||
autom4te.cache/ | ||
build-aux/config.guess | ||
build-aux/config.sub | ||
build-aux/depcomp | ||
build-aux/install-sh | ||
build-aux/ltmain.sh | ||
build-aux/m4/libtool.m4 | ||
build-aux/m4/lt~obsolete.m4 | ||
build-aux/m4/ltoptions.m4 | ||
build-aux/m4/ltsugar.m4 | ||
build-aux/m4/ltversion.m4 | ||
build-aux/missing | ||
build-aux/compile | ||
build-aux/test-driver | ||
config.log | ||
config.status | ||
configure | ||
libtool | ||
src/config/infinex-config.h | ||
src/config/infinex-config.h.in | ||
src/config/stamp-h1 | ||
share/setup.nsi | ||
share/qt/Info.plist | ||
|
||
src/univalue/gen | ||
|
||
src/qt/*.moc | ||
src/qt/moc_*.cpp | ||
src/qt/forms/ui_*.h | ||
|
||
src/qt/test/moc*.cpp | ||
libconftest.dylib* | ||
|
||
.deps | ||
.dirstamp | ||
.libs | ||
.*.swp | ||
*.*~* | ||
*.bak | ||
*.rej | ||
*.orig | ||
*.pyc | ||
*.o | ||
*.o-* | ||
*.patch | ||
.infinex | ||
*.a | ||
*.pb.cc | ||
*.pb.h | ||
|
||
*.log | ||
*.trs | ||
*.dmg | ||
|
||
*.json.h | ||
*.raw.h | ||
|
||
#libtool object files | ||
*.lo | ||
*.la | ||
|
||
# Compilation and Qt preprocessor part | ||
*.qm | ||
Makefile | ||
infinex-qt | ||
Infinex-Qt.app | ||
|
||
# Unit-tests | ||
Makefile.test | ||
infinex-qt_test | ||
src/test/buildenv.py | ||
|
||
# Resources cpp | ||
qrc_*.cpp | ||
|
||
# Mac specific | ||
.DS_Store | ||
build | ||
|
||
#lcov | ||
*.gcno | ||
*.gcda | ||
/*.info | ||
test_infinex.coverage/ | ||
total.coverage/ | ||
coverage_percent.txt | ||
|
||
#build tests | ||
linux-coverage-build | ||
linux-build | ||
win32-build | ||
qa/pull-tester/run-bitcoind-for-test.sh | ||
qa/pull-tester/tests_config.py | ||
qa/pull-tester/cache/* | ||
qa/pull-tester/test.*/* | ||
qa/tmp | ||
cache/ | ||
share/BitcoindComparisonTool.jar | ||
|
||
!src/leveldb*/Makefile | ||
|
||
.cproject | ||
.project | ||
.autotools | ||
/doc/doxygen/ | ||
|
||
libinfinexconsensus.pc | ||
src/qt/infinex-qt.bash | ||
qa/pull-tester/tests-config.sh | ||
|
||
#development symlinks | ||
infinex-cli | ||
infinexd | ||
infinex-qt | ||
make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
# errata: | ||
# - A travis bug causes caches to trample eachother when using the same | ||
# compiler key (which we don't use anyway). This is worked around for now by | ||
# replacing the "compilers" with a build name prefixed by the no-op ":" | ||
# command. See: https://github.com/travis-ci/travis-ci/issues/4393 | ||
# - sudo/dist/group are set so as to get Blue Box VMs, necessary for [loopback] | ||
# IPv6 support | ||
|
||
sudo: required | ||
dist: trusty | ||
group: deprecated-2017Q3 | ||
|
||
os: linux | ||
language: generic | ||
|
||
cache: | ||
apt: true | ||
ccache: true | ||
directories: | ||
- depends/built | ||
- depends/sdk-sources | ||
- $HOME/.ccache | ||
|
||
env: | ||
global: | ||
- MAKEJOBS=-j5 | ||
- RUN_TESTS=false | ||
- BOOST_TEST_RANDOM=1$TRAVIS_BUILD_ID | ||
- CCACHE_SIZE=400M | ||
- CCACHE_TEMPDIR=/tmp/.ccache-temp | ||
- CCACHE_COMPRESS=1 | ||
- BASE_OUTDIR=$TRAVIS_BUILD_DIR/out | ||
- SDK_URL=https://bitcoincore.org/depends-sources/sdks | ||
- PYTHON_DEBUG=1 | ||
- WINEDEBUG=fixme-all | ||
|
||
matrix: | ||
# ARM | ||
- HOST=arm-linux-gnueabihf PPA="ppa:bitcoin/bitcoin" PACKAGES="g++-arm-linux-gnueabihf" DEP_OPTS="NO_QT=1" CHECK_DOC=1 GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports" | ||
# Win32 | ||
- HOST=i686-w64-mingw32 DPKG_ADD_ARCH="i386" DEP_OPTS="NO_QT=1" PPA="ppa:bitcoin/bitcoin" PACKAGES="python3 nsis g++-mingw-w64-i686 wine1.7 bc" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-gui --enable-reduce-exports" MAKEJOBS="-j4" WINE=true | ||
# 32-bit + infinex | ||
- HOST=i686-pc-linux-gnu PPA="ppa:bitcoin/bitcoin" PACKAGES="g++-multilib bc python3-zmq" DEP_OPTS="NO_QT=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-zmq --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++" USE_SHELL="/bin/infinex" PYZMQ=true | ||
# Win64 | ||
- HOST=x86_64-w64-mingw32 DPKG_ADD_ARCH="i386" DEP_OPTS="NO_QT=1" PPA="ppa:bitcoin/bitcoin" PACKAGES="python3 nsis g++-mingw-w64-x86-64 wine1.7 bc" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-gui --enable-reduce-exports" MAKEJOBS="-j4" WINE=true | ||
# infinexd | ||
- HOST=x86_64-unknown-linux-gnu PPA="ppa:bitcoin/bitcoin" PACKAGES="bc python3-zmq" DEP_OPTS="NO_QT=1 NO_UPNP=1 DEBUG=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-zmq --enable-glibc-back-compat --enable-reduce-exports" CPPFLAGS="-DDEBUG_LOCKORDER -DENABLE_INFINEX_DEBUG" PYZMQ=true | ||
# No wallet | ||
# - HOST=x86_64-unknown-linux-gnu PPA="ppa:bitcoin/bitcoin" PACKAGES="python3" DEP_OPTS="NO_WALLET=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports" | ||
# Cross-Mac | ||
- HOST=x86_64-apple-darwin11 PPA="ppa:bitcoin/bitcoin" PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python-dev" BITCOIN_CONFIG="--enable-gui --enable-reduce-exports" OSX_SDK=10.9 GOAL="deploy" | ||
|
||
before_install: | ||
- git clone https://github.com/infinexpay/infinex_hash | ||
- travis_retry sudo apt-get install python-dev | ||
- travis_retry sudo add-apt-repository ppa:ubuntu-wine/ppa -y | ||
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g") | ||
install: | ||
- if [ "$PYZMQ" = "true" ]; then pip install pyzmq --user ; fi | ||
- if [ -n "$PPA" ]; then travis_retry sudo add-apt-repository "$PPA" -y; fi | ||
- if [ -n "$DPKG_ADD_ARCH" ]; then sudo dpkg --add-architecture "$DPKG_ADD_ARCH" ; fi | ||
- if [ -n "$PACKAGES" ]; then travis_retry sudo apt-get update; fi | ||
- if [ -n "$PACKAGES" ]; then travis_retry sudo apt-get install --no-install-recommends --no-upgrade -qq $PACKAGES; fi | ||
- cd infinex_hash && python setup.py install --user && cd .. | ||
before_script: | ||
- unset CC; unset CXX | ||
- unset DISPLAY | ||
- mkdir -p depends/SDKs depends/sdk-sources | ||
- if [ -n "$OSX_SDK" -a ! -f depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz ]; then curl --location --fail $SDK_URL/MacOSX${OSX_SDK}.sdk.tar.gz -o depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz; fi | ||
- if [ -n "$OSX_SDK" -a -f depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz ]; then tar -C depends/SDKs -xf depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz; fi | ||
- make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS | ||
script: | ||
- if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi | ||
- OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST | ||
- BITCOIN_CONFIG_ALL="--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib" | ||
- depends/$HOST/native/bin/ccache --max-size=$CCACHE_SIZE | ||
- test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh | ||
- ./configure --cache-file=config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false) | ||
- make distdir PACKAGE=infinex VERSION=$HOST | ||
- cd infinex-$HOST | ||
- ./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false) | ||
- make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && make $GOAL V=1 ; false ) | ||
- export LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib | ||
- if [ "$RUN_TESTS" = "true" -a "$WINE" != "true" ]; then make $MAKEJOBS check VERBOSE=1; fi | ||
- if [ "$RUN_TESTS" = "true" -a "$WINE" = "true" ]; then wine src/test/test_infinex.exe; fi | ||
- if [ "$RUN_TESTS" = "true" ]; then qa/pull-tester/rpc-tests.py --coverage; fi | ||
after_script: | ||
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then (echo "Upload goes here. Something like: scp -r $BASE_OUTDIR server" || echo "upload failed"); fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2009-2016 The Bitcoin Core developers | ||
Copyright (c) 2014-2017 The Dash Core developers | ||
Copyright (c) 2017-2018 The Infinex Core developers | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Building Infinex Core | ||
|
||
After you install the usual build tools and C++ development tools, | ||
Infinex Core also needs some build dependencies which are not always provided | ||
by default by the OS package manager | ||
(in particular BerkeleyDB 4.8 for building with wallet support). | ||
|
||
Before trying to build, be sure to read one of these files, | ||
depending on your environment: | ||
|
||
doc/build-unix.md | ||
doc/build-openbsd.md | ||
doc/build-osx.md | ||
doc/build-windows.md | ||
|
||
After installing the needed dependencies, | ||
use the autogen script to prepare the build environment. | ||
|
||
./autogen.sh | ||
./configure | ||
make | ||
|
||
Precompiled binaries are available at github, see | ||
https://github.com/InfinexOfficial/Infinex/releases | ||
|
||
Always verify the signatures and checksums. | ||
|
||
See doc/build-*.md for instructions on building infinexd, | ||
the intended-for-services, no-graphical-interface, | ||
reference implementation of Infinex. |
Oops, something went wrong.