aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main.h b/src/main.h
index fcbc4075d2..1fc418daff 100644
--- a/src/main.h
+++ b/src/main.h
@@ -228,8 +228,6 @@ void UnlinkPrunedFiles(std::set<int>& setFilesToPrune);
/** 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, const std::string &userMessage="");
/** Get statistics from node state */
bool GetNodeStateStats(NodeId nodeid, CNodeStateStats &stats);
/** Increase a node's misbehavior score. */
@@ -495,10 +493,6 @@ public:
mode = MODE_ERROR;
return false;
}
- bool Abort(const std::string &msg) {
- AbortNode(msg);
- return Error(msg);
- }
bool IsValid() const {
return mode == MODE_VALID;
}