Skip to content

Commit bfecb61

Browse files
Merge pull request #308 from dexX7/mscore-0.0.9.2
Omni Core v0.0.9.2
2 parents 621e272 + 7581fc5 commit bfecb61

73 files changed

Lines changed: 15917 additions & 1423 deletions

Some content is hidden

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

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Omni Core (Beta) integration/staging tree
22
=================================================
33

4+
Copyright (c) 2013-2015 Omni Core Developers
5+
6+
Copyright (c) 2009-2015 Bitcoin Core Developers
7+
48
What is the Omni Layer
59
----------------------
610
The Omni Layer is a communications protocol that uses the Bitcoin block chain to enable features such as smart contracts, user currencies and decentralized peer-to-peer exchanges. A common analogy that is used to describe the relation of the Omni Layer to Bitcoin is that of HTTP to TCP/IP: HTTP, like the Omni Layer, is the application layer to the more fundamental transport and internet layer of TCP/IP, like Bitcoin.
@@ -10,7 +14,7 @@ http://www.omnilayer.org
1014
What is Omni Core
1115
-----------------
1216

13-
Omni Core is a fast, portable Omni Layer implementation that is based off the Bitcoin Core codebase (currently 0.9.3). This implementation requires no external dependencies extraneous to Bitcoin Core, and is native to the Bitcoin network just like other Bitcoin nodes. It currently supports a wallet mode and it will be seamlessly available on 3 platforms: Windows, Linux and Mac OS. Omni Layer extensions are exposed via the UI and the JSON-RPC interface. Development has been consolidated on the Omni Core product, and once officially released it will become the reference client for the Omni Layer.
17+
Omni Core is a fast, portable Omni Layer implementation that is based off the Bitcoin Core codebase (currently 0.9.5). This implementation requires no external dependencies extraneous to Bitcoin Core, and is native to the Bitcoin network just like other Bitcoin nodes. It currently supports a wallet mode and it will be seamlessly available on 3 platforms: Windows, Linux and Mac OS. Omni Layer extensions are exposed via the UI and the JSON-RPC interface. Development has been consolidated on the Omni Core product, and once officially released it will become the reference client for the Omni Layer.
1418

1519
Disclaimer, warning
1620
-------------------

configure.ac

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
22
AC_PREREQ([2.60])
33
define(_CLIENT_VERSION_MAJOR, 0)
44
define(_CLIENT_VERSION_MINOR, 9)
5-
define(_CLIENT_VERSION_REVISION, 3)
5+
define(_CLIENT_VERSION_REVISION, 5)
66
define(_CLIENT_VERSION_BUILD, 0)
77
define(_CLIENT_VERSION_IS_RELEASE, true)
88
define(_COPYRIGHT_YEAR, 2015)
@@ -232,12 +232,25 @@ case $host in
232232

