Skip to content

Commit

Permalink
Merge pull request #774 from RavenProject/kawpow_master
Browse files Browse the repository at this point in the history
Update master with latest (kawpow, bip44, version checks, transfer script size RIP)
  • Loading branch information
traysi authored Apr 13, 2020
2 parents 7628abb + 7a8b0c3 commit 7066fa0
Show file tree
Hide file tree
Showing 255 changed files with 11,409 additions and 6,625 deletions.
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 3)
define(_CLIENT_VERSION_MINOR, 3)
define(_CLIENT_VERSION_REVISION, 2)
define(_CLIENT_VERSION_MAJOR, 4)
define(_CLIENT_VERSION_MINOR, 0)
define(_CLIENT_VERSION_REVISION, 0)
define(_CLIENT_VERSION_BUILD, 0)
define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2019)
Expand Down
2 changes: 1 addition & 1 deletion contrib/devtools/check-doc.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# Copyright (c) 2015-2016 The Bitcoin Core developers
# Copyright (c) 2017-2019 The Raven Core developers
# Copyright (c) 2017-2020 The Raven Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

Expand Down
2 changes: 1 addition & 1 deletion contrib/devtools/check-rpc-mappings.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# Copyright (c) 2017 The Bitcoin Core developers
# Copyright (c) 2017-2019 The Raven Core developers
# Copyright (c) 2017-2020 The Raven Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Check RPC argument consistency."""
Expand Down
14 changes: 7 additions & 7 deletions contrib/devtools/copyright_header.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# Copyright (c) 2016 The Bitcoin Core developers
# Copyright (c) 2017-2019 The Raven Core developers
# Copyright (c) 2017-2020 The Raven Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

Expand Down Expand Up @@ -413,24 +413,24 @@ def exec_update_header_year(base_directory):
changed in a year more recent than is listed. For example:
// Copyright (c) <firstYear>-<lastYear> The Bitcoin Core developers
// Copyright (c) 2017-2019 The Raven Core developers
// Copyright (c) 2017-2020 The Raven Core developers
will be updated to:
// Copyright (c) <firstYear>-<lastModifiedYear> The Bitcoin Core developers
// Copyright (c) 2017-2019 The Raven Core developers
// Copyright (c) 2017-2020 The Raven Core developers
where <lastModifiedYear> is obtained from the 'git log' history.
This subcommand also handles copyright headers that have only a single year. In those cases:
// Copyright (c) <year> The Bitcoin Core developers
// Copyright (c) 2017-2019 The Raven Core developers
// Copyright (c) 2017-2020 The Raven Core developers
will be updated to:
// Copyright (c) <year>-<lastModifiedYear> The Bitcoin Core developers
// Copyright (c) 2017-2019 The Raven Core developers
// Copyright (c) 2017-2020 The Raven Core developers
where the update is appropriate.
Expand Down Expand Up @@ -464,7 +464,7 @@ def get_header_lines(header, start_year, end_year):

CPP_HEADER = '''
// Copyright (c) %s The Bitcoin Core developers
// Copyright (c) 2017-2019 The Raven Core developers
// Copyright (c) 2017-2020 The Raven Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
'''
Expand All @@ -474,7 +474,7 @@ def get_cpp_header_lines_to_insert(start_year, end_year):

