aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-10-02 22:17:57 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-10-02 22:20:16 +0200
commitb9b2e3fabd36b9f93b09c2deb53aa626c26df9e2 (patch)
tree4c4da566a8b138de862fdccb5edf096c271cecc0 /src/main.h
parent6faee7942671141649b74e50908cb99cabc840e5 (diff)
Don't translate state.Abort() messages
There is only one message passed to AbortNode() that makes sense to translate to the user specifically: Disk space is low. For the others show a generic message and refer to debug.log for details. Reduces the number of confusing jargon translation messages.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index 7e849505dd..156a0af19f 100644
--- a/src/main.h
+++ b/src/main.h
@@ -177,7 +177,7 @@ CAmount GetBlockValue(int nHeight, const CAmount& nFees);
/** Create a new block index entry for a given block hash */
CBlockIndex * InsertBlockIndex(uint256 hash);
/** Abort with a message */
-bool AbortNode(const std::string &msg);
+bool AbortNode(const std::string &msg, const std::string &userMessage="");
/** Get statistics from node state */
bool GetNodeStateStats(NodeId nodeid, CNodeStateStats &stats);
/** Increase a node's misbehavior score. */