aboutsummaryrefslogtreecommitdiff
path: root/src/qt/intro.h
diff options
context:
space:
mode:
authormarcoagner <marco@agner.io>2018-10-07 13:11:36 +0100
committermarcoagner <marco@agner.io>2018-10-07 13:11:36 +0100
commit9d0e52834bbd38e7c7410bcb09ef85d157968b04 (patch)
treed21d966862cd2f0e7fd3f2c8da1b8ee6af7e1459 /src/qt/intro.h
parentf504a1402afd0760e9d348ecc8bad0094aa7d705 (diff)
implements different disk sizes for different networks on intro
- Creates m_assumed_blockchain_size and m_assumed_chain_state_size on CChainParams. - Implements access to CChainParams' m_assumed_blockchain_size and m_assumed_chain_state_size on node interface. - Implements m_assumed_blockchain_size and m_assumed_chain_state_size on qt/intro via node interface. - Updates release process document with the new CChainParam's values.
Diffstat (limited to 'src/qt/intro.h')
-rw-r--r--src/qt/intro.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qt/intro.h b/src/qt/intro.h
index 2b3da963e2..01c4165f3e 100644
--- a/src/qt/intro.h
+++ b/src/qt/intro.h
@@ -30,7 +30,8 @@ class Intro : public QDialog
Q_OBJECT
public:
- explicit Intro(QWidget *parent = 0);
+ explicit Intro(QWidget *parent = 0,
+ uint64_t blockchain_size = 0, uint64_t chain_state_size = 0);
~Intro();
QString getDataDirectory();
@@ -71,6 +72,8 @@ private:
QMutex mutex;
bool signalled;
QString pathToCheck;
+ uint64_t m_blockchain_size;
+ uint64_t m_chain_state_size;
void startThread();
void checkPath(const QString &dataDir);