PYTHON_HEADER = '''
# Copyright (c) %s The Bitcoin Core developers
# Copyright (c) 2017-2019 The Raven Core developers
# Copyright (c) 2017-2020 The Raven Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
'''
Expand Down
2 changes: 1 addition & 1 deletion contrib/devtools/optimize-pngs.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# Copyright (c) 2014-2016 The Bitcoin Core developers
# Copyright (c) 2017-2019 The Raven Core developers
# Copyright (c) 2017-2020 The Raven Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
'''
Expand Down
2 changes: 1 addition & 1 deletion contrib/devtools/security-check.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# Copyright (c) 2015-2016 The Bitcoin Core developers
# Copyright (c) 2017-2019 The Raven Core developers
# Copyright (c) 2017-2020 The Raven Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
'''
Expand Down
2 changes: 1 addition & 1 deletion contrib/devtools/test-security-check.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python2
# Copyright (c) 2015-2016 The Bitcoin Core developers
# Copyright (c) 2017-2019 The Raven Core developers
# Copyright (c) 2017-2020 The Raven Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
'''
Expand Down
2 changes: 1 addition & 1 deletion contrib/linearize/linearize-data.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# linearize-data.py: Construct a linear, no-fork version of the chain.
#
# Copyright (c) 2013-2016 The Bitcoin Core developers
# Copyright (c) 2017-2019 The Raven Core developers
# Copyright (c) 2017-2020 The Raven Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
#
Expand Down
2 changes: 1 addition & 1 deletion contrib/linearize/linearize-hashes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# linearize-hashes.py: List blocks in a linear, no-fork version of the chain.
#
# Copyright (c) 2013-2016 The Bitcoin Core developers
# Copyright (c) 2017-2019 The Raven Core developers
# Copyright (c) 2017-2020 The Raven Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
#
Expand Down
2 changes: 1 addition & 1 deletion contrib/macdeploy/custom_dsstore.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# Copyright (c) 2013-2016 The Bitcoin Core developers
# Copyright (c) 2017-2019 The Raven Core developers
# Copyright (c) 2017-2020 The Raven Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
from __future__ import division,print_function,unicode_literals
Expand Down
2 changes: 1 addition & 1 deletion contrib/seeds/makeseeds.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# Copyright (c) 2013-2017 The Bitcoin Core developers
# Copyright (c) 2017-2019 The Raven Core developers
# Copyright (c) 2017-2020 The Raven Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
#
Expand Down
2 changes: 1 addition & 1 deletion contrib/testgen/base58.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) 2012-2016 The Bitcoin Core developers
# Copyright (c) 2017-2019 The Raven Core developers
# Copyright (c) 2017-2020 The Raven Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
'''
Expand Down
2 changes: 1 addition & 1 deletion contrib/testgen/gen_base58_test_vectors.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# Copyright (c) 2012-2016 The Bitcoin Core developers
# Copyright (c) 2017-2019 The Raven Core developers
# Copyright (c) 2017-2020 The Raven Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
'''
Expand Down
2 changes: 1 addition & 1 deletion contrib/zmq/zmq_sub.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# Copyright (c) 2014-2016 The Bitcoin Core developers
# Copyright (c) 2017-2019 The Raven Core developers
# Copyright (c) 2017-2020 The Raven Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

Expand Down
2 changes: 1 addition & 1 deletion contrib/zmq/zmq_sub3.4.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# Copyright (c) 2014-2016 The Bitcoin Core developers
# Copyright (c) 2017-2019 The Raven Core developers
# Copyright (c) 2017-2020 The Raven Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

Expand Down
2 changes: 1 addition & 1 deletion contrib/zmq/zmq_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# Copyright (c) 2014-2016 The Bitcoin Core developers
# Copyright (c) 2017-2019 The Raven Core developers
# Copyright (c) 2017-2020 The Raven Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

Expand Down
2 changes: 1 addition & 1 deletion depends/packages/qt.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PACKAGE=qt
$(package)_version=5.7.1
$(package)_download_path=https://download.qt.io/archive/qt/5.7/$($(package)_version)/submodules
$(package)_download_path=https://download.qt.io/new_archive/qt/5.7/$($(package)_version)/submodules
$(package)_suffix=opensource-src-$($(package)_version).tar.gz
$(package)_file_name=qtbase-$($(package)_suffix)
$(package)_sha256_hash=95f83e532d23b3ddbde7973f380ecae1bac13230340557276f75f2e37984e410
Expand Down
2 changes: 1 addition & 1 deletion share/qt/extract_strings_qt.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# Copyright (c) 2012-2016 The Bitcoin Core developers
# Copyright (c) 2017-2019 The Raven Core developers
# Copyright (c) 2017-2020 The Raven Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
'''
Expand Down
2 changes: 1 addition & 1 deletion share/rpcuser/rpcuser.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python2
# Copyright (c) 2015-2016 The Bitcoin Core developers
# Copyright (c) 2017-2019 The Raven Core developers
# Copyright (c) 2017-2020 The Raven Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

Expand Down
32 changes: 29 additions & 3 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ RAVEN_CORE_H = \
algo/lyra2.h \
algo/sponge.h \
algo/gost_streebog.h \
algo/hash_algos.h \
algo/groestl.c \
algo/blake.c \
algo/bmw.c \
Expand Down Expand Up @@ -228,6 +227,8 @@ RAVEN_CORE_H = \
wallet/rpcwallet.h \
wallet/wallet.h \
wallet/walletdb.h \
wallet/bip39.h \
wallet/bip39_english.h \
warnings.h \
zmq/zmqabstractnotifier.h \
zmq/zmqconfig.h\
Expand Down Expand Up @@ -322,6 +323,7 @@ libraven_wallet_a_SOURCES = \
wallet/rpcwallet.cpp \
wallet/wallet.cpp \
wallet/walletdb.cpp \
wallet/bip39.cpp \
$(RAVEN_CORE_H)