233233
AC_CHECK_PROG([BREW],brew, brew)
234234
if test x$BREW = xbrew; then
235-
dnl add default homebrew paths
236-
openssl_prefix=`$BREW --prefix openssl`
237-
bdb_prefix=`$BREW --prefix berkeley-db4`
238-
export PKG_CONFIG_PATH="$openssl_prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
239-
CPPFLAGS="$CPPFLAGS -I$bdb_prefix/include"
240-
LIBS="$LIBS -L$bdb_prefix/lib"
235+
dnl These Homebrew packages may be bottled, meaning that they won't be found
236+
dnl in expected paths because they may conflict with system files. Ask
237+
dnl Homebrew where each one is located, then adjust paths accordingly.
238+
dnl It's safe to add these paths even if the functionality is disabled by
239+
dnl the user (--without-wallet or --without-gui for example).
240+
241+
openssl_prefix=`$BREW --prefix openssl 2>/dev/null`
242+
bdb_prefix=`$BREW --prefix berkeley-db4 2>/dev/null`
243+
qt5_prefix=`$BREW --prefix qt5 2>/dev/null`
244+
if test x$openssl_prefix != x; then
245+
export PKG_CONFIG_PATH="$openssl_prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
246+
fi
247+
if test x$bdb_prefix != x; then
248+
CPPFLAGS="$CPPFLAGS -I$bdb_prefix/include"
249+
LIBS="$LIBS -L$bdb_prefix/lib"
250+
fi
251+
if test x$qt5_prefix != x; then
252+
export PKG_CONFIG_PATH="$qt5_prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
253+
fi
241254
fi
242255
else
243256
case $build_os in
@@ -423,7 +436,7 @@ if test x$use_tests = xyes; then
423436
dnl Determine if -DBOOST_TEST_DYN_LINK is needed
424437
AC_MSG_CHECKING([for dynamic linked boost test])
425438
TEMP_LIBS="$LIBS"
426-
LIBS="$LIBS $BOOST_UNIT_TEST_FRAMEWORK_LIB"
439+
LIBS="$LIBS $BOOST_LDFLAGS $BOOST_UNIT_TEST_FRAMEWORK_LIB"
427440
TEMP_CPPFLAGS="$CPPFLAGS"
428441
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
429442
AC_LINK_IFELSE([AC_LANG_SOURCE([

contrib/gitian-descriptors/deps-linux.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ packages:
1616
reference_datetime: "2013-06-01 00:00:00"
1717
remotes: []
1818
files:
19-
- "openssl-1.0.1i.tar.gz"
19+
- "openssl-1.0.1k.tar.gz"
2020
- "miniupnpc-1.9.20140701.tar.gz"
2121
- "qrencode-3.4.3.tar.bz2"
2222
- "protobuf-2.5.0.tar.bz2"
@@ -30,15 +30,15 @@ script: |
3030
export TZ=UTC
3131
export LIBRARY_PATH="$STAGING/lib"
3232
# Integrity Check
33-
echo "3c179f46ca77069a6a0bac70212a9b3b838b2f66129cb52d568837fc79d8fcc7 openssl-1.0.1i.tar.gz" | sha256sum -c
33+
echo "8f9faeaebad088e772f4ef5e38252d472be4d878c6b3a2718c10a4fcebe7a41c openssl-1.0.1k.tar.gz" | sha256sum -c
3434
echo "26f3985bad7768b8483b793448ae49414cdc4451d0ec83e7c1944367e15f9f07 miniupnpc-1.9.20140701.tar.gz" | sha256sum -c
3535
echo "dfd71487513c871bad485806bfd1fdb304dedc84d2b01a8fb8e0940b50597a98 qrencode-3.4.3.tar.bz2" | sha256sum -c
3636
echo "13bfc5ae543cf3aa180ac2485c0bc89495e3ae711fc6fab4f8ffe90dfb4bb677 protobuf-2.5.0.tar.bz2" | sha256sum -c
3737
echo "12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef db-4.8.30.NC.tar.gz" | sha256sum -c
3838
3939
#
40-
tar xzf openssl-1.0.1i.tar.gz
41-
cd openssl-1.0.1i
40+
tar xzf openssl-1.0.1k.tar.gz
41+
cd openssl-1.0.1k
4242
# need -fPIC to avoid relocation error in 64 bit builds
4343
./config no-shared no-zlib no-dso no-krb5 --openssldir=$STAGING -fPIC
4444
# need to build OpenSSL with faketime because a timestamp is embedded into cversion.o
@@ -95,4 +95,4 @@ script: |
9595
done
9696
#
9797
cd $STAGING
98-
find include lib bin host | sort | zip -X@ $OUTDIR/bitcoin-deps-linux${GBUILD_BITS}-gitian-r8.zip
98+
find include lib bin host | sort | zip -X@ $OUTDIR/bitcoin-deps-linux${GBUILD_BITS}-gitian-r9.zip

contrib/gitian-descriptors/deps-win.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ packages:
1414
reference_datetime: "2011-01-30 00:00:00"
1515
remotes: []
1616
files:
17-
- "openssl-1.0.1i.tar.gz"
17+
- "openssl-1.0.1k.tar.gz"
1818
- "db-4.8.30.NC.tar.gz"
1919
- "miniupnpc-1.9.20140701.tar.gz"
2020
- "zlib-1.2.8.tar.gz"
@@ -28,7 +28,7 @@ script: |
2828
INDIR=$HOME/build
2929
TEMPDIR=$HOME/tmp
3030
# Input Integrity Check
31-
echo "3c179f46ca77069a6a0bac70212a9b3b838b2f66129cb52d568837fc79d8fcc7 openssl-1.0.1i.tar.gz" | sha256sum -c
31+
echo "8f9faeaebad088e772f4ef5e38252d472be4d878c6b3a2718c10a4fcebe7a41c openssl-1.0.1k.tar.gz" | sha256sum -c
3232
echo "12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef db-4.8.30.NC.tar.gz" | sha256sum -c
3333
echo "26f3985bad7768b8483b793448ae49414cdc4451d0ec83e7c1944367e15f9f07 miniupnpc-1.9.20140701.tar.gz" | sha256sum -c
3434
echo "36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d zlib-1.2.8.tar.gz" | sha256sum -c
@@ -48,8 +48,8 @@ script: |
4848
mkdir -p $INSTALLPREFIX $BUILDDIR
4949
cd $BUILDDIR
5050
#
51-
tar xzf $INDIR/openssl-1.0.1i.tar.gz
52-
cd openssl-1.0.1i
51+
tar xzf $INDIR/openssl-1.0.1k.tar.gz
52+
cd openssl-1.0.1k
5353
if [ "$BITS" == "32" ]; then
5454
OPENSSL_TGT=mingw
5555
else
@@ -124,5 +124,5 @@ script: |
124124
done
125125
#
126126
cd $INSTALLPREFIX
127-
find include lib | sort | zip -X@ $OUTDIR/bitcoin-deps-win$BITS-gitian-r15.zip
127+
find include lib | sort | zip -X@ $OUTDIR/bitcoin-deps-win$BITS-gitian-r16.zip
128128
done # for BITS in

contrib/gitian-descriptors/gitian-linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ remotes:
2525
- "url": "https://github.com/bitcoin/bitcoin.git"
2626
"dir": "bitcoin"
2727
files:
28-
- "bitcoin-deps-linux32-gitian-r8.zip"
29-
- "bitcoin-deps-linux64-gitian-r8.zip"
28+
- "bitcoin-deps-linux32-gitian-r9.zip"
29+
- "bitcoin-deps-linux64-gitian-r9.zip"
3030
- "boost-linux32-1.55.0-gitian-r1.zip"
3131
- "boost-linux64-1.55.0-gitian-r1.zip"
3232
- "qt-linux32-4.6.4-gitian-r1.tar.gz"
@@ -43,7 +43,7 @@ script: |
4343
#
4444
mkdir -p $STAGING
4545
cd $STAGING
46-
unzip ../build/bitcoin-deps-linux${GBUILD_BITS}-gitian-r8.zip
46+
unzip ../build/bitcoin-deps-linux${GBUILD_BITS}-gitian-r9.zip
4747
unzip ../build/boost-linux${GBUILD_BITS}-1.55.0-gitian-r1.zip
4848
tar -zxf ../build/qt-linux${GBUILD_BITS}-4.6.4-gitian-r1.tar.gz
4949
cd ../build

contrib/gitian-descriptors/gitian-osx-bitcoin.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ remotes:
1818
"dir": "bitcoin"
1919
files:
2020
- "osx-native-depends-r3.tar.gz"
21-
- "osx-depends-r6.tar.gz"
22-
- "osx-depends-qt-5.2.1-r5.tar.gz"
21+
- "osx-depends-r8.tar.gz"
22+
- "osx-depends-qt-5.2.1-r7.tar.gz"
2323
- "MacOSX10.7.sdk.tar.gz"
2424

2525
script: |
@@ -37,8 +37,8 @@ script: |
3737
tar -C osx-cross-depends/SDKs -xf ${SOURCES_PATH}/MacOSX10.7.sdk.tar.gz
3838
3939
tar -C osx-cross-depends -xf osx-native-depends-r3.tar.gz
40-
tar -C osx-cross-depends -xf osx-depends-r6.tar.gz
41-
tar -C osx-cross-depends -xf osx-depends-qt-5.2.1-r5.tar.gz
40+
tar -C osx-cross-depends -xf osx-depends-r8.tar.gz
41+
tar -C osx-cross-depends -xf osx-depends-qt-5.2.1-r7.tar.gz
4242
export PATH=`pwd`/osx-cross-depends/native-prefix/bin:$PATH
4343
4444
cd bitcoin

contrib/gitian-descriptors/gitian-osx-depends.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ files:
1515
- "boost_1_55_0.tar.bz2"
1616
- "db-4.8.30.NC.tar.gz"
1717
- "miniupnpc-1.9.20140701.tar.gz"
18-
- "openssl-1.0.1i.tar.gz"
18+
- "openssl-1.0.1k.tar.gz"
1919
- "protobuf-2.5.0.tar.bz2"
2020
- "qrencode-3.4.3.tar.bz2"
2121
- "MacOSX10.7.sdk.tar.gz"
@@ -26,11 +26,11 @@ script: |
2626
echo "fff00023dd79486d444c8e29922f4072e1d451fc5a4d2b6075852ead7f2b7b52 boost_1_55_0.tar.bz2" | sha256sum -c
2727
echo "12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef db-4.8.30.NC.tar.gz" | sha256sum -c
2828
echo "26f3985bad7768b8483b793448ae49414cdc4451d0ec83e7c1944367e15f9f07 miniupnpc-1.9.20140701.tar.gz" | sha256sum -c
29-
echo "3c179f46ca77069a6a0bac70212a9b3b838b2f66129cb52d568837fc79d8fcc7 openssl-1.0.1i.tar.gz" | sha256sum -c
29+
echo "8f9faeaebad088e772f4ef5e38252d472be4d878c6b3a2718c10a4fcebe7a41c openssl-1.0.1k.tar.gz" | sha256sum -c
3030
echo "13bfc5ae543cf3aa180ac2485c0bc89495e3ae711fc6fab4f8ffe90dfb4bb677 protobuf-2.5.0.tar.bz2" | sha256sum -c
3131
echo "dfd71487513c871bad485806bfd1fdb304dedc84d2b01a8fb8e0940b50597a98 qrencode-3.4.3.tar.bz2" | sha256sum -c
3232
33-
REVISION=r6
33+
REVISION=r8
3434
export SOURCES_PATH=`pwd`
3535
export TAR_OPTIONS="-m --mtime="$REFERENCE_DATE\\\ $REFERENCE_TIME""
3636
export PATH=$HOME:$PATH
@@ -88,16 +88,16 @@ script: |
8888
popd
8989
9090
# openssl
91-
SOURCE_FILE=${SOURCES_PATH}/openssl-1.0.1i.tar.gz
92-
BUILD_DIR=${BUILD_BASE}/openssl-1.0.1i
91+
SOURCE_FILE=${SOURCES_PATH}/openssl-1.0.1k.tar.gz
92+
BUILD_DIR=${BUILD_BASE}/openssl-1.0.1k
9393
9494
tar -C ${BUILD_BASE} -xf ${SOURCE_FILE}
9595
pushd ${BUILD_DIR}
9696
sed -ie "s|cc:|${INT_CC}:|" ${BUILD_DIR}/Configure
9797
sed -ie "s|\(-arch [_a-zA-Z0-9]*\)|\1 --sysroot ${SDK} -target ${HOST} -msse2|" ${BUILD_DIR}/Configure
98+
sed -i "/define DATE/d" ${BUILD_DIR}/util/mkbuildinf.pl
99+
sed -i "s|engines apps test|engines|" ${BUILD_DIR}/Makefile.org
98100
AR="${INT_AR}" RANLIB="${INT_RANLIB}" ./Configure --prefix=${PREFIX} --openssldir=${PREFIX}/etc/openssl zlib shared no-krb5 darwin64-x86_64-cc ${INT_LDFLAGS} ${INT_CLANG_LDFLAGS} ${INT_CPPFLAGS}
99-
sed -i "s|engines apps test|engines|" ${BUILD_DIR}/Makefile
100-
sed -i "/define DATE/d" ${BUILD_DIR}/crypto/Makefile
101101
make -j1 build_libs libcrypto.pc libssl.pc openssl.pc
102102
make -j1 install_sw
103103
popd

contrib/gitian-descriptors/gitian-osx-qt.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ remotes: []
1414
files:
1515
- "qt-everywhere-opensource-src-5.2.1.tar.gz"
1616
- "osx-native-depends-r3.tar.gz"
17-
- "osx-depends-r6.tar.gz"
17+
- "osx-depends-r8.tar.gz"
1818
- "MacOSX10.7.sdk.tar.gz"
1919

2020
script: |
2121
2222
echo "84e924181d4ad6db00239d87250cc89868484a14841f77fb85ab1f1dbdcd7da1 qt-everywhere-opensource-src-5.2.1.tar.gz" | sha256sum -c
2323
24-
REVISION=r5
24+
REVISION=r7
2525
export SOURCES_PATH=`pwd`
2626
export TAR_OPTIONS="-m --mtime="$REFERENCE_DATE\\\ $REFERENCE_TIME""
2727
export ZERO_AR_DATE=1
@@ -73,7 +73,7 @@ script: |
7373
tar xf /home/ubuntu/build/osx-native-depends-r3.tar.gz
7474
7575
export PATH=`pwd`/native-prefix/bin:$PATH
76-
tar xf /home/ubuntu/build/osx-depends-r6.tar.gz
76+
tar xf /home/ubuntu/build/osx-depends-r8.tar.gz
7777
7878
SOURCE_FILE=${SOURCES_PATH}/qt-everywhere-opensource-src-5.2.1.tar.gz
7979
BUILD_DIR=${BUILD_BASE}/qt-everywhere-opensource-src-5.2.1

contrib/gitian-descriptors/gitian-win.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ files:
2626
- "qt-win64-5.2.0-gitian-r3.zip"
2727
- "boost-win32-1.55.0-gitian-r6.zip"
2828
- "boost-win64-1.55.0-gitian-r6.zip"
29-
- "bitcoin-deps-win32-gitian-r15.zip"
30-
- "bitcoin-deps-win64-gitian-r15.zip"
29+
- "bitcoin-deps-win32-gitian-r16.zip"
30+
- "bitcoin-deps-win64-gitian-r16.zip"
3131
- "protobuf-win32-2.5.0-gitian-r4.zip"
3232
- "protobuf-win64-2.5.0-gitian-r4.zip"
3333
script: |
@@ -61,7 +61,7 @@ script: |
6161
cd $STAGING
6262
unzip $INDIR/qt-win${BITS}-5.2.0-gitian-r3.zip
6363
unzip $INDIR/boost-win${BITS}-1.55.0-gitian-r6.zip
64-
unzip $INDIR/bitcoin-deps-win${BITS}-gitian-r15.zip
64+
unzip $INDIR/bitcoin-deps-win${BITS}-gitian-r16.zip
6565
unzip $INDIR/protobuf-win${BITS}-2.5.0-gitian-r4.zip
6666
if [ "$NEEDDIST" == "1" ]; then
6767
# Make source code archive which is architecture independent so it only needs to be done once

contrib/gitian-descriptors/qt-win.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ reference_datetime: "2011-01-30 00:00:00"
1515
remotes: []
1616
files:
1717
- "qt-everywhere-opensource-src-5.2.0.tar.gz"
18-
- "bitcoin-deps-win32-gitian-r15.zip"
19-
- "bitcoin-deps-win64-gitian-r15.zip"
18+
- "bitcoin-deps-win32-gitian-r16.zip"
19+
- "bitcoin-deps-win64-gitian-r16.zip"
2020
script: |
2121
# Defines
2222
export TZ=UTC
@@ -48,7 +48,7 @@ script: |
4848
#
4949
# Need mingw-compiled openssl from bitcoin-deps:
5050
cd $DEPSDIR
51-
unzip $INDIR/bitcoin-deps-win${BITS}-gitian-r15.zip
51+
unzip $INDIR/bitcoin-deps-win${BITS}-gitian-r16.zip
5252
#
5353
cd $BUILDDIR
5454
#

0 commit comments

Comments
 (0)