diff --git a/src/universal/bin/mantis-etc b/src/universal/bin/mantis-etc deleted file mode 100755 index e6e203f6f2..0000000000 --- a/src/universal/bin/mantis-etc +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -./bin/mantis -Dconfig.file=./conf/etc.conf "$@" diff --git a/src/universal/bin/mantis-eth b/src/universal/bin/mantis-eth deleted file mode 100755 index ef0e1e6d05..0000000000 --- a/src/universal/bin/mantis-eth +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -./bin/mantis -Dconfig.file=./conf/eth.conf "$@" diff --git a/src/universal/bin/mantis-launcher b/src/universal/bin/mantis-launcher new file mode 100644 index 0000000000..5ebb44edc4 --- /dev/null +++ b/src/universal/bin/mantis-launcher @@ -0,0 +1,10 @@ +#!/bin/bash + +chain="$1" +if [ -z "$chain" ] +then + echo "You need to choose chain" +else + shift + ./bin/mantis -Dconfig.file=./conf/"$chain".conf "$@" +fi \ No newline at end of file diff --git a/src/universal/bin/mantis-mordor b/src/universal/bin/mantis-mordor deleted file mode 100644 index 166dc1f83f..0000000000 --- a/src/universal/bin/mantis-mordor +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -./bin/mantis -Dconfig.file=./conf/mordor.conf "$@" diff --git a/src/universal/bin/mantis-testnet-internal b/src/universal/bin/mantis-testnet-internal deleted file mode 100644 index d8c87b6ec7..0000000000 --- a/src/universal/bin/mantis-testnet-internal +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -./bin/mantis -Dconfig.file=./conf/testnet-internal.conf "$@" diff --git a/src/universal/conf/app.conf b/src/universal/conf/app.conf index aa624ad812..f9be304dda 100644 --- a/src/universal/conf/app.conf +++ b/src/universal/conf/app.conf @@ -3,21 +3,3 @@ # This where all the default settings are defined (this file is packaged within the executable). # It should always go at the top. include "application.conf" - -# Enable HTTPS -mantis { - network { - rpc { - http { - mode = "https" - - certificate-keystore-path = "conf/mantis.jks" - - certificate-keystore-type = "jks" - - certificate-password-file = "conf/nopassword" - - } - } - } -} diff --git a/src/universal/conf/nopassword b/src/universal/conf/nopassword deleted file mode 100644 index 7c3a49833a..0000000000 --- a/src/universal/conf/nopassword +++ /dev/null @@ -1 +0,0 @@ -nopassword diff --git a/src/universal/conf/testnet-internal.conf b/src/universal/conf/testnet-internal.conf index 603c9bf3b7..c0315623be 100644 --- a/src/universal/conf/testnet-internal.conf +++ b/src/universal/conf/testnet-internal.conf @@ -10,10 +10,6 @@ mantis { # are controlled by a single party, eg. private networks) blacklist-duration = 0 - # Set to false to disable broadcasting the NewBlockHashes message, as its usefulness is debatable, - # especially in the context of private networks - broadcast-new-block-hashes = false - pruning { mode = "archive" } @@ -40,13 +36,6 @@ mantis { rpc { http { - # JSON-RPC mode - # Available modes are: http, https - # Choosing https requires creating a certificate and setting up 'certificate-keystore-path' and - # 'certificate-password-file' - # See: https://github.com/input-output-hk/mantis/wiki/Creating-self-signed-certificate-for-using-JSON-RPC-with-HTTPS - mode = "http" - # Listening address of JSON-RPC HTTP/HTTPS endpoint interface = ${mantis.network.server-address.interface}