# crypto primitives library
Expand All @@ -343,7 +345,31 @@ crypto_libraven_crypto_a_SOURCES = \
crypto/sha256.cpp \
crypto/sha256.h \
crypto/sha512.h \
crypto/sha512.cpp
crypto/sha512.cpp \
crypto/ethash/include/ethash/ethash.h \
crypto/ethash/include/ethash/ethash.hpp \
crypto/ethash/include/ethash/hash_types.h \
crypto/ethash/include/ethash/hash_types.hpp \
crypto/ethash/include/ethash/keccak.h \
crypto/ethash/include/ethash/keccak.hpp \
crypto/ethash/include/ethash/progpow.hpp \
crypto/ethash/include/ethash/version.h \
crypto/ethash/lib/ethash/bit_manipulation.h \
crypto/ethash/lib/ethash/builtins.h \
crypto/ethash/lib/ethash/endianness.hpp \
crypto/ethash/lib/ethash/ethash.cpp \
crypto/ethash/lib/ethash/ethash-internal.hpp \
crypto/ethash/lib/ethash/kiss99.hpp \
crypto/ethash/lib/ethash/managed.cpp \
crypto/ethash/lib/ethash/primes.c \
crypto/ethash/lib/ethash/primes.h \
crypto/ethash/lib/ethash/progpow.cpp \
crypto/ethash/lib/keccak/keccak.c \
crypto/ethash/lib/keccak/keccakf1600.c \
crypto/ethash/lib/keccak/keccakf800.c \
crypto/ethash/lib/support/attributes.h \
crypto/ethash/helpers.hpp \
crypto/ethash/progpow_test_vectors.hpp

if USE_ASM
crypto_libraven_crypto_a_SOURCES += crypto/sha256_sse4.cpp
Expand Down Expand Up @@ -525,7 +551,7 @@ if GLIBC_BACK_COMPAT
endif

libravenconsensus_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined $(RELDFLAGS)
libravenconsensus_la_LIBADD = $(LIBSECP256K1)
libravenconsensus_la_LIBADD = $(LIBSECP256K1) $(BOOST_LIBS)
libravenconsensus_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(builddir)/obj -I$(srcdir)/secp256k1/include -DBUILD_RAVEN_INTERNAL
libravenconsensus_la_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)

Expand Down
12 changes: 8 additions & 4 deletions src/Makefile.qt.include
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ QT_FORMS_UI = \
qt/forms/restrictedassetsdialog.ui \
qt/forms/restrictedassignqualifier.ui \
qt/forms/restrictedfreezeaddress.ui \
qt/forms/sendassetsentry.ui
qt/forms/sendassetsentry.ui \
qt/forms/mnemonicdialog.ui

QT_MOC_CPP = \
qt/moc_addressbookpage.cpp \
Expand Down Expand Up @@ -180,7 +181,8 @@ QT_MOC_CPP = \
qt/moc_restrictedassetsdialog.cpp \
qt/moc_restrictedassignqualifier.cpp \
qt/moc_restrictedfreezeaddress.cpp \
qt/moc_sendassetsentry.cpp
qt/moc_sendassetsentry.cpp \
qt/moc_mnemonicdialog.cpp

RAVEN_MM = \
qt/macdockiconhandler.mm \
Expand Down Expand Up @@ -271,7 +273,8 @@ RAVEN_QT_H = \
qt/walletmodel.h \
qt/walletmodeltransaction.h \
qt/walletview.h \
qt/winshutdownmonitor.h
qt/winshutdownmonitor.h \
qt/mnemonicdialog.h

RES_ICONS = \
qt/res/icons/add.png \
Expand Down Expand Up @@ -446,7 +449,8 @@ RAVEN_QT_WALLET_CPP = \
qt/walletframe.cpp \
qt/walletmodel.cpp \
qt/walletmodeltransaction.cpp \
qt/walletview.cpp
qt/walletview.cpp \
qt/mnemonicdialog.cpp

RAVEN_QT_CPP = $(RAVEN_QT_BASE_CPP)
if TARGET_WINDOWS
Expand Down
1 change: 1 addition & 0 deletions src/Makefile.test.include
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ RAVEN_TESTS =\
test/policyestimator_tests.cpp \
test/pow_tests.cpp \
test/prevector_tests.cpp \
test/kawpow_tests.cpp \
test/raii_event_tests.cpp \
test/random_tests.cpp \
test/reverselock_tests.cpp \
Expand Down
Loading

0 comments on commit 7066fa0

Please sign in to comment.