Skip to content

Commit 3548e4a

Browse files
committed
Remove BIP70 Support
1 parent 1cb9a4e commit 3548e4a

29 files changed

+24
-1915
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
FILE_ENV="./ci/test/00_setup_env_mac.sh"
146146
147147
- stage: test
148-
name: 'macOS 10.14 native [GOAL: install] [GUI: BIP70 enabled] [no depends]'
148+
name: 'macOS 10.14 native [GOAL: install] [GUI] [no depends]'
149149
os: osx
150150
# Use the most recent version:
151151
# Xcode 11, macOS 10.14, JDK 12.0.1

ci/test/00_setup_env_mac_host.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
export LC_ALL=C.UTF-8
88

99
export HOST=x86_64-apple-darwin14
10-
export BREW_PACKAGES="automake berkeley-db4 libtool boost miniupnpc pkg-config protobuf qt qrencode python3 ccache zeromq"
10+
export BREW_PACKAGES="automake berkeley-db4 libtool boost miniupnpc pkg-config qt qrencode python3 ccache zeromq"
1111
export PIP_PACKAGES="zmq"
1212
export RUN_CI_ON_HOST=true
1313
export RUN_UNIT_TESTS=true
1414
export RUN_FUNCTIONAL_TESTS=false
1515
export GOAL="install"
16-
export BITCOIN_CONFIG="--enable-gui --enable-bip70 --enable-reduce-exports --enable-werror"
16+
export BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --enable-werror"
1717
# Run without depends
1818
export NO_DEPENDS=1
1919
export OSX_SDK=""

configure.ac

Lines changed: 5 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -226,13 +226,16 @@ AC_ARG_ENABLE([zmq],
226226
[disable ZMQ notifications])],
227227
[use_zmq=$enableval],
228228
[use_zmq=yes])
229+
229230
AC_ARG_ENABLE([bip70],
230231
[AS_HELP_STRING([--enable-bip70],
231-
[enable BIP70 (payment protocol) support in the GUI (default is to disable)])],
232+
[BIP70 (payment protocol) support in the GUI (no longer supported)])],
232233
[enable_bip70=$enableval],
233234
[enable_bip70=no])
234235

235-
AC_ARG_WITH([protoc-bindir],[AS_HELP_STRING([--with-protoc-bindir=BIN_DIR],[specify protoc bin path])], [protoc_bin_path=$withval], [])
236+
if test x$enable_bip70 != xno; then
237+
AC_MSG_ERROR([BIP70 is no longer supported!])
238+
fi
236239

