aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiconstants.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-08-24 22:07:26 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-08-31 14:19:43 +0200
commitb7bcaf940d27fa8cfe89422943fbeaab7a350930 (patch)
tree73f01425d448afe9f523a434420cfd09e32406e6 /src/qt/guiconstants.h
parent3f0816e3d926e0ea78ac7b6cd43efe62355885c8 (diff)
Wallet encryption part 2: ask passphrase when needed, add menu options
Diffstat (limited to 'src/qt/guiconstants.h')
-rw-r--r--src/qt/guiconstants.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/guiconstants.h b/src/qt/guiconstants.h
index b7870199bb..0cb507501a 100644
--- a/src/qt/guiconstants.h
+++ b/src/qt/guiconstants.h
@@ -4,6 +4,9 @@
/* Milliseconds between model updates */
static const int MODEL_UPDATE_DELAY = 500;
+/* Maximum passphrase length */
+static const int MAX_PASSPHRASE_SIZE = 1024;
+
/* Size of icons in status bar */
static const int STATUSBAR_ICONSIZE = 16;