aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/Makefile9
-rw-r--r--src/qt/Makefile.am382
-rw-r--r--src/qt/coincontroldialog.cpp29
-rw-r--r--src/qt/forms/rpcconsole.ui60
-rw-r--r--src/qt/guiutil.cpp2
-rw-r--r--src/qt/locale/bitcoin_el_GR.ts147
-rw-r--r--src/qt/locale/bitcoin_sl_SI.ts38
-rw-r--r--src/qt/locale/bitcoin_th_TH.ts96
-rw-r--r--src/qt/optionsdialog.cpp4
-rw-r--r--src/qt/optionsmodel.cpp21
-rw-r--r--src/qt/paymentserver.cpp2
-rw-r--r--src/qt/peertablemodel.cpp4
-rw-r--r--src/qt/rpcconsole.cpp12
-rw-r--r--src/qt/test/Makefile6
-rw-r--r--src/qt/test/Makefile.am46
-rw-r--r--src/qt/walletmodel.cpp6
16 files changed, 236 insertions, 628 deletions
diff --git a/src/qt/Makefile b/src/qt/Makefile
new file mode 100644
index 0000000000..b9dcf0c599
--- /dev/null
+++ b/src/qt/Makefile
@@ -0,0 +1,9 @@
+.PHONY: FORCE
+all: FORCE
+ $(MAKE) -C .. bitcoin_qt test_bitcoin_qt
+clean: FORCE
+ $(MAKE) -C .. bitcoin_qt_clean test_bitcoin_qt_clean
+check: FORCE
+ $(MAKE) -C .. test_bitcoin_qt_check
+bitcoin-qt bitcoin-qt.exe: FORCE
+ $(MAKE) -C .. bitcoin_qt
diff --git a/src/qt/Makefile.am b/src/qt/Makefile.am
deleted file mode 100644
index 1d85113d78..0000000000
--- a/src/qt/Makefile.am
+++ /dev/null
@@ -1,382 +0,0 @@
-include $(top_srcdir)/src/Makefile.include
-
-AM_CPPFLAGS += -I$(top_srcdir)/src \
- -I$(top_builddir)/src/qt \
- -I$(top_builddir)/src/qt/forms \
- $(PROTOBUF_CFLAGS) \
- $(QR_CFLAGS)
-bin_PROGRAMS = bitcoin-qt
-noinst_LIBRARIES = libbitcoinqt.a
-SUBDIRS = . $(BUILD_TEST_QT)
-DIST_SUBDIRS = . test
-
-# bitcoin qt core #
-QT_TS = \
- locale/bitcoin_ach.ts \
- locale/bitcoin_af_ZA.ts \
- locale/bitcoin_ar.ts \
- locale/bitcoin_be_BY.ts \
- locale/bitcoin_bg.ts \
- locale/bitcoin_bs.ts \
- locale/bitcoin_ca_ES.ts \
- locale/bitcoin_ca.ts \
- locale/bitcoin_ca@valencia.ts \
- locale/bitcoin_cmn.ts \
- locale/bitcoin_cs.ts \
- locale/bitcoin_cy.ts \
- locale/bitcoin_da.ts \
- locale/bitcoin_de.ts \
- locale/bitcoin_el_GR.ts \
- locale/bitcoin_en.ts \
- locale/bitcoin_eo.ts \
- locale/bitcoin_es_CL.ts \
- locale/bitcoin_es_DO.ts \
- locale/bitcoin_es_MX.ts \
- locale/bitcoin_es.ts \
- locale/bitcoin_es_UY.ts \
- locale/bitcoin_et.ts \
- locale/bitcoin_eu_ES.ts \
- locale/bitcoin_fa_IR.ts \
- locale/bitcoin_fa.ts \
- locale/bitcoin_fi.ts \
- locale/bitcoin_fr_CA.ts \
- locale/bitcoin_fr.ts \
- locale/bitcoin_gl.ts \
- locale/bitcoin_gu_IN.ts \
- locale/bitcoin_he.ts \
- locale/bitcoin_hi_IN.ts \
- locale/bitcoin_hr.ts \
- locale/bitcoin_hu.ts \
- locale/bitcoin_id_ID.ts \
- locale/bitcoin_it.ts \
- locale/bitcoin_ja.ts \
- locale/bitcoin_ka.ts \
- locale/bitcoin_kk_KZ.ts \
- locale/bitcoin_ko_KR.ts \
- locale/bitcoin_ky.ts \
- locale/bitcoin_la.ts \
- locale/bitcoin_lt.ts \
- locale/bitcoin_lv_LV.ts \
- locale/bitcoin_mn.ts \
- locale/bitcoin_ms_MY.ts \
- locale/bitcoin_nb.ts \
- locale/bitcoin_nl.ts \
- locale/bitcoin_pam.ts \
- locale/bitcoin_pl.ts \
- locale/bitcoin_pt_BR.ts \
- locale/bitcoin_pt_PT.ts \
- locale/bitcoin_ro_RO.ts \
- locale/bitcoin_ru.ts \
- locale/bitcoin_sah.ts \
- locale/bitcoin_sk.ts \
- locale/bitcoin_sl_SI.ts \
- locale/bitcoin_sq.ts \
- locale/bitcoin_sr.ts \
- locale/bitcoin_sv.ts \
- locale/bitcoin_th_TH.ts \
- locale/bitcoin_tr.ts \
- locale/bitcoin_uk.ts \
- locale/bitcoin_ur_PK.ts \
- locale/bitcoin_uz@Cyrl.ts \
- locale/bitcoin_vi.ts \
- locale/bitcoin_vi_VN.ts \
- locale/bitcoin_zh_CN.ts \
- locale/bitcoin_zh_HK.ts \
- locale/bitcoin_zh_TW.ts
-
-QT_FORMS_UI = \
- forms/aboutdialog.ui \
- forms/addressbookpage.ui \
- forms/askpassphrasedialog.ui \
- forms/coincontroldialog.ui \
- forms/editaddressdialog.ui \
- forms/helpmessagedialog.ui \
- forms/intro.ui \
- forms/openuridialog.ui \
- forms/optionsdialog.ui \
- forms/overviewpage.ui \
- forms/receivecoinsdialog.ui \
- forms/receiverequestdialog.ui \
- forms/rpcconsole.ui \
- forms/sendcoinsdialog.ui \
- forms/sendcoinsentry.ui \
- forms/signverifymessagedialog.ui \
- forms/transactiondescdialog.ui
-
-QT_MOC_CPP = \
- moc_addressbookpage.cpp \
- moc_addresstablemodel.cpp \
- moc_askpassphrasedialog.cpp \
- moc_bitcoinaddressvalidator.cpp \
- moc_bitcoinamountfield.cpp \
- moc_bitcoingui.cpp \
- moc_bitcoinunits.cpp \
- moc_clientmodel.cpp \
- moc_coincontroldialog.cpp \
- moc_coincontroltreewidget.cpp \
- moc_csvmodelwriter.cpp \
- moc_editaddressdialog.cpp \
- moc_guiutil.cpp \
- moc_intro.cpp \
- moc_macdockiconhandler.cpp \
- moc_macnotificationhandler.cpp \
- moc_monitoreddatamapper.cpp \
- moc_notificator.cpp \
- moc_openuridialog.cpp \
- moc_optionsdialog.cpp \
- moc_optionsmodel.cpp \
- moc_overviewpage.cpp \
- moc_peertablemodel.cpp \
- moc_paymentserver.cpp \
- moc_qvalidatedlineedit.cpp \
- moc_qvaluecombobox.cpp \
- moc_receivecoinsdialog.cpp \
- moc_receiverequestdialog.cpp \
- moc_recentrequeststablemodel.cpp \
- moc_rpcconsole.cpp \
- moc_sendcoinsdialog.cpp \
- moc_sendcoinsentry.cpp \
- moc_signverifymessagedialog.cpp \
- moc_splashscreen.cpp \
- moc_trafficgraphwidget.cpp \
- moc_transactiondesc.cpp \
- moc_transactiondescdialog.cpp \
- moc_transactionfilterproxy.cpp \
- moc_transactiontablemodel.cpp \
- moc_transactionview.cpp \
- moc_utilitydialog.cpp \
- moc_walletframe.cpp \
- moc_walletmodel.cpp \
- moc_walletview.cpp
-
-BITCOIN_MM = \
- macdockiconhandler.mm \
- macnotificationhandler.mm
-
-QT_MOC = \
- bitcoin.moc \
- intro.moc \
- overviewpage.moc \
- rpcconsole.moc
-
-QT_QRC_CPP = qrc_bitcoin.cpp
-QT_QRC = bitcoin.qrc
-
-PROTOBUF_CC = paymentrequest.pb.cc
-PROTOBUF_H = paymentrequest.pb.h
-PROTOBUF_PROTO = paymentrequest.proto
-
-BITCOIN_QT_H = \
- addressbookpage.h \
- addresstablemodel.h \
- askpassphrasedialog.h \
- bitcoinaddressvalidator.h \
- bitcoinamountfield.h \
- bitcoingui.h \
- bitcoinunits.h \
- clientmodel.h \
- coincontroldialog.h \
- coincontroltreewidget.h \
- csvmodelwriter.h \
- editaddressdialog.h \
- guiconstants.h \
- guiutil.h \
- intro.h \
- macdockiconhandler.h \
- macnotificationhandler.h \
- monitoreddatamapper.h \
- notificator.h \
- openuridialog.h \
- optionsdialog.h \
- optionsmodel.h \
- overviewpage.h \
- paymentrequestplus.h \
- paymentserver.h \
- peertablemodel.h \
- qvalidatedlineedit.h \
- qvaluecombobox.h \
- receivecoinsdialog.h \
- receiverequestdialog.h \
- recentrequeststablemodel.h \
- rpcconsole.h \
- sendcoinsdialog.h \
- sendcoinsentry.h \
- signverifymessagedialog.h \
- splashscreen.h \
- trafficgraphwidget.h \
- transactiondesc.h \
- transactiondescdialog.h \
- transactionfilterproxy.h \
- transactionrecord.h \
- transactiontablemodel.h \
- transactionview.h \
- utilitydialog.h \
- walletframe.h \
- walletmodel.h \
- walletmodeltransaction.h \
- walletview.h \
- winshutdownmonitor.h
-
-RES_ICONS = \
- res/icons/add.png \
- res/icons/address-book.png \
- res/icons/bitcoin.ico \
- res/icons/bitcoin.png \
- res/icons/bitcoin_testnet.ico \
- res/icons/bitcoin_testnet.png \
- res/icons/clock1.png \
- res/icons/clock2.png \
- res/icons/clock3.png \
- res/icons/clock4.png \
- res/icons/clock5.png \
- res/icons/configure.png \
- res/icons/connect0_16.png \
- res/icons/connect1_16.png \
- res/icons/connect2_16.png \
- res/icons/connect3_16.png \
- res/icons/connect4_16.png \
- res/icons/debugwindow.png \
- res/icons/edit.png \
- res/icons/editcopy.png \
- res/icons/editpaste.png \
- res/icons/export.png \
- res/icons/filesave.png \
- res/icons/history.png \
- res/icons/key.png \
- res/icons/lock_closed.png \
- res/icons/lock_open.png \
- res/icons/overview.png \
- res/icons/qrcode.png \
- res/icons/quit.png \
- res/icons/receive.png \
- res/icons/remove.png \
- res/icons/send.png \
- res/icons/synced.png \
- res/icons/toolbar.png \
- res/icons/toolbar_testnet.png \
- res/icons/transaction0.png \
- res/icons/transaction2.png \
- res/icons/transaction_conflicted.png \
- res/icons/tx_inout.png \
- res/icons/tx_input.png \
- res/icons/tx_output.png \
- res/icons/tx_mined.png
-
-BITCOIN_QT_CPP = \
- bitcoin.cpp \
- bitcoinaddressvalidator.cpp \
- bitcoinamountfield.cpp \
- bitcoingui.cpp \
- bitcoinunits.cpp \
- clientmodel.cpp \
- csvmodelwriter.cpp \
- guiutil.cpp \
- intro.cpp \
- monitoreddatamapper.cpp \
- notificator.cpp \
- optionsdialog.cpp \
- optionsmodel.cpp \
- qvalidatedlineedit.cpp \
- qvaluecombobox.cpp \
- rpcconsole.cpp \
- splashscreen.cpp \
- trafficgraphwidget.cpp \
- utilitydialog.cpp \
- winshutdownmonitor.cpp
-
-if ENABLE_WALLET
-BITCOIN_QT_CPP += \
- addressbookpage.cpp \
- addresstablemodel.cpp \
- askpassphrasedialog.cpp \
- coincontroldialog.cpp \
- coincontroltreewidget.cpp \
- editaddressdialog.cpp \
- openuridialog.cpp \
- overviewpage.cpp \
- paymentrequestplus.cpp \
- paymentserver.cpp \
- peertablemodel.cpp \
- receivecoinsdialog.cpp \
- receiverequestdialog.cpp \
- recentrequeststablemodel.cpp \
- sendcoinsdialog.cpp \
- sendcoinsentry.cpp \
- signverifymessagedialog.cpp \
- transactiondesc.cpp \
- transactiondescdialog.cpp \
- transactionfilterproxy.cpp \
- transactionrecord.cpp \
- transactiontablemodel.cpp \
- transactionview.cpp \
- walletframe.cpp \
- walletmodel.cpp \
- walletmodeltransaction.cpp \
- walletview.cpp
-endif
-
-RES_IMAGES = \
- res/images/about.png \
- res/images/splash.png \
- res/images/splash_testnet.png
-
-RES_MOVIES = $(wildcard res/movies/spinner-*.png)
-
-BITCOIN_RC = res/bitcoin-qt-res.rc
-
-libbitcoinqt_a_CPPFLAGS = $(AM_CPPFLAGS) $(QT_INCLUDES) \
- -I$(top_srcdir)/src/qt/forms $(QT_DBUS_INCLUDES)
-libbitcoinqt_a_SOURCES = $(BITCOIN_QT_CPP) $(BITCOIN_QT_H) $(QT_FORMS_UI) \
- $(QT_QRC) $(QT_TS) $(PROTOBUF_PROTO) $(RES_ICONS) $(RES_IMAGES) $(RES_MOVIES)
-
-nodist_libbitcoinqt_a_SOURCES = $(QT_MOC_CPP) $(QT_MOC) $(PROTOBUF_CC) \
- $(PROTOBUF_H) $(QT_QRC_CPP)
-
-BUILT_SOURCES = $(nodist_libbitcoinqt_a_SOURCES)
-
-#Generating these with a half-written protobuf header leads to wacky results.
-#This makes sure it's done.
-$(QT_MOC): $(PROTOBUF_H)
-$(QT_MOC_CPP): $(PROTOBUF_H)
-
-# bitcoin-qt binary #
-bitcoin_qt_CPPFLAGS = $(AM_CPPFLAGS) $(QT_INCLUDES) \
- -I$(top_srcdir)/src/qt/forms
-bitcoin_qt_SOURCES = bitcoin.cpp
-if TARGET_DARWIN
- bitcoin_qt_SOURCES += $(BITCOIN_MM)
-endif
-if TARGET_WINDOWS
- bitcoin_qt_SOURCES += $(BITCOIN_RC)
-endif
-bitcoin_qt_LDADD = libbitcoinqt.a $(LIBBITCOIN_SERVER)
-if ENABLE_WALLET
-bitcoin_qt_LDADD += $(LIBBITCOIN_WALLET)
-endif
-bitcoin_qt_LDADD += $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBLEVELDB) $(LIBMEMENV) \
- $(BOOST_LIBS) $(QT_LIBS) $(QT_DBUS_LIBS) $(QR_LIBS) $(PROTOBUF_LIBS) $(BDB_LIBS)
-bitcoin_qt_LDFLAGS = $(QT_LDFLAGS)
-
-# forms/foo.h -> forms/ui_foo.h
-QT_FORMS_H=$(join $(dir $(QT_FORMS_UI)),$(addprefix ui_, $(notdir $(QT_FORMS_UI:.ui=.h))))
-
-#locale/foo.ts -> locale/foo.qm
-QT_QM=$(QT_TS:.ts=.qm)
-
-.PHONY: FORCE
-.SECONDARY: $(QT_QM)
-
-bitcoinstrings.cpp: FORCE
- $(MAKE) -C $(top_srcdir)/src qt/bitcoinstrings.cpp
-
-translate: bitcoinstrings.cpp $(QT_FORMS_UI) $(QT_FORMS_UI) $(BITCOIN_QT_CPP) $(BITCOIN_QT_H) $(BITCOIN_MM)
- @test -n $(LUPDATE) || echo "lupdate is required for updating translations"
- @QT_SELECT=$(QT_SELECT) $(LUPDATE) $^ -locations relative -no-obsolete -ts locale/bitcoin_en.ts
-
-$(QT_QRC_CPP): $(QT_QRC) $(QT_QM) $(QT_FORMS_H) $(RES_ICONS) $(RES_IMAGES) $(RES_MOVIES) $(PROTOBUF_H)
- @cd $(abs_srcdir); test -f $(RCC) && QT_SELECT=$(QT_SELECT) $(RCC) -name bitcoin -o $(abs_builddir)/$@ $< || \
- echo error: could not build $@
- $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@{.n,}
- $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@{.n,}
-
-CLEANFILES = $(BUILT_SOURCES) $(QT_QM) $(QT_FORMS_H) *.gcda *.gcno
diff --git a/src/qt/coincontroldialog.cpp b/src/qt/coincontroldialog.cpp
index dc9d2afe27..e27f1bff97 100644
--- a/src/qt/coincontroldialog.cpp
+++ b/src/qt/coincontroldialog.cpp
@@ -453,7 +453,7 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog)
CTxOut txout(amount, (CScript)vector<unsigned char>(24, 0));
txDummy.vout.push_back(txout);
- if (txout.IsDust(CTransaction::nMinRelayTxFee))
+ if (txout.IsDust(CTransaction::minRelayTxFee))
fDust = true;
}
}
@@ -525,7 +525,7 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog)
sPriorityLabel = CoinControlDialog::getPriorityLabel(dPriority);
// Fee
- int64_t nFee = nTransactionFee * (1 + (int64_t)nBytes / 1000);
+ int64_t nFee = payTxFee.GetFee(nBytes);
// Min Fee
int64_t nMinFee = GetMinFee(txDummy, nBytes, AllowFree(dPriority), GMF_SEND);
@@ -536,26 +536,11 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog)
{
nChange = nAmount - nPayFee - nPayAmount;
- // if sub-cent change is required, the fee must be raised to at least CTransaction::nMinTxFee
- if (nPayFee < CTransaction::nMinTxFee && nChange > 0 && nChange < CENT)
- {
- if (nChange < CTransaction::nMinTxFee) // change < 0.0001 => simply move all change to fees
- {
- nPayFee += nChange;
- nChange = 0;
- }
- else
- {
- nChange = nChange + nPayFee - CTransaction::nMinTxFee;
- nPayFee = CTransaction::nMinTxFee;
- }
- }
-
// Never create dust outputs; if we would, just add the dust to the fee.
if (nChange > 0 && nChange < CENT)
{
CTxOut txout(nChange, (CScript)vector<unsigned char>(24, 0));
- if (txout.IsDust(CTransaction::nMinRelayTxFee))
+ if (txout.IsDust(CTransaction::minRelayTxFee))
{
nPayFee += nChange;
nChange = 0;
@@ -610,19 +595,19 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog)
// tool tips
QString toolTip1 = tr("This label turns red, if the transaction size is greater than 1000 bytes.") + "<br /><br />";
- toolTip1 += tr("This means a fee of at least %1 per kB is required.").arg(BitcoinUnits::formatWithUnit(nDisplayUnit, CTransaction::nMinTxFee)) + "<br /><br />";
+ toolTip1 += tr("This means a fee of at least %1 per kB is required.").arg(BitcoinUnits::formatWithUnit(nDisplayUnit, CTransaction::minTxFee.GetFeePerK())) + "<br /><br />";
toolTip1 += tr("Can vary +/- 1 byte per input.");
QString toolTip2 = tr("Transactions with higher priority are more likely to get included into a block.") + "<br /><br />";
toolTip2 += tr("This label turns red, if the priority is smaller than \"medium\".") + "<br /><br />";
- toolTip2 += tr("This means a fee of at least %1 per kB is required.").arg(BitcoinUnits::formatWithUnit(nDisplayUnit, CTransaction::nMinTxFee));
+ toolTip2 += tr("This means a fee of at least %1 per kB is required.").arg(BitcoinUnits::formatWithUnit(nDisplayUnit, CTransaction::minTxFee.GetFeePerK()));
QString toolTip3 = tr("This label turns red, if any recipient receives an amount smaller than %1.").arg(BitcoinUnits::formatWithUnit(nDisplayUnit, CENT)) + "<br /><br />";
- toolTip3 += tr("This means a fee of at least %1 is required.").arg(BitcoinUnits::formatWithUnit(nDisplayUnit, CTransaction::nMinTxFee)) + "<br /><br />";
+ toolTip3 += tr("This means a fee of at least %1 is required.").arg(BitcoinUnits::formatWithUnit(nDisplayUnit, CTransaction::minTxFee.GetFeePerK())) + "<br /><br />";
toolTip3 += tr("Amounts below 0.546 times the minimum relay fee are shown as dust.");
QString toolTip4 = tr("This label turns red, if the change is smaller than %1.").arg(BitcoinUnits::formatWithUnit(nDisplayUnit, CENT)) + "<br /><br />";
- toolTip4 += tr("This means a fee of at least %1 is required.").arg(BitcoinUnits::formatWithUnit(nDisplayUnit, CTransaction::nMinTxFee));
+ toolTip4 += tr("This means a fee of at least %1 is required.").arg(BitcoinUnits::formatWithUnit(nDisplayUnit, CTransaction::minTxFee.GetFeePerK()));
l5->setToolTip(toolTip1);
l6->setToolTip(toolTip2);
diff --git a/src/qt/forms/rpcconsole.ui b/src/qt/forms/rpcconsole.ui
index bf737d9b99..1e574e8527 100644
--- a/src/qt/forms/rpcconsole.ui
+++ b/src/qt/forms/rpcconsole.ui
@@ -113,13 +113,39 @@
</widget>
</item>
<item row="4" column="0">
+ <widget class="QLabel" name="label_berkeleyDBVersion">
+ <property name="text">
+ <string>Using BerkeleyDB version</string>
+ </property>
+ <property name="indent">
+ <number>10</number>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="1">
+ <widget class="QLabel" name="berkeleyDBVersion">
+ <property name="cursor">
+ <cursorShape>IBeamCursor</cursorShape>
+ </property>
+ <property name="text">
+ <string>N/A</string>
+ </property>
+ <property name="textFormat">
+ <enum>Qt::PlainText</enum>
+ </property>
+ <property name="textInteractionFlags">
+ <set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="0">
<widget class="QLabel" name="label_12">
<property name="text">
<string>Build date</string>
</property>
</widget>
</item>
- <item row="4" column="1">
+ <item row="5" column="1">
<widget class="QLabel" name="buildDate">
<property name="cursor">
<cursorShape>IBeamCursor</cursorShape>
@@ -135,14 +161,14 @@
</property>
</widget>
</item>
- <item row="5" column="0">
+ <item row="6" column="0">
<widget class="QLabel" name="label_13">
<property name="text">
<string>Startup time</string>
</property>
</widget>
</item>
- <item row="5" column="1">
+ <item row="6" column="1">
<widget class="QLabel" name="startupTime">
<property name="cursor">
<cursorShape>IBeamCursor</cursorShape>
@@ -158,7 +184,7 @@
</property>
</widget>
</item>
- <item row="6" column="0">
+ <item row="7" column="0">
<widget class="QLabel" name="label_11">
<property name="font">
<font>
@@ -171,14 +197,14 @@
</property>
</widget>
</item>
- <item row="7" column="0">
+ <item row="8" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Name</string>
</property>
</widget>
</item>
- <item row="7" column="1">
+ <item row="8" column="1">
<widget class="QLabel" name="networkName">
<property name="cursor">
<cursorShape>IBeamCursor</cursorShape>
@@ -194,14 +220,14 @@
</property>
</widget>
</item>
- <item row="8" column="0">
+ <item row="9" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Number of connections</string>
</property>
</widget>
</item>
- <item row="8" column="1">
+ <item row="9" column="1">
<widget class="QLabel" name="numberOfConnections">
<property name="cursor">
<cursorShape>IBeamCursor</cursorShape>
@@ -217,7 +243,7 @@
</property>
</widget>
</item>
- <item row="9" column="0">
+ <item row="10" column="0">
<widget class="QLabel" name="label_10">
<property name="font">
<font>
@@ -230,14 +256,14 @@
</property>
</widget>
</item>
- <item row="10" column="0">
+ <item row="11" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Current number of blocks</string>
</property>
</widget>
</item>
- <item row="10" column="1">
+ <item row="11" column="1">
<widget class="QLabel" name="numberOfBlocks">
<property name="cursor">
<cursorShape>IBeamCursor</cursorShape>
@@ -253,14 +279,14 @@
</property>
</widget>
</item>
- <item row="11" column="0">
+ <item row="12" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Last block time</string>
</property>
</widget>
</item>
- <item row="11" column="1">
+ <item row="12" column="1">
<widget class="QLabel" name="lastBlockTime">
<property name="cursor">
<cursorShape>IBeamCursor</cursorShape>
@@ -276,7 +302,7 @@
</property>
</widget>
</item>
- <item row="12" column="0">
+ <item row="13" column="0">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
@@ -289,7 +315,7 @@
</property>
</spacer>
</item>
- <item row="13" column="0">
+ <item row="14" column="0">
<widget class="QLabel" name="labelDebugLogfile">
<property name="font">
<font>
@@ -302,7 +328,7 @@
</property>
</widget>
</item>
- <item row="14" column="0">
+ <item row="15" column="0">
<widget class="QPushButton" name="openDebugLogfileButton">
<property name="toolTip">
<string>Open the Bitcoin debug log file from the current data directory. This can take a few seconds for large log files.</string>
@@ -315,7 +341,7 @@
</property>
</widget>
</item>
- <item row="15" column="0">
+ <item row="16" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp
index 1922d228c5..4fe98251d9 100644
--- a/src/qt/guiutil.cpp
+++ b/src/qt/guiutil.cpp
@@ -210,7 +210,7 @@ bool isDust(const QString& address, qint64 amount)
CTxDestination dest = CBitcoinAddress(address.toStdString()).Get();
CScript script; script.SetDestination(dest);
CTxOut txOut(amount, script);
- return txOut.IsDust(CTransaction::nMinRelayTxFee);
+ return txOut.IsDust(CTransaction::minRelayTxFee);
}
QString HtmlEscape(const QString& str, bool fMultiLine)
diff --git a/src/qt/locale/bitcoin_el_GR.ts b/src/qt/locale/bitcoin_el_GR.ts
index 687947e3b9..e957a0088e 100644
--- a/src/qt/locale/bitcoin_el_GR.ts
+++ b/src/qt/locale/bitcoin_el_GR.ts
@@ -3,11 +3,11 @@
<name>AboutDialog</name>
<message>
<source>About Bitcoin Core</source>
- <translation type="unfinished"/>
+ <translation>Σχετικά με το Bitcoin Core</translation>
</message>
<message>
<source>&lt;b&gt;Bitcoin Core&lt;/b&gt; version</source>
- <translation type="unfinished"/>
+ <translation>&lt;b&gt;Bitcoin Core&lt;/b&gt; έκδοση</translation>
</message>
<message>
<source>
@@ -29,11 +29,11 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>The Bitcoin Core developers</source>
- <translation type="unfinished"/>
+ <translation>Οι προγραμματιστές του Bitcoin Core</translation>
</message>
<message>
<source>(%1-bit)</source>
- <translation type="unfinished"/>
+ <translation>(%1-bit)</translation>
</message>
</context>
<context>
@@ -128,11 +128,11 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>Exporting Failed</source>
- <translation type="unfinished"/>
+ <translation>Η εξαγωγή απέτυχε</translation>
</message>
<message>
<source>There was an error trying to save the address list to %1.</source>
- <translation type="unfinished"/>
+ <translation>Παρουσιάστηκε σφάλμα κατά την αποθήκευση της λίστας πορτοφολιών στο %1.</translation>
</message>
</context>
<context>
@@ -438,7 +438,7 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>&amp;About Bitcoin Core</source>
- <translation type="unfinished"/>
+ <translation>&amp;Σχετικά με το Bitcoin Core</translation>
</message>
<message>
<source>Show the list of used sending addresses and labels</source>
@@ -494,11 +494,11 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>%1 and %2</source>
- <translation type="unfinished"/>
+ <translation>%1 και %2</translation>
</message>
<message numerus="yes">
<source>%n year(s)</source>
- <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
+ <translation><numerusform>%n έτος</numerusform><numerusform>%n έτη</numerusform></translation>
</message>
<message>
<source>%1 behind</source>
@@ -608,11 +608,11 @@ Address: %4
</message>
<message>
<source>Change:</source>
- <translation type="unfinished"/>
+ <translation>Ρέστα:</translation>
</message>
<message>
<source>(un)select all</source>
- <translation type="unfinished"/>
+ <translation>(από)επιλογή όλων</translation>
</message>
<message>
<source>Tree mode</source>
@@ -672,7 +672,7 @@ Address: %4
</message>
<message>
<source>Copy quantity</source>
- <translation type="unfinished"/>
+ <translation>Αντιγραφή ποσότητας</translation>
</message>
<message>
<source>Copy fee</source>
@@ -684,11 +684,11 @@ Address: %4
</message>
<message>
<source>Copy bytes</source>
- <translation type="unfinished"/>
+ <translation>Αντιγραφή των byte</translation>
</message>
<message>
<source>Copy priority</source>
- <translation type="unfinished"/>
+ <translation>Αντιγραφή προτεραιότητας</translation>
</message>
<message>
<source>Copy low output</source>
@@ -696,51 +696,51 @@ Address: %4
</message>
<message>
<source>Copy change</source>
- <translation type="unfinished"/>
+ <translation>Αντιγραφή των ρέστων</translation>
</message>
<message>
<source>highest</source>
- <translation type="unfinished"/>
+ <translation>ύψιστη</translation>
</message>
<message>
<source>higher</source>
- <translation type="unfinished"/>
+ <translation>υψηλότερη</translation>
</message>
<message>
<source>high</source>
- <translation type="unfinished"/>
+ <translation>ψηλή</translation>
</message>
<message>
<source>medium-high</source>
- <translation type="unfinished"/>
+ <translation>μεσαία-ψηλή</translation>
</message>
<message>
<source>medium</source>
- <translation type="unfinished"/>
+ <translation>μεσαία</translation>
</message>
<message>
<source>low-medium</source>
- <translation type="unfinished"/>
+ <translation>μεσαία-χαμηλή</translation>
</message>
<message>
<source>low</source>
- <translation type="unfinished"/>
+ <translation>χαμηλή</translation>
</message>
<message>
<source>lower</source>
- <translation type="unfinished"/>
+ <translation>χαμηλότερη</translation>
</message>
<message>
<source>lowest</source>
- <translation type="unfinished"/>
+ <translation>χαμηλότατη</translation>
</message>
<message>
<source>(%1 locked)</source>
- <translation type="unfinished"/>
+ <translation>(%1 κλειδωμένο)</translation>
</message>
<message>
<source>none</source>
- <translation type="unfinished"/>
+ <translation>κανένα</translation>
</message>
<message>
<source>Dust</source>
@@ -796,11 +796,12 @@ Address: %4
</message>
<message>
<source>change from %1 (%2)</source>
- <translation type="unfinished"/>
+ <translation>ρέστα από %1 (%2) </translation>
</message>
<message>
<source>(change)</source>
- <translation type="unfinished"/>
+ <translation>(ρέστα)
+</translation>
</message>
</context>
<context>
@@ -815,7 +816,7 @@ Address: %4
</message>
<message>
<source>The label associated with this address list entry</source>
- <translation type="unfinished"/>
+ <translation>Η ετικέτα που συνδέεται με αυτήν την καταχώρηση στο βιβλίο διευθύνσεων</translation>
</message>
<message>
<source>The address associated with this address list entry. This can only be modified for sending addresses.</source>
@@ -936,11 +937,11 @@ Address: %4
</message>
<message>
<source>Welcome to Bitcoin Core.</source>
- <translation type="unfinished"/>
+ <translation>Καλώς ήρθατε στο Bitcoin Core.</translation>
</message>
<message>
<source>As this is the first time the program is launched, you can choose where Bitcoin Core will store its data.</source>
- <translation type="unfinished"/>
+ <translation>Καθώς αυτή είναι η πρώτη φορά που εκκινείται το πρόγραμμα, μπορείτε να διαλέξετε πού θα αποθηκεύει το Bitcoin Core τα δεδομένα του.</translation>
</message>
<message>
<source>Bitcoin Core will download and store a copy of the Bitcoin block chain. At least %1GB of data will be stored in this directory, and it will grow over time. The wallet will also be stored in this directory.</source>
@@ -1030,7 +1031,7 @@ Address: %4
</message>
<message>
<source>MB</source>
- <translation type="unfinished"/>
+ <translation>MB</translation>
</message>
<message>
<source>Number of script &amp;verification threads</source>
@@ -1082,7 +1083,7 @@ Address: %4
</message>
<message>
<source>Expert</source>
- <translation type="unfinished"/>
+ <translation>Έμπειρος</translation>
</message>
<message>
<source>Enable coin &amp;control features</source>
@@ -1190,7 +1191,7 @@ Address: %4
</message>
<message>
<source>none</source>
- <translation type="unfinished"/>
+ <translation>κανένα</translation>
</message>
<message>
<source>Confirm options reset</source>
@@ -1198,7 +1199,7 @@ Address: %4
</message>
<message>
<source>Client restart required to activate changes.</source>
- <translation type="unfinished"/>
+ <translation>Χρειάζεται επανεκκίνηση του προγράμματος για να ενεργοποιηθούν οι αλλαγές.</translation>
</message>
<message>
<source>Client will be shutdown, do you want to proceed?</source>
@@ -1229,7 +1230,7 @@ Address: %4
</message>
<message>
<source>Available:</source>
- <translation type="unfinished"/>
+ <translation>Διαθέσιμο:</translation>
</message>
<message>
<source>Your current spendable balance</source>
@@ -1370,11 +1371,11 @@ Address: %4
<name>QRImageWidget</name>
<message>
<source>&amp;Save Image...</source>
- <translation type="unfinished"/>
+ <translation>&amp;Αποθήκευση εικόνας...</translation>
</message>
<message>
<source>&amp;Copy Image</source>
- <translation type="unfinished"/>
+ <translation>&amp;Αντιγραφή εικόνας</translation>
</message>
<message>
<source>Save QR Code</source>
@@ -1409,7 +1410,7 @@ Address: %4
</message>
<message>
<source>General</source>
- <translation type="unfinished"/>
+ <translation>Γενικά</translation>
</message>
<message>
<source>Using OpenSSL version</source>
@@ -1425,7 +1426,7 @@ Address: %4
</message>
<message>
<source>Name</source>
- <translation type="unfinished"/>
+ <translation>Όνομα</translation>
</message>
<message>
<source>Number of connections</source>
@@ -1457,11 +1458,11 @@ Address: %4
</message>
<message>
<source>&amp;Network Traffic</source>
- <translation type="unfinished"/>
+ <translation>&amp;Κίνηση δικτύου</translation>
</message>
<message>
<source>&amp;Clear</source>
- <translation type="unfinished"/>
+ <translation>&amp;Εκκαθάριση</translation>
</message>
<message>
<source>Totals</source>
@@ -1536,7 +1537,7 @@ Address: %4
<name>ReceiveCoinsDialog</name>
<message>
<source>&amp;Amount:</source>
- <translation type="unfinished"/>
+ <translation>&amp;Ποσό:</translation>
</message>
<message>
<source>&amp;Label:</source>
@@ -1544,7 +1545,7 @@ Address: %4
</message>
<message>
<source>&amp;Message:</source>
- <translation type="unfinished"/>
+ <translation>&amp;Μήνυμα:</translation>
</message>
<message>
<source>Reuse one of the previously used receiving addresses. Reusing addresses has security and privacy issues. Do not use this unless re-generating a payment request made before.</source>
@@ -1584,7 +1585,7 @@ Address: %4
</message>
<message>
<source>&amp;Request payment</source>
- <translation type="unfinished"/>
+ <translation>&amp;Αίτηση πληρωμής</translation>
</message>
<message>
<source>Show the selected request (does the same as double clicking an entry)</source>
@@ -1608,7 +1609,7 @@ Address: %4
</message>
<message>
<source>Copy message</source>
- <translation type="unfinished"/>
+ <translation>Αντιγραφή μηνύματος</translation>
</message>
<message>
<source>Copy amount</source>
@@ -1631,7 +1632,7 @@ Address: %4
</message>
<message>
<source>&amp;Save Image...</source>
- <translation type="unfinished"/>
+ <translation>&amp;Αποθήκευση εικόνας...</translation>
</message>
<message>
<source>Request payment to %1</source>
@@ -1698,7 +1699,7 @@ Address: %4
</message>
<message>
<source>(no amount)</source>
- <translation type="unfinished"/>
+ <translation>(κανένα ποσό)</translation>
</message>
</context>
<context>
@@ -1717,7 +1718,7 @@ Address: %4
</message>
<message>
<source>automatically selected</source>
- <translation type="unfinished"/>
+ <translation>επιλεγμένο αυτόματα</translation>
</message>
<message>
<source>Insufficient funds!</source>
@@ -1753,7 +1754,7 @@ Address: %4
</message>
<message>
<source>Change:</source>
- <translation type="unfinished"/>
+ <translation>Ρέστα:</translation>
</message>
<message>
<source>If this is activated, but the change address is empty or invalid, change will be sent to a newly generated address.</source>
@@ -1801,7 +1802,7 @@ Address: %4
</message>
<message>
<source>Copy quantity</source>
- <translation type="unfinished"/>
+ <translation>Αντιγραφή ποσότητας</translation>
</message>
<message>
<source>Copy amount</source>
@@ -1817,11 +1818,11 @@ Address: %4
</message>
<message>
<source>Copy bytes</source>
- <translation type="unfinished"/>
+ <translation>Αντιγραφή των byte</translation>
</message>
<message>
<source>Copy priority</source>
- <translation type="unfinished"/>
+ <translation>Αντιγραφή προτεραιότητας</translation>
</message>
<message>
<source>Copy low output</source>
@@ -1829,15 +1830,15 @@ Address: %4
</message>
<message>
<source>Copy change</source>
- <translation type="unfinished"/>
+ <translation>Αντιγραφή των ρέστων</translation>
</message>
<message>
<source>Total Amount %1 (= %2)</source>
- <translation type="unfinished"/>
+ <translation>Ολικό Ποσό %1 (= %2)</translation>
</message>
<message>
<source>or</source>
- <translation type="unfinished"/>
+ <translation>ή</translation>
</message>
<message>
<source>The recipient address is not valid, please recheck.</source>
@@ -1940,7 +1941,7 @@ Address: %4
</message>
<message>
<source>Remove this entry</source>
- <translation type="unfinished"/>
+ <translation>Αφαίρεση αυτής της καταχώρησης</translation>
</message>
<message>
<source>Message:</source>
@@ -1975,11 +1976,11 @@ Address: %4
<name>ShutdownWindow</name>
<message>
<source>Bitcoin Core is shutting down...</source>
- <translation type="unfinished"/>
+ <translation>Το Bitcoin Core τερματίζεται...</translation>
</message>
<message>
<source>Do not shut down the computer until this window disappears.</source>
- <translation type="unfinished"/>
+ <translation>Μην απενεργοποιήσετε τον υπολογιστή μέχρι να κλείσει αυτό το παράθυρο.</translation>
</message>
</context>
<context>
@@ -2133,7 +2134,7 @@ Address: %4
</message>
<message>
<source>The Bitcoin Core developers</source>
- <translation type="unfinished"/>
+ <translation>Οι προγραμματιστές του Bitcoin Core</translation>
</message>
<message>
<source>[testnet]</source>
@@ -2341,11 +2342,11 @@ Address: %4
</message>
<message>
<source>Offline</source>
- <translation type="unfinished"/>
+ <translation>Offline</translation>
</message>
<message>
<source>Unconfirmed</source>
- <translation type="unfinished"/>
+ <translation>Ανεπιβεβαίωτες</translation>
</message>
<message>
<source>Confirming (%1 of %2 recommended confirmations)</source>
@@ -2484,19 +2485,19 @@ Address: %4
</message>
<message>
<source>Export Transaction History</source>
- <translation type="unfinished"/>
+ <translation>Εξαγωγή Ιστορικού Συναλλαγών</translation>
</message>
<message>
<source>Exporting Failed</source>
- <translation type="unfinished"/>
+ <translation>Η Εξαγωγή Απέτυχε</translation>
</message>
<message>
<source>There was an error trying to save the transaction history to %1.</source>
- <translation type="unfinished"/>
+ <translation>Yπήρξε σφάλμα κατά την προσπάθεια αποθήκευσης του ιστορικού συναλλαγών στο %1.</translation>
</message>
<message>
<source>Exporting Successful</source>
- <translation type="unfinished"/>
+ <translation>Επιτυχής εξαγωγή</translation>
</message>
<message>
<source>The transaction history was successfully saved to %1.</source>
@@ -2547,7 +2548,7 @@ Address: %4
<name>WalletFrame</name>
<message>
<source>No wallet has been loaded.</source>
- <translation type="unfinished"/>
+ <translation>Δεν έχει φορτωθεί πορτοφόλι</translation>
</message>
</context>
<context>
@@ -2585,7 +2586,7 @@ Address: %4
</message>
<message>
<source>The wallet data was successfully saved to %1.</source>
- <translation type="unfinished"/>
+ <translation>Τα δεδομένα πορτοφολιού αποθηκεύτηκαν με επιτυχία στο %1.</translation>
</message>
<message>
<source>Backup Successful</source>
@@ -2801,11 +2802,11 @@ for example: alertnotify=echo %%s | mail -s &quot;Bitcoin Alert&quot; admin@foo.
</message>
<message>
<source>(default: 1)</source>
- <translation type="unfinished"/>
+ <translation>(προεπιλογή: 1)</translation>
</message>
<message>
<source>(default: wallet.dat)</source>
- <translation type="unfinished"/>
+ <translation>(προεπιλογή: wallet.dat)</translation>
</message>
<message>
<source>&lt;category&gt; can be:</source>
@@ -2841,7 +2842,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Bitcoin Alert&quot; admin@foo.
</message>
<message>
<source>Connection options:</source>
- <translation type="unfinished"/>
+ <translation>Επιλογές σύνδεσης:</translation>
</message>
<message>
<source>Corrupted block database detected</source>
@@ -3045,7 +3046,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Bitcoin Alert&quot; admin@foo.
</message>
<message>
<source>Wallet options:</source>
- <translation type="unfinished"/>
+ <translation>Επιλογές πορτοφολιού:</translation>
</message>
<message>
<source>Warning: Deprecated argument -debugnet ignored, use -debug=net</source>
@@ -3229,7 +3230,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Bitcoin Alert&quot; admin@foo.
</message>
<message>
<source>on startup</source>
- <translation type="unfinished"/>
+ <translation>κατά την εκκίνηση</translation>
</message>
<message>
<source>version</source>
diff --git a/src/qt/locale/bitcoin_sl_SI.ts b/src/qt/locale/bitcoin_sl_SI.ts
index 1a46c6ae6c..2ad31e911b 100644
--- a/src/qt/locale/bitcoin_sl_SI.ts
+++ b/src/qt/locale/bitcoin_sl_SI.ts
@@ -344,7 +344,7 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>Modify configuration options for Bitcoin</source>
- <translation type="unfinished"/>
+ <translation>Spremeni konfiguracijo nastavitev za Bitcoin</translation>
</message>
<message>
<source>Backup wallet to another location</source>
@@ -1144,7 +1144,7 @@ Naslov: %4
</message>
<message>
<source>User Interface &amp;language:</source>
- <translation type="unfinished"/>
+ <translation>Vmesnik uporabnika &amp;jezik:</translation>
</message>
<message>
<source>The user interface language can be set here. This setting will take effect after restarting Bitcoin.</source>
@@ -1487,11 +1487,11 @@ Naslov: %4
</message>
<message>
<source>Welcome to the Bitcoin RPC console.</source>
- <translation type="unfinished"/>
+ <translation>Dobrodošli na Bitcoin RPC konzoli.</translation>
</message>
<message>
<source>Use up and down arrows to navigate history, and &lt;b&gt;Ctrl-L&lt;/b&gt; to clear screen.</source>
- <translation type="unfinished"/>
+ <translation>Uporabi puščice za gor in dol za navigacijo po zgodovini in &lt;b&gt;Ctrl-L&lt;/b&gt; za izbris izpisa na ekranu.</translation>
</message>
<message>
<source>Type &lt;b&gt;help&lt;/b&gt; for an overview of available commands.</source>
@@ -1847,7 +1847,7 @@ Naslov: %4
</message>
<message>
<source>The total exceeds your balance when the %1 transaction fee is included.</source>
- <translation type="unfinished"/>
+ <translation>Celotni znesek presega vaše stanje, ko je zaračunana 1% provizija.</translation>
</message>
<message>
<source>Duplicate address found, can only send to each address once per send operation.</source>
@@ -2626,7 +2626,7 @@ Naslov: %4
</message>
<message>
<source>Connect to a node to retrieve peer addresses, and disconnect</source>
- <translation type="unfinished"/>
+ <translation>Povežite se z vozliščem za pridobitev naslovov uporabnikov in nato prekinite povezavo.</translation>
</message>
<message>
<source>Specify your own public address</source>
@@ -2638,7 +2638,7 @@ Naslov: %4
</message>
<message>
<source>Number of seconds to keep misbehaving peers from reconnecting (default: 86400)</source>
- <translation type="unfinished"/>
+ <translation>Število sekund za težavo pri vzpostavitvi povezave med uporabniki (privzeto: 86400)</translation>
</message>
<message>
<source>An error occurred while setting up the RPC port %u for listening on IPv4: %s</source>
@@ -3268,11 +3268,11 @@ for example: alertnotify=echo %%s | mail -s &quot;Bitcoin Alert&quot; admin@foo.
</message>
<message>
<source>Unable to bind to %s on this computer (bind returned error %d, %s)</source>
- <translation type="unfinished"/>
+ <translation>Nemogoče je povezati s/z %s na tem računalniku (povezava je vrnila napaka %d, %s)</translation>
</message>
<message>
<source>Allow DNS lookups for -addnode, -seednode and -connect</source>
- <translation type="unfinished"/>
+ <translation>Omogoči DNS poizvedbe za -addnode, -seednode in -connect.</translation>
</message>
<message>
<source>Loading addresses...</source>
@@ -3296,27 +3296,27 @@ for example: alertnotify=echo %%s | mail -s &quot;Bitcoin Alert&quot; admin@foo.
</message>
<message>
<source>Invalid -proxy address: &apos;%s&apos;</source>
- <translation type="unfinished"/>
+ <translation>Neveljaven -proxy naslov: &apos;%s&apos;</translation>
</message>
<message>
<source>Unknown network specified in -onlynet: &apos;%s&apos;</source>
- <translation type="unfinished"/>
+ <translation>Neznano omrežje določeno v -onlynet: &apos;%s&apos;.</translation>
</message>
<message>
<source>Unknown -socks proxy version requested: %i</source>
- <translation type="unfinished"/>
+ <translation>Neznano -socks zahtevan zastopnik različice: %i</translation>
</message>
<message>
<source>Cannot resolve -bind address: &apos;%s&apos;</source>
- <translation type="unfinished"/>
+ <translation>Nemogoče rešiti -bind naslova: &apos;%s&apos;</translation>
</message>
<message>
<source>Cannot resolve -externalip address: &apos;%s&apos;</source>
- <translation type="unfinished"/>
+ <translation>Nemogoče rešiti -externalip naslova: &apos;%s&apos;</translation>
</message>
<message>
<source>Invalid amount for -paytxfee=&lt;amount&gt;: &apos;%s&apos;</source>
- <translation type="unfinished"/>
+ <translation>Neveljavna količina za -paytxfee=&lt;amount&gt;: &apos;%s&apos;</translation>
</message>
<message>
<source>Invalid amount</source>
@@ -3344,7 +3344,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Bitcoin Alert&quot; admin@foo.
</message>
<message>
<source>Cannot write default address</source>
- <translation type="unfinished"/>
+ <translation>Ni mogoče zapisati privzetega naslova</translation>
</message>
<message>
<source>Rescanning...</source>
@@ -3356,7 +3356,7 @@ for example: alertnotify=echo %%s | mail -s &quot;Bitcoin Alert&quot; admin@foo.
</message>
<message>
<source>To use the %s option</source>
- <translation type="unfinished"/>
+ <translation>Za uporabo %s opcije</translation>
</message>
<message>
<source>Error</source>
@@ -3366,7 +3366,9 @@ for example: alertnotify=echo %%s | mail -s &quot;Bitcoin Alert&quot; admin@foo.
<source>You must set rpcpassword=&lt;password&gt; in the configuration file:
%s
If the file does not exist, create it with owner-readable-only file permissions.</source>
- <translation type="unfinished"/>
+ <translation>Potrebno je nastaviti rpcpassword=&lt;password&gt; v nastavitveni datoteki:
+%s
+Če datoteka ne obstaja jo ustvarite z dovoljenjem, da jo lahko bere samo uporabnik.</translation>
</message>
</context>
</TS> \ No newline at end of file
diff --git a/src/qt/locale/bitcoin_th_TH.ts b/src/qt/locale/bitcoin_th_TH.ts
index 96c49b12d0..54e15a75e0 100644
--- a/src/qt/locale/bitcoin_th_TH.ts
+++ b/src/qt/locale/bitcoin_th_TH.ts
@@ -35,7 +35,7 @@ This product includes software developed by the OpenSSL Project for use in the O
<name>AddressBookPage</name>
<message>
<source>Double-click to edit address or label</source>
- <translation>ดับเบิลคลิก เพื่อแก้ไขที่อยู่ หรือชื่อ</translation>
+ <translation>ดับเบิ้ลคลิก เพื่อแก้ไขที่อยู่ หรือชื่อ</translation>
</message>
<message>
<source>Create a new address</source>
@@ -75,7 +75,7 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>&amp;Delete</source>
- <translation>ลบ</translation>
+ <translation>&amp;ลบ</translation>
</message>
<message>
<source>Choose the address to send coins to</source>
@@ -119,7 +119,7 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>Comma separated file (*.csv)</source>
- <translation type="unfinished"/>
+ <translation>คั่นไฟล์ด้วยเครื่องหมายจุลภาค (*.csv)</translation>
</message>
<message>
<source>Exporting Failed</source>
@@ -165,7 +165,7 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>Enter the new passphrase to the wallet.&lt;br/&gt;Please use a passphrase of &lt;b&gt;10 or more random characters&lt;/b&gt;, or &lt;b&gt;eight or more words&lt;/b&gt;.</source>
- <translation type="unfinished"/>
+ <translation>ใส่รหัสผ่านใหม่ให้กับกระเป๋าเงิน. &lt;br/&gt; กรุณาใช้รหัสผ่านของ &lt;b&gt; 10 หรือแบบสุ่มมากกว่าตัวอักษร &lt;/ b&gt; หรือ &lt;b&gt; แปดหรือมากกว่าคำ &lt;/ b&gt;</translation>
</message>
<message>
<source>Encrypt wallet</source>
@@ -173,7 +173,7 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>This operation needs your wallet passphrase to unlock the wallet.</source>
- <translation type="unfinished"/>
+ <translation>การดำเนินการนี้ต้องมีรหัสผ่านกระเป๋าเงินของคุณเพื่อปลดล็อคกระเป๋าเงิน</translation>
</message>
<message>
<source>Unlock wallet</source>
@@ -181,7 +181,7 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>This operation needs your wallet passphrase to decrypt the wallet.</source>
- <translation type="unfinished"/>
+ <translation>การดำเนินการนี้ต้องมีรหัสผ่านกระเป๋าเงินของคุณในการถอดรหัสกระเป๋าเงิน</translation>
</message>
<message>
<source>Decrypt wallet</source>
@@ -229,7 +229,7 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>Wallet encryption failed due to an internal error. Your wallet was not encrypted.</source>
- <translation type="unfinished"/>
+ <translation>กระเป๋าเงินเข้ารหัสล้มเหลวเนื่องจากข้อผิดพลาดภายใน กระเป๋าเงินของคุณไม่ได้เข้ารหัส</translation>
</message>
<message>
<source>The supplied passphrases do not match.</source>
@@ -237,15 +237,15 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>Wallet unlock failed</source>
- <translation type="unfinished"/>
+ <translation>ปลดล็อคกระเป๋าเงินล้มเหลว</translation>
</message>
<message>
<source>The passphrase entered for the wallet decryption was incorrect.</source>
- <translation type="unfinished"/>
+ <translation>ป้อนรหัสผ่านสำหรับการถอดรหัสกระเป๋าเงินไม่ถูกต้อง</translation>
</message>
<message>
<source>Wallet decryption failed</source>
- <translation type="unfinished"/>
+ <translation>ถอดรหัสกระเป๋าเงินล้มเหลว</translation>
</message>
<message>
<source>Wallet passphrase was successfully changed.</source>
@@ -260,11 +260,11 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>Synchronizing with network...</source>
- <translation type="unfinished"/>
+ <translation>กำลังทำข้อมูลให้ตรงกันกับเครือข่าย ...</translation>
</message>
<message>
<source>&amp;Overview</source>
- <translation type="unfinished"/>
+ <translation>&amp;ภาพรวม</translation>
</message>
<message>
<source>Node</source>
@@ -272,15 +272,15 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>Show general overview of wallet</source>
- <translation type="unfinished"/>
+ <translation>แสดงภาพรวมทั่วไปของกระเป๋าเงิน</translation>
</message>
<message>
<source>&amp;Transactions</source>
- <translation type="unfinished"/>
+ <translation>&amp;การทำรายการ</translation>
</message>
<message>
<source>Browse transaction history</source>
- <translation type="unfinished"/>
+ <translation>เรียกดูประวัติการทำธุรกรรม</translation>
</message>
<message>
<source>E&amp;xit</source>
@@ -288,11 +288,11 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>Quit application</source>
- <translation type="unfinished"/>
+ <translation>ออกจากโปรแกรม</translation>
</message>
<message>
<source>Show information about Bitcoin</source>
- <translation type="unfinished"/>
+ <translation>แสดงข้อมูลเกี่ยวกับ Bitcoin</translation>
</message>
<message>
<source>About &amp;Qt</source>
@@ -304,7 +304,7 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>&amp;Options...</source>
- <translation type="unfinished"/>
+ <translation>&amp;ตัวเลือก...</translation>
</message>
<message>
<source>&amp;Encrypt Wallet...</source>
@@ -352,7 +352,7 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>Change the passphrase used for wallet encryption</source>
- <translation type="unfinished"/>
+ <translation>เปลี่ยนรหัสผ่านที่ใช้สำหรับการเข้ารหัสกระเป๋าเงิน</translation>
</message>
<message>
<source>&amp;Debug window</source>
@@ -404,23 +404,23 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>&amp;File</source>
- <translation type="unfinished"/>
+ <translation>&amp;ไฟล์</translation>
</message>
<message>
<source>&amp;Settings</source>
- <translation type="unfinished"/>
+ <translation>&amp;การตั้งค่า</translation>
</message>
<message>
<source>&amp;Help</source>
- <translation type="unfinished"/>
+ <translation>&amp;ช่วยเหลือ</translation>
</message>
<message>
<source>Tabs toolbar</source>
- <translation type="unfinished"/>
+ <translation>แถบเครื่องมือ</translation>
</message>
<message>
<source>[testnet]</source>
- <translation type="unfinished"/>
+ <translation>[testnet]</translation>
</message>
<message>
<source>Bitcoin Core</source>
@@ -460,7 +460,7 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message numerus="yes">
<source>%n active connection(s) to Bitcoin network</source>
- <translation type="unfinished"><numerusform></numerusform></translation>
+ <translation><numerusform>%n ที่ใช้งานการเชื่อมต่อกับเครือข่าย Bitcoin</numerusform></translation>
</message>
<message>
<source>No block source available...</source>
@@ -520,19 +520,19 @@ This product includes software developed by the OpenSSL Project for use in the O
</message>
<message>
<source>Up to date</source>
- <translation type="unfinished"/>
+ <translation>ทันสมัย</translation>
</message>
<message>
<source>Catching up...</source>
- <translation type="unfinished"/>
+ <translation>จับได้...</translation>
</message>
<message>
<source>Sent transaction</source>
- <translation type="unfinished"/>
+ <translation>รายการที่ส่ง</translation>
</message>
<message>
<source>Incoming transaction</source>
- <translation type="unfinished"/>
+ <translation>การทำรายการขาเข้า</translation>
</message>
<message>
<source>Date: %1
@@ -544,11 +544,11 @@ Address: %4
</message>
<message>
<source>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;unlocked&lt;/b&gt;</source>
- <translation type="unfinished"/>
+ <translation>ระเป๋าเงินถูก &lt;b&gt;เข้ารหัส&lt;/b&gt; และในขณะนี้ &lt;b&gt;ปลดล็อคแล้ว&lt;/b&gt;</translation>
</message>
<message>
<source>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;locked&lt;/b&gt;</source>
- <translation type="unfinished"/>
+ <translation>กระเป๋าเงินถูก &lt;b&gt;เข้ารหัส&lt;/b&gt; และในปัจจุบัน &lt;b&gt;ล็อค &lt;/b&gt;</translation>
</message>
<message>
<source>A fatal error occurred. Bitcoin can no longer continue safely and will quit.</source>
@@ -797,11 +797,11 @@ Address: %4
<name>EditAddressDialog</name>
<message>
<source>Edit Address</source>
- <translation type="unfinished"/>
+ <translation>แก้ไขที่อยู่</translation>
</message>
<message>
<source>&amp;Label</source>
- <translation type="unfinished"/>
+ <translation>&amp;ชื่อ</translation>
</message>
<message>
<source>The label associated with this address list entry</source>
@@ -813,27 +813,27 @@ Address: %4
</message>
<message>
<source>&amp;Address</source>
- <translation type="unfinished"/>
+ <translation>&amp;ที่อยู่</translation>
</message>
<message>
<source>New receiving address</source>
- <translation type="unfinished"/>
+ <translation>ที่อยู่ผู้รับใหม่</translation>
</message>
<message>
<source>New sending address</source>
- <translation type="unfinished"/>
+ <translation>ที่อยู่ผู้ส่งใหม่</translation>
</message>
<message>
<source>Edit receiving address</source>
- <translation type="unfinished"/>
+ <translation>แก้ไขที่อยู่ผู้รับ</translation>
</message>
<message>
<source>Edit sending address</source>
- <translation type="unfinished"/>
+ <translation>แก้ไขที่อยู่ผู้ส่ง</translation>
</message>
<message>
<source>The entered address &quot;%1&quot; is already in the address book.</source>
- <translation type="unfinished"/>
+ <translation>ป้อนที่อยู่ &quot;%1&quot; ที่มีอยู่แล้วในสมุดที่อยู่</translation>
</message>
<message>
<source>The entered address &quot;%1&quot; is not a valid Bitcoin address.</source>
@@ -841,11 +841,11 @@ Address: %4
</message>
<message>
<source>Could not unlock wallet.</source>
- <translation type="unfinished"/>
+ <translation>ไม่สามารถปลดล็อคกระเป๋าเงิน</translation>
</message>
<message>
<source>New key generation failed.</source>
- <translation type="unfinished"/>
+ <translation>สร้างกุญแจใหม่ล้มเหลว</translation>
</message>
</context>
<context>
@@ -992,7 +992,7 @@ Address: %4
<name>OptionsDialog</name>
<message>
<source>Options</source>
- <translation type="unfinished"/>
+ <translation>ตัวเลือก</translation>
</message>
<message>
<source>&amp;Main</source>
@@ -1207,7 +1207,7 @@ Address: %4
<name>OverviewPage</name>
<message>
<source>Form</source>
- <translation type="unfinished"/>
+ <translation>รูป</translation>
</message>
<message>
<source>The displayed information may be out of date. Your wallet automatically synchronizes with the Bitcoin network after a connection is established, but this process has not completed yet.</source>
@@ -1251,7 +1251,7 @@ Address: %4
</message>
<message>
<source>&lt;b&gt;Recent transactions&lt;/b&gt;</source>
- <translation type="unfinished"/>
+ <translation>&lt;b&gt;รายการทำธุรกรรมล่าสุด&lt;/b&gt;</translation>
</message>
<message>
<source>out of sync</source>
@@ -1695,7 +1695,7 @@ Address: %4
<name>SendCoinsDialog</name>
<message>
<source>Send Coins</source>
- <translation type="unfinished"/>
+ <translation>ส่งเหรียญ</translation>
</message>
<message>
<source>Coin Control Features</source>
@@ -2127,7 +2127,7 @@ Address: %4
</message>
<message>
<source>[testnet]</source>
- <translation type="unfinished"/>
+ <translation>[testnet]</translation>
</message>
</context>
<context>
@@ -2494,7 +2494,7 @@ Address: %4
</message>
<message>
<source>Comma separated file (*.csv)</source>
- <translation type="unfinished"/>
+ <translation>คั่นไฟล์ด้วยเครื่องหมายจุลภาค (*.csv)</translation>
</message>
<message>
<source>Confirmed</source>
@@ -2544,7 +2544,7 @@ Address: %4
<name>WalletModel</name>
<message>
<source>Send Coins</source>
- <translation type="unfinished"/>
+ <translation>ส่งเหรียญ</translation>
</message>
</context>
<context>
diff --git a/src/qt/optionsdialog.cpp b/src/qt/optionsdialog.cpp
index 96464d2cc0..1cbf5f8810 100644
--- a/src/qt/optionsdialog.cpp
+++ b/src/qt/optionsdialog.cpp
@@ -14,7 +14,7 @@
#include "monitoreddatamapper.h"
#include "optionsmodel.h"
-#include "main.h" // for CTransaction::nMinTxFee and MAX_SCRIPTCHECK_THREADS
+#include "main.h" // for CTransaction::minTxFee and MAX_SCRIPTCHECK_THREADS
#include "netbase.h"
#include "txdb.h" // for -dbcache defaults
@@ -101,7 +101,7 @@ OptionsDialog::OptionsDialog(QWidget *parent) :
#endif
ui->unit->setModel(new BitcoinUnits(this));
- ui->transactionFee->setSingleStep(CTransaction::nMinTxFee);
+ ui->transactionFee->setSingleStep(CTransaction::minTxFee.GetFeePerK());
/* Widget-to-option mapper */
mapper = new MonitoredDataMapper(this);
diff --git a/src/qt/optionsmodel.cpp b/src/qt/optionsmodel.cpp
index 051098315d..f3a5f37bb3 100644
--- a/src/qt/optionsmodel.cpp
+++ b/src/qt/optionsmodel.cpp
@@ -94,7 +94,7 @@ void OptionsModel::Init()
#ifdef ENABLE_WALLET
if (!settings.contains("nTransactionFee"))
settings.setValue("nTransactionFee", (qint64)DEFAULT_TRANSACTION_FEE);
- nTransactionFee = settings.value("nTransactionFee").toLongLong(); // if -paytxfee is set, this will be overridden later in init.cpp
+ payTxFee = CFeeRate(settings.value("nTransactionFee").toLongLong()); // if -paytxfee is set, this will be overridden later in init.cpp
if (mapArgs.count("-paytxfee"))
addOverriddenOption("-paytxfee");
@@ -187,15 +187,16 @@ QVariant OptionsModel::data(const QModelIndex & index, int role) const
return settings.value("nSocksVersion", 5);
#ifdef ENABLE_WALLET
- case Fee:
- // Attention: Init() is called before nTransactionFee is set in AppInit2()!
+ case Fee: {
+ // Attention: Init() is called before payTxFee is set in AppInit2()!
// To ensure we can change the fee on-the-fly update our QSetting when
// opening OptionsDialog, which queries Fee via the mapper.
- if (nTransactionFee != settings.value("nTransactionFee").toLongLong())
- settings.setValue("nTransactionFee", (qint64)nTransactionFee);
- // Todo: Consider to revert back to use just nTransactionFee here, if we don't want
+ if (!(payTxFee == CFeeRate(settings.value("nTransactionFee").toLongLong(), 1000)))
+ settings.setValue("nTransactionFee", (qint64)payTxFee.GetFeePerK());
+ // Todo: Consider to revert back to use just payTxFee here, if we don't want
// -paytxfee to update our QSettings!
return settings.value("nTransactionFee");
+ }
case SpendZeroConfChange:
return settings.value("bSpendZeroConfChange");
#endif
@@ -284,12 +285,14 @@ bool OptionsModel::setData(const QModelIndex & index, const QVariant & value, in
}
break;
#ifdef ENABLE_WALLET
- case Fee: // core option - can be changed on-the-fly
+ case Fee: { // core option - can be changed on-the-fly
// Todo: Add is valid check and warn via message, if not
- nTransactionFee = value.toLongLong();
- settings.setValue("nTransactionFee", (qint64)nTransactionFee);
+ qint64 nTransactionFee = value.toLongLong();
+ payTxFee = CFeeRate(nTransactionFee, 1000);
+ settings.setValue("nTransactionFee", nTransactionFee);
emit transactionFeeChanged(nTransactionFee);
break;
+ }
case SpendZeroConfChange:
if (settings.value("bSpendZeroConfChange") != value) {
settings.setValue("bSpendZeroConfChange", value);
diff --git a/src/qt/paymentserver.cpp b/src/qt/paymentserver.cpp
index 20551591c3..9241f9dc3c 100644
--- a/src/qt/paymentserver.cpp
+++ b/src/qt/paymentserver.cpp
@@ -561,7 +561,7 @@ bool PaymentServer::processPaymentRequest(PaymentRequestPlus& request, SendCoins
// Extract and check amounts
CTxOut txOut(sendingTo.second, sendingTo.first);
- if (txOut.IsDust(CTransaction::nMinRelayTxFee)) {
+ if (txOut.IsDust(CTransaction::minRelayTxFee)) {
emit message(tr("Payment request error"), tr("Requested payment amount of %1 is too small (considered dust).")
.arg(BitcoinUnits::formatWithUnit(optionsModel->getDisplayUnit(), sendingTo.second)),
CClientUIInterface::MSG_ERROR);
diff --git a/src/qt/peertablemodel.cpp b/src/qt/peertablemodel.cpp
index db5ce639b1..981d063c49 100644
--- a/src/qt/peertablemodel.cpp
+++ b/src/qt/peertablemodel.cpp
@@ -49,8 +49,8 @@ public:
/** Pull a full list of peers from vNodes into our cache */
void refreshPeers() {
- TRY_LOCK(cs_vNodes, lockNodes);
{
+ TRY_LOCK(cs_vNodes, lockNodes);
if (!lockNodes)
{
// skip the refresh if we can't immediately get the lock
@@ -70,8 +70,8 @@ public:
}
// if we can, retrieve the CNodeStateStats for each node.
- TRY_LOCK(cs_main, lockMain);
{
+ TRY_LOCK(cs_main, lockMain);
if (lockMain)
{
BOOST_FOREACH(CNodeCombinedStats &stats, cachedNodeStats)
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index 3b7d37ff39..0d3e11f4ac 100644
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -15,7 +15,11 @@
#include "util.h"
#include "json/json_spirit_value.h"
+#ifdef ENABLE_WALLET
+#include <db_cxx.h>
+#endif
#include <openssl/crypto.h>
+
#include <QKeyEvent>
#include <QScrollBar>
#include <QThread>
@@ -216,8 +220,14 @@ RPCConsole::RPCConsole(QWidget *parent) :
connect(ui->clearButton, SIGNAL(clicked()), this, SLOT(clear()));
connect(ui->btnClearTrafficGraph, SIGNAL(clicked()), ui->trafficGraph, SLOT(clear()));
- // set OpenSSL version label
+ // set library version labels
ui->openSSLVersion->setText(SSLeay_version(SSLEAY_VERSION));
+#ifdef ENABLE_WALLET
+ ui->berkeleyDBVersion->setText(DbEnv::version(0, 0, 0));
+#else
+ ui->label_berkeleyDBVersion->hide();
+ ui->berkeleyDBVersion->hide();
+#endif
startExecutor();
setTrafficGraphRange(INITIAL_TRAFFIC_GRAPH_MINS);
diff --git a/src/qt/test/Makefile b/src/qt/test/Makefile
new file mode 100644
index 0000000000..a02f86b62a
--- /dev/null
+++ b/src/qt/test/Makefile
@@ -0,0 +1,6 @@
+all:
+ $(MAKE) -C ../../ test_bitcoin_qt
+clean:
+ $(MAKE) -C ../../ test_bitcoin_qt_clean
+check:
+ $(MAKE) -C ../../ test_bitcoin_qt_check
diff --git a/src/qt/test/Makefile.am b/src/qt/test/Makefile.am
deleted file mode 100644
index 2461b5ff4d..0000000000
--- a/src/qt/test/Makefile.am
+++ /dev/null
@@ -1,46 +0,0 @@
-include $(top_srcdir)/src/Makefile.include
-
-AM_CPPFLAGS += -I$(top_srcdir)/src \
- -I$(top_srcdir)/src/qt \
- -I$(top_builddir)/src/qt \
- $(PROTOBUF_CFLAGS) \
- $(QR_CFLAGS)
-bin_PROGRAMS = test_bitcoin-qt
-TESTS = test_bitcoin-qt
-
-TEST_QT_MOC_CPP = moc_uritests.cpp
-
-if ENABLE_WALLET
-TEST_QT_MOC_CPP += moc_paymentservertests.cpp
-endif
-
-TEST_QT_H = \
- uritests.h \
- paymentrequestdata.h \
- paymentservertests.h
-
-BUILT_SOURCES = $(TEST_QT_MOC_CPP)
-
-test_bitcoin_qt_CPPFLAGS = $(AM_CPPFLAGS) $(QT_INCLUDES) $(QT_TEST_INCLUDES)
-
-test_bitcoin_qt_SOURCES = \
- test_main.cpp \
- uritests.cpp \
- $(TEST_QT_H)
-if ENABLE_WALLET
-test_bitcoin_qt_SOURCES += \
- paymentservertests.cpp
-endif
-
-nodist_test_bitcoin_qt_SOURCES = $(TEST_QT_MOC_CPP)
-
-test_bitcoin_qt_LDADD = $(LIBBITCOINQT) $(LIBBITCOIN_SERVER)
-if ENABLE_WALLET
-test_bitcoin_qt_LDADD += $(LIBBITCOIN_WALLET)
-endif
-test_bitcoin_qt_LDADD += $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBLEVELDB) \
- $(LIBMEMENV) $(BOOST_LIBS) $(QT_DBUS_LIBS) $(QT_TEST_LIBS) $(QT_LIBS) \
- $(QR_LIBS) $(PROTOBUF_LIBS) $(BDB_LIBS)
-test_bitcoin_qt_LDFLAGS = $(QT_LDFLAGS)
-
-CLEANFILES = $(BUILT_SOURCES) *.gcda *.gcno
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp
index 37d82ec063..87ff3db584 100644
--- a/src/qt/walletmodel.cpp
+++ b/src/qt/walletmodel.cpp
@@ -231,12 +231,6 @@ WalletModel::SendCoinsReturn WalletModel::prepareTransaction(WalletModelTransact
return AmountExceedsBalance;
}
- if((total + nTransactionFee) > nBalance)
- {
- transaction.setTransactionFee(nTransactionFee);
- return SendCoinsReturn(AmountWithFeeExceedsBalance);
- }
-
{
LOCK2(cs_main, wallet->cs_wallet);