diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-10-02 22:17:57 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-10-02 22:20:16 +0200 |
| commit | b9b2e3fabd36b9f93b09c2deb53aa626c26df9e2 (patch) | |
| tree | 4c4da566a8b138de862fdccb5edf096c271cecc0 /src/main.h | |
| parent | Merge pull request #5034 (diff) | |
| download | discoin-b9b2e3fabd36b9f93b09c2deb53aa626c26df9e2.tar.xz discoin-b9b2e3fabd36b9f93b09c2deb53aa626c26df9e2.zip | |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h index 7e849505d..156a0af19 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. */ |