Skip to content

Commit fbe366e

Browse files
committed
Initial Release
0 parents  commit fbe366e

File tree

1,192 files changed

+273033
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,192 files changed

+273033
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/clientversion.cpp export-subst

.github/ISSUE_TEMPLATE.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!--- Remove this description and sections that do not apply -->
2+
3+
This issue tracker is only for technical issues related to Dcoins Core.
4+
General Dcoins questions and/or support requests and are best directed to the [Dcoins Discord](https://discordapp.com/invite/9nzt37V).
5+
6+
### Describe the issue
7+
8+
### Can you reliably reproduce the issue?
9+
#### If so, please list the steps to reproduce below:
10+
1.
11+
2.
12+
3.
13+
14+
### Expected behavior
15+
Tell us what should happen
16+
17+
### Actual behavior
18+
Tell us what happens instead
19+
20+
### Screenshots.
21+
If the issue is related to the GUI, screenshots can be added to this issue via drag & drop.
22+
23+
### What version of Dcoins Core are you using?
24+
List the version number/commit ID, and if it is an official binary, self compiled or a distribution package.
25+
26+
### Machine specs:
27+
- OS:
28+
- CPU:
29+
- RAM:
30+
- Disk size:
31+
- Disk Type (HD/SDD):
32+
33+
### Any extra information that might be useful in the debugging process.
34+
This is normally the contents of a `debug.log`, `db.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred.

.gitignore

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
*.sublime-project
2+
*.sublime-workspace
3+
.vscode
4+
todo.txt
5+
reset-files.bash
6+
7+
*.tar.gz
8+
9+
*.exe
10+
src/dcoins
11+
src/dcoinsd
12+
src/dcoins-cli
13+
src/dcoins-tx
14+
src/test/test_dcoins
15+
src/qt/test/test_dcoins-qt
16+
17+
# autoreconf
18+
Makefile.in
19+
aclocal.m4
20+
autom4te.cache/
21+
build-aux/config.guess
22+
build-aux/config.sub
23+
build-aux/depcomp
24+
build-aux/install-sh
25+
build-aux/ltmain.sh
26+
build-aux/m4/libtool.m4
27+
build-aux/m4/lt~obsolete.m4
28+
build-aux/m4/ltoptions.m4
29+
build-aux/m4/ltsugar.m4
30+
build-aux/m4/ltversion.m4
31+
build-aux/missing
32+
build-aux/compile
33+
build-aux/test-driver
34+
config.log
35+
config.status
36+
configure
37+
confdefs.h
38+
conftest.cpp
39+
conftest.err
40+
libtool
41+
src/config/dcoins-config.h
42+
src/config/dcoins-config.h.in
43+
src/config/stamp-h1
44+
share/setup.nsi
45+
share/qt/Info.plist
46+
contrib/devtools/split-debug.sh
47+
48+
src/qt/*.moc
49+
src/qt/moc_*.cpp
50+
src/qt/forms/ui_*.h
51+
52+
src/qt/test/moc*.cpp
53+
54+
.deps
55+
.dirstamp
56+
.libs
57+
.*.swp
58+
*.*~*
59+
*.bak
60+
*.rej
61+
*.orig
62+
*.pyc
63+
*.o
64+
*.o-*
65+
.dcoins
66+
*.a
67+
*.pb.cc
68+
*.pb.h
69+
70+
*.log
71+
*.trs
72+
*.dmg
73+
74+
*.json.h
75+
*.raw.h
76+
77+
#libtool object files
78+
*.lo
79+
*.la
80+
81+
# Compilation and Qt preprocessor part
82+
*.qm
83+
Makefile
84+
dcoins-qt
85+
Dcoins-Qt.app
86+
87+
# Unit-tests
88+
Makefile.test
89+
dcoins-qt_test
90+
src/test/buildenv.py
91+
92+
# Resources cpp
93+
qrc_*.cpp
94+
95+
# Qt creator
96+
*.pro.user
97+
98+
# Mac specific
99+
.DS_Store
100+
build
101+
102+
#lcov
103+
*.gcno
104+
/*.info
105+
test_dcoins.coverage/
106+
total.coverage/
107+
coverage_percent.txt
108+
109+
#build tests
110+
linux-coverage-build
111+
linux-build
112+
win32-build
113+
qa/pull-tester/run-bitcoind-for-test.sh
114+
qa/pull-tester/tests-config.sh
115+
qa/pull-tester/cache/*
116+
qa/pull-tester/test.*/*
117+
118+
.cproject
119+
.project
120+
/doc/doxygen/
121+
/nbproject/
122+
123+
.idea
124+
CMakeLists.txt
125+
cmake-build-debug

.travis.yml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
sudo: required
2+
dist: trusty
3+
4+
#workaround for https://github.com/travis-ci/travis-ci/issues/5227
5+
addons:
6+
hostname: dcoins-tester
7+
8+
os: linux
9+
language: generic
10+
cache:
11+
directories:
12+
- depends/built
13+
- depends/sdk-sources
14+
- $HOME/.ccache
15+
env:
16+
global:
17+
- MAKEJOBS=-j3
18+
- RUN_TESTS=false
19+
- CHECK_DOC=0
20+
- CHECK_LOGPRINT=0
21+
- BOOST_TEST_RANDOM=1$TRAVIS_BUILD_ID
22+
- CCACHE_SIZE=100M
23+
- CCACHE_TEMPDIR=/tmp/.ccache-temp
24+
- CCACHE_COMPRESS=1
25+
- BASE_OUTDIR=$TRAVIS_BUILD_DIR/out
26+
- SDK_URL=https://bitcoincore.org/depends-sources/sdks
27+
- PYTHON_DEBUG=1
28+
- WINEDEBUG=fixme-all
29+
matrix:
30+
# ARM
31+
- HOST=arm-linux-gnueabihf PACKAGES="g++-arm-linux-gnueabihf" CHECK_DOC=1 CHECK_LOGPRINT=1 GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"
32+
# Win32
33+
- HOST=i686-w64-mingw32 DPKG_ADD_ARCH="i386" DEP_OPTS="NO_QT=1" PACKAGES="python3 nsis g++-mingw-w64-i686 wine1.6 bc" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-reduce-exports"
34+
# 32-bit + dash
35+
- HOST=i686-pc-linux-gnu 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/dash" PYZMQ=true
36+
# Win64
37+
- HOST=x86_64-w64-mingw32 DPKG_ADD_ARCH="i386" DEP_OPTS="NO_QT=1" PACKAGES="python3 nsis g++-mingw-w64-x86-64 wine1.6 bc" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-reduce-exports"
38+
# dcoinsd
39+
- HOST=x86_64-unknown-linux-gnu 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" PYZMQ=true
40+
41+
# No wallet
42+
# - HOST=x86_64-unknown-linux-gnu PACKAGES="python3" DEP_OPTS="NO_WALLET=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"
43+
# Cross-Mac
44+
- HOST=x86_64-apple-darwin11 PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python-dev" BITCOIN_CONFIG="--enable-reduce-exports" OSX_SDK=10.11 GOAL="deploy"
45+
46+
before_install:
47+
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
48+
install:
49+
- if [ "$PYZMQ" = "true" ]; then pip install pyzmq --user ; fi
50+
- if [ -n "$PPA" ]; then travis_retry sudo add-apt-repository "$PPA" -y; fi
51+
- if [ -n "$DPKG_ADD_ARCH" ]; then sudo dpkg --add-architecture "$DPKG_ADD_ARCH" ; fi
52+
- if [ -n "$PACKAGES" ]; then travis_retry sudo apt-get update; fi
53+
- if [ -n "$PACKAGES" ]; then travis_retry sudo apt-get install --no-install-recommends --no-upgrade -qq $PACKAGES; fi
54+
before_script:
55+
- unset CC; unset CXX
56+
- if [ "$CHECK_DOC" = 1 ]; then contrib/devtools/check-doc.py; fi
57+
- if [ "$CHECK_LOGPRINT" = 1 ]; then contrib/devtools/logprint-scanner.py; fi
58+
- mkdir -p depends/SDKs depends/sdk-sources
59+
- 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
60+
- 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
61+
- make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS
62+
script:
63+
- export TRAVIS_COMMIT_LOG=`git log --format=fuller -1`
64+
- if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi
65+
- OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST
66+
- BITCOIN_CONFIG_ALL="--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib"
67+
- depends/$HOST/native/bin/ccache --max-size=$CCACHE_SIZE
68+
- test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh
69+
- ./configure --cache-file=config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)
70+
- make distdir PACKAGE=bitcoin VERSION=$HOST
71+
- cd bitcoin-$HOST
72+
- ./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)
73+
- make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && make $GOAL V=1 ; false )
74+
- export LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib
75+
- if [ "$RUN_TESTS" = "true" ]; then make $MAKEJOBS check VERBOSE=1; fi
76+
#- if [ "$RUN_TESTS" = "true" ]; then qa/pull-tester/rpc-tests.py --coverage; fi
77+
after_script:
78+
- echo $TRAVIS_COMMIT_RANGE
79+
- echo $TRAVIS_COMMIT_LOG
80+
notifications:
81+
slack:
82+
secure: w22XjHoG/3xplxWzddS9Ma7i99Q/hq4FA3Q56xS+RtO2vlFgDT+eDzCppstdx96mn2/4e+/V1aiQ4E6GVEvJMeldqSUhPv9OBnKR0KJVAOwu4haNXt+0ZeQFt8lIndKB5cMVyOJkoq6peGoHNXslClM0lGuBn7g7VC2QPQYNWrJNrrGL7IiVb6fNOIKHWcC4URkzSvXAhO/WIqSSlmKxAAx0B2oEsM8LhdAbcjbp7Sm7zH87TIVGBZ7iTVuMc6B9+SfClbE8bBuRtvjTX57Q4UUZzn0zDtKdPdCte0oXdaQF4RdVim9mDodBGIpDo+avW4WL7EE+AK33fs94pwH5bu0LEandR/aeEvVpbSpQ2XsEKSe+6woizgl5i4GXFVZduJF62y/o1f+S/zC3qW9lIEEpiZc4PpX7pDy30X3p6S5nMrW7T/zNh+SjLhS1VP6XKdQtpD3WRCY4GKZYammZhk5RbOy3jTXAahIXuttWdhl/Q3Rb5VqfFJWlrG/qQXt73qOk2/DgJnABxXE6gnWO4MpHAq+kdomNR+nod4HeXI3DOk1wRuQRVoW1rSjiqQd6Db+TP56RKYgt4M4csOD0DG9G+W0AOtZkuKHTeoEtmQfkKFPZLYAQumv41cDN2UE9gKIECmvJSevj4sMCDTWtozKWqay/W4n2+cmhbzmGflY=

0 commit comments

Comments
 (0)