237240
AC_ARG_ENABLE(man,
238241
[AS_HELP_STRING([--disable-man],
@@ -1239,9 +1242,6 @@ if test x$use_pkgconfig = xyes; then
12391242
[
12401243
PKG_CHECK_MODULES([SSL], [libssl],, [AC_MSG_ERROR(openssl not found.)])
12411244
PKG_CHECK_MODULES([CRYPTO], [libcrypto],,[AC_MSG_ERROR(libcrypto not found.)])
1242-
if test x$enable_bip70 != xno; then
1243-
BITCOIN_QT_CHECK([PKG_CHECK_MODULES([PROTOBUF], [protobuf], [have_protobuf=yes], [have_protobuf=no])])
1244-
fi
12451245
if test x$use_qr != xno; then
12461246
BITCOIN_QT_CHECK([PKG_CHECK_MODULES([QR], [libqrencode], [have_qrencode=yes], [have_qrencode=no])])
12471247
fi
@@ -1301,9 +1301,6 @@ else
13011301
esac
13021302
fi
13031303

1304-
if test x$enable_bip70 != xno; then
1305-
BITCOIN_QT_CHECK(AC_CHECK_LIB([protobuf] ,[main],[PROTOBUF_LIBS=-lprotobuf], [have_protobuf=no]))
1306-
fi
13071304
if test x$use_qr != xno; then
13081305
BITCOIN_QT_CHECK([AC_CHECK_LIB([qrencode], [main],[QR_LIBS=-lqrencode], [have_qrencode=no])])
13091306
BITCOIN_QT_CHECK([AC_CHECK_HEADER([qrencode.h],, have_qrencode=no)])
@@ -1381,12 +1378,6 @@ AM_CONDITIONAL([EMBEDDED_UNIVALUE],[test x$need_bundled_univalue = xyes])
13811378
AC_SUBST(UNIVALUE_CFLAGS)
13821379
AC_SUBST(UNIVALUE_LIBS)
13831380

1384-
1385-
if test x$have_protobuf != xno &&
1386-
test x$enable_bip70 != xno; then
1387-
BITCOIN_QT_PATH_PROGS([PROTOC], [protoc],$protoc_bin_path)
1388-
fi
1389-
13901381
AC_MSG_CHECKING([whether to build bitcoind])
13911382
AM_CONDITIONAL([BUILD_BITCOIND], [test x$build_bitcoind = xyes])
13921383
AC_MSG_RESULT($build_bitcoind)
@@ -1508,23 +1499,6 @@ if test x$bitcoin_enable_qt != xno; then
15081499
else
15091500
AC_MSG_RESULT([no])
15101501
fi
1511-
1512-
AC_MSG_CHECKING([whether to build BIP70 support])
1513-
if test x$have_protobuf = xno; then
1514-
if test x$enable_bip70 = xyes; then
1515-
AC_MSG_ERROR(protobuf missing)
1516-
fi
1517-
enable_bip70=no
1518-
AC_MSG_RESULT(no)
1519-
else
1520-
if test x$enable_bip70 != xno; then
1521-
AC_DEFINE([ENABLE_BIP70],[1],[Define if BIP70 support should be compiled in])
1522-
enable_bip70=yes
1523-
AC_MSG_RESULT([yes])
1524-
else
1525-
AC_MSG_RESULT([no])
1526-
fi
1527-
fi
15281502
fi
15291503

15301504
AM_CONDITIONAL([ENABLE_ZMQ], [test "x$use_zmq" = "xyes"])
@@ -1557,7 +1531,6 @@ AM_CONDITIONAL([ENABLE_TESTS],[test x$BUILD_TEST = xyes])
15571531
AM_CONDITIONAL([ENABLE_FUZZ],[test x$enable_fuzz = xyes])
15581532
AM_CONDITIONAL([ENABLE_QT],[test x$bitcoin_enable_qt = xyes])
15591533
AM_CONDITIONAL([ENABLE_QT_TESTS],[test x$BUILD_TEST_QT = xyes])
1560-
AM_CONDITIONAL([ENABLE_BIP70],[test x$enable_bip70 = xyes])
15611534
AM_CONDITIONAL([ENABLE_BENCH],[test x$use_bench = xyes])
15621535
AM_CONDITIONAL([USE_QRCODE], [test x$use_qr = xyes])
15631536
AM_CONDITIONAL([USE_LCOV],[test x$use_lcov = xyes])
@@ -1627,7 +1600,6 @@ AC_SUBST(SSL_LIBS)
16271600
AC_SUBST(EVENT_LIBS)
16281601
AC_SUBST(EVENT_PTHREADS_LIBS)
16291602
AC_SUBST(ZMQ_LIBS)
1630-
AC_SUBST(PROTOBUF_LIBS)
16311603
AC_SUBST(QR_LIBS)
16321604
AC_CONFIG_FILES([Makefile src/Makefile doc/man/Makefile share/setup.nsi share/qt/Info.plist test/config.ini])
16331605
AC_CONFIG_FILES([contrib/devtools/split-debug.sh],[chmod +x contrib/devtools/split-debug.sh])
@@ -1682,7 +1654,6 @@ echo "Options used to compile and link:"
16821654
echo " with wallet = $enable_wallet"
16831655
echo " with gui / qt = $bitcoin_enable_qt"
16841656
if test x$bitcoin_enable_qt != xno; then
1685-
echo " with bip70 = $enable_bip70"
16861657
echo " with qr = $use_qr"
16871658
fi
16881659
echo " with zmq = $use_zmq"

contrib/bitcoind.bash-completion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ _bitcoind() {
1515
_get_comp_words_by_ref -n = cur prev words cword
1616

1717
case "$cur" in
18-
-conf=*|-pid=*|-loadblock=*|-rootcertificates=*|-rpccookiefile=*|-wallet=*)
18+
-conf=*|-pid=*|-loadblock=*|-rpccookiefile=*|-wallet=*)
1919
cur="${cur#*=}"
2020
_filedir
2121
return 0

src/Makefile.am

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -701,12 +701,6 @@ if HARDEN
701701
$(AM_V_at) READELF=$(READELF) OBJDUMP=$(OBJDUMP) $(PYTHON) $(top_srcdir)/contrib/devtools/security-check.py < $(bin_PROGRAMS)
702702
endif
703703

704-
if ENABLE_BIP70
705-
%.pb.cc %.pb.h: %.proto
706-
@test -f $(PROTOC)
707-
$(AM_V_GEN) $(PROTOC) --cpp_out=$(@D) --proto_path=$(<D) $<
708-
endif
709-
710704
if EMBEDDED_LEVELDB
711705
include Makefile.leveldb.include
712706
endif

src/Makefile.qt.include

Lines changed: 6 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,6 @@ QT_QRC = qt/bitcoin.qrc
9595
QT_QRC_LOCALE_CPP = qt/qrc_bitcoin_locale.cpp
9696
QT_QRC_LOCALE = qt/bitcoin_locale.qrc
9797

98-
if ENABLE_BIP70
99-
PROTOBUF_CC = qt/paymentrequest.pb.cc
100-
PROTOBUF_H = qt/paymentrequest.pb.h
101-
PROTOBUF_PROTO = qt/paymentrequest.proto
102-
else
103-
PROTOBUF_CC =
104-
PROTOBUF_H =
105-
PROTOBUF_PROTO =
106-
endif
107-
10898
BITCOIN_QT_H = \
10999
qt/addressbookpage.h \
110100
qt/addresstablemodel.h \
@@ -134,7 +124,6 @@ BITCOIN_QT_H = \
134124
qt/optionsdialog.h \
135125
qt/optionsmodel.h \
136126
qt/overviewpage.h \
137-
qt/paymentrequestplus.h \
138127
qt/paymentserver.h \
139128
qt/peertablemodel.h \
140129
qt/platformstyle.h \
@@ -269,18 +258,12 @@ BITCOIN_QT_WALLET_CPP = \
269258
qt/walletmodeltransaction.cpp \
270259
qt/walletview.cpp
271260

272-
BITCOIN_QT_WALLET_BIP70_CPP = \
273-
qt/paymentrequestplus.cpp
274-
275261
BITCOIN_QT_CPP = $(BITCOIN_QT_BASE_CPP)
276262
if TARGET_WINDOWS
277263
BITCOIN_QT_CPP += $(BITCOIN_QT_WINDOWS_CPP)
278264
endif
279265
if ENABLE_WALLET
280266
BITCOIN_QT_CPP += $(BITCOIN_QT_WALLET_CPP)
281-
if ENABLE_BIP70
282-
BITCOIN_QT_CPP += $(BITCOIN_QT_WALLET_BIP70_CPP)
283-
endif # ENABLE_BIP70
284267
endif # ENABLE_WALLET
285268

286269
RES_IMAGES =
@@ -292,18 +275,17 @@ BITCOIN_RC = qt/res/bitcoin-qt-res.rc
292275
BITCOIN_QT_INCLUDES = -DQT_NO_KEYWORDS
293276

294277
qt_libbitcoinqt_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \
295-
$(QT_INCLUDES) $(QT_DBUS_INCLUDES) $(PROTOBUF_CFLAGS) $(QR_CFLAGS)
278+
$(QT_INCLUDES) $(QT_DBUS_INCLUDES) $(QR_CFLAGS)
296279
qt_libbitcoinqt_a_CXXFLAGS = $(AM_CXXFLAGS) $(QT_PIE_FLAGS)
297280
qt_libbitcoinqt_a_OBJCXXFLAGS = $(AM_OBJCXXFLAGS) $(QT_PIE_FLAGS)
298281

299282
qt_libbitcoinqt_a_SOURCES = $(BITCOIN_QT_CPP) $(BITCOIN_QT_H) $(QT_FORMS_UI) \
300-
$(QT_QRC) $(QT_QRC_LOCALE) $(QT_TS) $(PROTOBUF_PROTO) $(RES_ICONS) $(RES_IMAGES) $(RES_MOVIES)
283+
$(QT_QRC) $(QT_QRC_LOCALE) $(QT_TS) $(RES_ICONS) $(RES_IMAGES) $(RES_MOVIES)
301284
if TARGET_DARWIN
302285
qt_libbitcoinqt_a_SOURCES += $(BITCOIN_MM)
303286
endif
304287

305-
nodist_qt_libbitcoinqt_a_SOURCES = $(QT_MOC_CPP) $(QT_MOC) $(PROTOBUF_CC) \
306-
$(PROTOBUF_H) $(QT_QRC_CPP) $(QT_QRC_LOCALE_CPP)
288+
nodist_qt_libbitcoinqt_a_SOURCES = $(QT_MOC_CPP) $(QT_MOC) $(QT_QRC_CPP) $(QT_QRC_LOCALE_CPP)
307289

308290
# forms/foo.h -> forms/ui_foo.h
309291
QT_FORMS_H=$(join $(dir $(QT_FORMS_UI)),$(addprefix ui_, $(notdir $(QT_FORMS_UI:.ui=.h))))
@@ -313,14 +295,9 @@ QT_FORMS_H=$(join $(dir $(QT_FORMS_UI)),$(addprefix ui_, $(notdir $(QT_FORMS_UI:
313295
$(QT_MOC): $(QT_FORMS_H)
314296
$(qt_libbitcoinqt_a_OBJECTS) $(qt_bitcoin_qt_OBJECTS) : | $(QT_MOC)
315297

316-
#Generating these with a half-written protobuf header leads to wacky results.
317-
#This makes sure it's done.
318-
$(QT_MOC): $(PROTOBUF_H)
319-
$(QT_MOC_CPP): $(PROTOBUF_H)
320-
321298
# bitcoin-qt binary #
322299
qt_bitcoin_qt_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \
323-
$(QT_INCLUDES) $(PROTOBUF_CFLAGS) $(QR_CFLAGS)
300+
$(QT_INCLUDES) $(QR_CFLAGS)
324301
qt_bitcoin_qt_CXXFLAGS = $(AM_CXXFLAGS) $(QT_PIE_FLAGS)
325302

326303
qt_bitcoin_qt_SOURCES = qt/main.cpp
@@ -335,15 +312,8 @@ if ENABLE_ZMQ
335312
qt_bitcoin_qt_LDADD += $(LIBBITCOIN_ZMQ) $(ZMQ_LIBS)
336313
endif
337314
qt_bitcoin_qt_LDADD += $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CONSENSUS) $(LIBBITCOIN_CRYPTO) $(LIBUNIVALUE) $(LIBLEVELDB) $(LIBLEVELDB_SSE42) $(LIBMEMENV) \
338-
$(BOOST_LIBS) $(QT_LIBS) $(QT_DBUS_LIBS) $(QR_LIBS) $(PROTOBUF_LIBS) $(BDB_LIBS) $(MINIUPNPC_LIBS) $(LIBSECP256K1) \
315+
$(BOOST_LIBS) $(QT_LIBS) $(QT_DBUS_LIBS) $(QR_LIBS) $(BDB_LIBS) $(MINIUPNPC_LIBS) $(LIBSECP256K1) \
339316
$(EVENT_PTHREADS_LIBS) $(EVENT_LIBS)
340-
if ENABLE_BIP70
341-
qt_bitcoin_qt_LDADD += $(SSL_LIBS)
342-
else
343-
if TARGET_WINDOWS
344-
qt_bitcoin_qt_LDADD += $(SSL_LIBS)
345-
endif
346-
endif
347317
qt_bitcoin_qt_LDADD += $(CRYPTO_LIBS)
348318
qt_bitcoin_qt_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(QT_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
349319
qt_bitcoin_qt_LIBTOOLFLAGS = $(AM_LIBTOOLFLAGS) --tag CXX
@@ -368,7 +338,7 @@ $(QT_QRC_LOCALE_CPP): $(QT_QRC_LOCALE) $(QT_QM)
368338
$(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@
369339
@rm $(@D)/temp_$(<F)
370340

371-
$(QT_QRC_CPP): $(QT_QRC) $(QT_FORMS_H) $(RES_ICONS) $(RES_IMAGES) $(RES_MOVIES) $(PROTOBUF_H)
341+
$(QT_QRC_CPP): $(QT_QRC) $(QT_FORMS_H) $(RES_ICONS) $(RES_IMAGES) $(RES_MOVIES)
372342
@test -f $(RCC)
373343
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(RCC) -name bitcoin $< | \
374344
$(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@

src/Makefile.qttest.include

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ if ENABLE_WALLET
1515
TEST_QT_MOC_CPP += \
1616
qt/test/moc_addressbooktests.cpp \
1717
qt/test/moc_wallettests.cpp
18-
if ENABLE_BIP70
19-
TEST_QT_MOC_CPP += \
20-
qt/test/moc_paymentservertests.cpp
21-
endif # ENABLE_BIP70
2218
endif # ENABLE_WALLET
2319

2420
TEST_QT_H = \
@@ -28,8 +24,6 @@ TEST_QT_H = \
2824
qt/test/rpcnestedtests.h \
2925
qt/test/uritests.h \
3026
qt/test/util.h \
31-
qt/test/paymentrequestdata.h \
32-
qt/test/paymentservertests.h \
3327
qt/test/wallettests.h
3428

3529
TEST_BITCOIN_CPP = \
@@ -39,7 +33,7 @@ TEST_BITCOIN_H = \
3933
test/setup_common.h
4034

4135
qt_test_test_bitcoin_qt_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \
42-
$(QT_INCLUDES) $(QT_TEST_INCLUDES) $(PROTOBUF_CFLAGS)
36+
$(QT_INCLUDES) $(QT_TEST_INCLUDES)
4337

4438
qt_test_test_bitcoin_qt_SOURCES = \
4539
qt/test/apptests.cpp \
@@ -56,10 +50,6 @@ qt_test_test_bitcoin_qt_SOURCES += \
5650
qt/test/addressbooktests.cpp \
5751
qt/test/wallettests.cpp \
5852
wallet/test/wallet_test_fixture.cpp
59-
if ENABLE_BIP70
60-
qt_test_test_bitcoin_qt_SOURCES += \
61-
qt/test/paymentservertests.cpp
62-
endif # ENABLE_BIP70
6353
endif # ENABLE_WALLET
6454

6555
nodist_qt_test_test_bitcoin_qt_SOURCES = $(TEST_QT_MOC_CPP)
@@ -73,7 +63,7 @@ qt_test_test_bitcoin_qt_LDADD += $(LIBBITCOIN_ZMQ) $(ZMQ_LIBS)
7363
endif
7464
qt_test_test_bitcoin_qt_LDADD += $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CONSENSUS) $(LIBBITCOIN_CRYPTO) $(LIBUNIVALUE) $(LIBLEVELDB) \
7565
$(LIBLEVELDB_SSE42) $(LIBMEMENV) $(BOOST_LIBS) $(QT_DBUS_LIBS) $(QT_TEST_LIBS) $(QT_LIBS) \
76-
$(QR_LIBS) $(PROTOBUF_LIBS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(LIBSECP256K1) \
66+
$(QR_LIBS) $(BDB_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(LIBSECP256K1) \
7767
$(EVENT_PTHREADS_LIBS) $(EVENT_LIBS)
7868
qt_test_test_bitcoin_qt_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(QT_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
7969
qt_test_test_bitcoin_qt_CXXFLAGS = $(AM_CXXFLAGS) $(QT_PIE_FLAGS)

src/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ void SetupServerArgs()
354354
std::vector<std::string> hidden_args = {
355355
"-dbcrashratio", "-forcecompactdb",
356356
// GUI args. These will be overwritten by SetupUIArgs for the GUI
357-
"-allowselfsignedrootcertificates", "-choosedatadir", "-lang=<lang>", "-min", "-resetguisettings", "-rootcertificates=<file>", "-splash", "-uiplatform"};
357+
"-choosedatadir", "-lang=<lang>", "-min", "-resetguisettings", "-splash", "-uiplatform"};
358358

359359
gArgs.AddArg("-version", "Print version and exit", ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
360360
#if HAVE_SYSTEM

src/qt/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Various dialogs, e.g. to open a URL. Inherit from [QDialog](https://doc.qt.io/qt
5050

5151
### paymentserver.(h/cpp)
5252

53-
Used to process BIP21 and BIP70 (see https://github.com/bitcoin/bitcoin/pull/11622) payment URI / requests. Also handles URI based application switching (e.g. when following a bitcoin:... link from a browser).
53+
Used to process BIP21 payment URI requests. Also handles URI based application switching (e.g. when following a bitcoin:... link from a browser).
5454

5555
### walletview.(h/cpp)
5656

src/qt/bitcoin.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -337,10 +337,6 @@ void BitcoinApplication::initializeResult(bool success)
337337
window->setWalletController(m_wallet_controller);
338338
if (paymentServer) {
339339
paymentServer->setOptionsModel(optionsModel);
340-
#ifdef ENABLE_BIP70
341-
PaymentServer::LoadRootCAs();
342-
connect(m_wallet_controller, &WalletController::coinsSent, paymentServer, &PaymentServer::fetchPaymentACK);
343-
#endif
344340
}
345341
}
346342
#endif // ENABLE_WALLET
@@ -396,14 +392,10 @@ WId BitcoinApplication::getMainWinId() const
396392

397393
static void SetupUIArgs()
398394
{
399-
#if defined(ENABLE_WALLET) && defined(ENABLE_BIP70)
400-
gArgs.AddArg("-allowselfsignedrootcertificates", strprintf("Allow self signed root certificates (default: %u)", DEFAULT_SELFSIGNED_ROOTCERTS), ArgsManager::ALLOW_ANY | ArgsManager::DEBUG_ONLY, OptionsCategory::GUI);
401-
#endif
402395
gArgs.AddArg("-choosedatadir", strprintf("Choose data directory on startup (default: %u)", DEFAULT_CHOOSE_DATADIR), ArgsManager::ALLOW_ANY, OptionsCategory::GUI);
403396
gArgs.AddArg("-lang=<lang>", "Set language, for example \"de_DE\" (default: system locale)", ArgsManager::ALLOW_ANY, OptionsCategory::GUI);
404397
gArgs.AddArg("-min", "Start minimized", ArgsManager::ALLOW_ANY, OptionsCategory::GUI);
405398
gArgs.AddArg("-resetguisettings", "Reset all settings changed in the GUI", ArgsManager::ALLOW_ANY, OptionsCategory::GUI);
406-
gArgs.AddArg("-rootcertificates=<file>", "Set SSL root certificates for payment request (default: -system-)", ArgsManager::ALLOW_ANY, OptionsCategory::GUI);
407399
gArgs.AddArg("-splash", strprintf("Show splash screen on startup (default: %u)", DEFAULT_SPLASHSCREEN), ArgsManager::ALLOW_ANY, OptionsCategory::GUI);
408400
gArgs.AddArg("-uiplatform", strprintf("Select platform to customize UI for (one of windows, macosx, other; default: %s)", BitcoinGUI::DEFAULT_UIPLATFORM), ArgsManager::ALLOW_ANY | ArgsManager::DEBUG_ONLY, OptionsCategory::GUI);
409401
}

0 commit comments

Comments
 (0)