diff --git a/silkaj/constants.py b/silkaj/constants.py
index e43b85827bc810a483487286f099a909e3adce33..b0c4d70b39d189e2c9285ccb1edd931b1e25b37c 100644
--- a/silkaj/constants.py
+++ b/silkaj/constants.py
@@ -23,3 +23,5 @@ G1_TEST_DEFAULT_ENDPOINT = "g1-test.duniter.org", "443"
 CONNECTION_TIMEOUT = 10
 ASYNC_SLEEP = 0.1
 SOURCES_PER_TX = 40
+SUCCESS_EXIT_STATUS = 0
+FAILURE_EXIT_STATUS = 1
diff --git a/silkaj/network_tools.py b/silkaj/network_tools.py
index fb45049de46649281f1d1f37eabe80a04bf4c75e..bc0ec29343fd53a592774269fcab258f1f3b371f 100644
--- a/silkaj/network_tools.py
+++ b/silkaj/network_tools.py
@@ -29,6 +29,7 @@ from silkaj.constants import (
     G1_TEST_DEFAULT_ENDPOINT,
     CONNECTION_TIMEOUT,
     ASYNC_SLEEP,
+    FAILURE_EXIT_STATUS,
 )
 
 
@@ -219,7 +220,7 @@ def best_endpoint_address(ep, main):
                 )
     if main:
         print("Wrong node given as argument", file=stderr)
-        exit(1)
+        exit(FAILURE_EXIT_STATUS)
     return None
 
 
diff --git a/silkaj/tools.py b/silkaj/tools.py
index 965b8657b6a7fd428ad04bfe08146ec48fb42020..3d85289147aa58af29dec7bef5bb846b2ac15f95 100644
--- a/silkaj/tools.py
+++ b/silkaj/tools.py
@@ -20,7 +20,7 @@ from sys import exit
 from asyncio import get_event_loop
 from functools import update_wrapper
 
-from silkaj.constants import G1_SYMBOL, GTEST_SYMBOL
+from silkaj.constants import G1_SYMBOL, GTEST_SYMBOL, FAILURE_EXIT_STATUS
 from silkaj.blockchain_tools import BlockchainParams
 
 
@@ -61,7 +61,7 @@ class CurrencySymbol(object):
 
 def message_exit(message):
     print(message)
-    exit(1)
+    exit(FAILURE_EXIT_STATUS)
 
 
 def coroutine(f):