partial revert dash#2911: s/dash-config/bitcoin-config/g

This commit is contained in:
Kittywhiskers Van Gogh 2022-08-02 22:04:58 +05:30
parent ece4e1ee87
commit c587212f8c
64 changed files with 70 additions and 70 deletions

4
.gitignore vendored
View File

@ -40,8 +40,8 @@ config.log
config.status
configure
libtool
src/config/dash-config.h
src/config/dash-config.h.in
src/config/bitcoin-config.h
src/config/bitcoin-config.h.in
src/config/stamp-h1
src/obj
share/setup.nsi

View File

@ -9,7 +9,7 @@ define(_COPYRIGHT_HOLDERS,[The %s developers])
define(_COPYRIGHT_HOLDERS_SUBSTITUTION,[[Dash Core]])
AC_INIT([Dash Core],m4_join([.], _CLIENT_VERSION_MAJOR, _CLIENT_VERSION_MINOR, _CLIENT_VERSION_BUILD)m4_if(_CLIENT_VERSION_RC, [0], [], [rc]_CLIENT_VERSION_RC),[https://github.com/dashpay/dash/issues],[dashcore],[https://dash.org/])
AC_CONFIG_SRCDIR([src/validation.cpp])
AC_CONFIG_HEADERS([src/config/dash-config.h])
AC_CONFIG_HEADERS([src/config/bitcoin-config.h])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([build-aux/m4])
@ -809,7 +809,7 @@ AC_C_BIGENDIAN
dnl Check for pthread compile/link requirements
AX_PTHREAD
dnl The following macro will add the necessary defines to dash-config.h, but
dnl The following macro will add the necessary defines to bitcoin-config.h, but
dnl they also need to be passed down to any subprojects. Pull the results out of
dnl the cache and add them to CPPFLAGS.
AC_SYS_LARGEFILE

View File

@ -10,7 +10,7 @@
override_dh_auto_clean:
if [ -f Makefile ]; then $(MAKE) distclean; fi
rm -rf Makefile.in aclocal.m4 configure src/Makefile.in src/dash-config.h.in src/build-aux src/qt/Makefile.in src/qt/test/Makefile.in src/test/Makefile.in
rm -rf Makefile.in aclocal.m4 configure src/Makefile.in src/bitcoin-config.h.in src/build-aux src/qt/Makefile.in src/qt/test/Makefile.in src/test/Makefile.in
QT=$(shell dpkg-vendor --derives-from Ubuntu && echo qt4 || echo qt5)

View File

@ -883,12 +883,12 @@ CLEANFILES += obj/build.h
EXTRA_DIST = $(CTAES_DIST)
config/dash-config.h: config/stamp-h1
config/bitcoin-config.h: config/stamp-h1
@$(MAKE) -C $(top_builddir) $(subdir)/$(@)
config/stamp-h1: $(top_srcdir)/$(subdir)/config/dash-config.h.in $(top_builddir)/config.status
config/stamp-h1: $(top_srcdir)/$(subdir)/config/bitcoin-config.h.in $(top_builddir)/config.status
$(AM_V_at)$(MAKE) -C $(top_builddir) $(subdir)/$(@)
$(top_srcdir)/$(subdir)/config/dash-config.h.in: $(am__configure_deps)
$(AM_V_at)$(MAKE) -C $(top_srcdir) $(subdir)/config/dash-config.h.in
$(top_srcdir)/$(subdir)/config/bitcoin-config.h.in: $(am__configure_deps)
$(AM_V_at)$(MAKE) -C $(top_srcdir) $(subdir)/config/bitcoin-config.h.in
clean-local:

View File

@ -6,12 +6,12 @@
#define BITCOIN_CLIENTVERSION_H
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif //HAVE_CONFIG_H
// Check that required client information is defined
#if !defined(CLIENT_VERSION_MAJOR) || !defined(CLIENT_VERSION_MINOR) || !defined(CLIENT_VERSION_BUILD) || !defined(CLIENT_VERSION_IS_RELEASE) || !defined(COPYRIGHT_YEAR)
#error Client version information missing: version is not defined by dash-config.h or in any other way
#error Client version information missing: version is not defined by bitcoin-config.h or in any other way
#endif
/**

View File

@ -7,7 +7,7 @@
#define BITCOIN_COMPAT_H
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#ifdef WIN32

View File

@ -6,7 +6,7 @@
#define BITCOIN_COMPAT_BYTESWAP_H
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <stdint.h>

View File

@ -6,7 +6,7 @@
#define BITCOIN_COMPAT_ENDIAN_H
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <compat/byteswap.h>

View File

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <cstdarg>

View File

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <cstdio> // for fileno(), stdin

View File

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <cstring>

View File

@ -6,7 +6,7 @@
#define BITCOIN_CRYPTO_COMMON_H
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <stdint.h>

View File

@ -6,7 +6,7 @@
#define BITCOIN_CRYPTO_MUHASH_H
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <serialize.h>

View File

@ -5,7 +5,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <chainparamsbase.h>

View File

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <chainparams.h>

View File

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <chainparams.h>

View File

@ -5,7 +5,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <chainparams.h>

View File

@ -5,7 +5,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <init.h>

View File

@ -41,7 +41,7 @@
#include <warnings.h>
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <coinjoin/coinjoin.h>

View File

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <mapport.h>

View File

@ -5,7 +5,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <net.h>

View File

@ -6,7 +6,7 @@
#define BITCOIN_NETADDRESS_H
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <attributes.h>

View File

@ -6,7 +6,7 @@
#define BITCOIN_NETBASE_H
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <compat.h>

View File

@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/addressbookpage.h>

View File

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/forms/ui_appearancewidget.h>

View File

@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/askpassphrasedialog.h>

View File

@ -6,7 +6,7 @@
#define BITCOIN_QT_BITCOINGUI_H
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/optionsdialog.h>

View File

@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/coincontroldialog.h>

View File

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/createwalletdialog.h>

View File

@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/dash.h>

View File

@ -6,7 +6,7 @@
#define BITCOIN_QT_DASH_H
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <QApplication>

View File

@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <fs.h>

View File

@ -6,7 +6,7 @@
#define BITCOIN_QT_NOTIFICATOR_H
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <QIcon>

View File

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/optionsdialog.h>

View File

@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/optionsmodel.h>

View File

@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/paymentserver.h>

View File

@ -33,7 +33,7 @@
//
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/walletmodel.h>

View File

@ -14,7 +14,7 @@
#include <QPixmap>
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h> /* for USE_QRCODE */
#include <config/bitcoin-config.h> /* for USE_QRCODE */
#endif
QRDialog::QRDialog(QWidget *parent) :

View File

@ -15,7 +15,7 @@
#include <QPainter>
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h> /* for USE_QRCODE */
#include <config/bitcoin-config.h> /* for USE_QRCODE */
#endif
#ifdef USE_QRCODE

View File

@ -14,7 +14,7 @@
#include <QPixmap>
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h> /* for USE_QRCODE */
#include <config/bitcoin-config.h> /* for USE_QRCODE */
#endif
ReceiveRequestDialog::ReceiveRequestDialog(QWidget *parent) :

View File

@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/rpcconsole.h>

View File

@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/sendcoinsdialog.h>

View File

@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/sendcoinsentry.h>

View File

@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/splashscreen.h>

View File

@ -16,7 +16,7 @@
#include <validation.h>
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <QAction>

View File

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/test/compattests.h>

View File

@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <interfaces/node.h>

View File

@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifdef HAVE_CONFIG_H
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/transactiondesc.h>

View File

@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/utilitydialog.h>

View File

@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/walletmodel.h>

View File

@ -11,7 +11,7 @@
#include <script/standard.h>
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/walletmodeltransaction.h>

View File

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifdef HAVE_CONFIG_H
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <qt/walletmodeltransaction.h>

View File

@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <randomenv.h>

View File

@ -9,7 +9,7 @@
#include <stdint.h>
#if defined(BUILD_BITCOIN_INTERNAL) && defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#if defined(_WIN32)
#if defined(DLL_EXPORT)
#if defined(HAVE_FUNC_ATTRIBUTE_DLLEXPORT)

View File

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif // HAVE_CONFIG_H
#include <stacktraces.h>

View File

@ -6,7 +6,7 @@
#include <support/cleanse.h>
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#ifdef WIN32

View File

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <sync.h>

View File

@ -11,7 +11,7 @@
#include <mutex>
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <boost/test/unit_test.hpp>

View File

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <timedata.h>

View File

@ -6,7 +6,7 @@
#define BITCOIN_UTIL_CHECK_H
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <tinyformat.h>

View File

@ -12,7 +12,7 @@
#define BITCOIN_UTIL_SYSTEM_H
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <attributes.h>

View File

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <thread>

View File

@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <util/time.h>

View File

@ -8,7 +8,7 @@
#define BITCOIN_VALIDATION_H
#if defined(HAVE_CONFIG_H)
#include <config/dash-config.h>
#include <config/bitcoin-config.h>
#endif
#include <amount.h>