Skip to content
Permalink
Browse files

Add "Blocksdir" to Debug window

To get the current blocksdir is valuable for debug purposes after
merging bitcoin#12653.
  • Loading branch information...
hebasto authored and Michael Polzer committed Oct 2, 2018
1 parent e0b167b commit a9ff66310cfb791c57b02c0557e800a8b39ef3f8
Showing with 188 additions and 167 deletions.
  1. +5 −0 src/qt/clientmodel.cpp
  2. +1 −0 src/qt/clientmodel.h
  3. +181 −167 src/qt/forms/debugwindow.ui
  4. +1 −0 src/qt/rpcconsole.cpp
@@ -209,6 +209,11 @@ QString ClientModel::dataDir() const
return GUIUtil::boostPathToQString(GetDataDir());
}

QString ClientModel::blocksDir() const
{
return GUIUtil::boostPathToQString(GetBlocksDir());
}

void ClientModel::updateBanlist()
{
banTableModel->refresh();
@@ -72,6 +72,7 @@ class ClientModel : public QObject
bool isReleaseVersion() const;
QString formatClientStartupTime() const;
QString dataDir() const;
QString blocksDir() const;

bool getProxyInfo(std::string& ip_port) const;

Oops, something went wrong.

0 comments on commit a9ff663

Please sign in to comment.
You can’t perform that action at this time.