Add host parameter for Zebra server

This commit is contained in:
Rene Vergara 2024-02-14 12:02:53 -06:00
parent 1022944e67
commit 5fec52bdd0
Signed by: pitmutt
GPG Key ID: 65122AD495A7F5B2
4 changed files with 8 additions and 6 deletions

View File

@ -203,6 +203,7 @@ main = do
nodeUser <- require config "nodeUser"
nodePwd <- require config "nodePwd"
zebraPort <- require config "zebraPort"
zebraHost <- require config "zebraHost"
if not (null args)
then do
case head args of
@ -216,7 +217,7 @@ main = do
" ______ _ _ _ \n |___ / (_) | | | \n / / ___ _ __ _| |_| |__ \n / / / _ \\ '_ \\| | __| '_ \\ \n / /_| __/ | | | | |_| | | |\n /_____\\___|_| |_|_|\\__|_| |_|\n Zcash Full Node CLI v0.4.0"
}
(root nodeUser nodePwd)
"cli" -> runZenithCLI zebraPort dbName
"cli" -> runZenithCLI zebraHost zebraPort dbName
_ -> printUsage
else printUsage

View File

@ -44,7 +44,7 @@ packages:
# extra-deps: []
extra-deps:
- git: https://git.vergara.tech/Vergara_Tech/zcash-haskell.git
commit: 09cee9a064219e4be89413ef86341aa18b62be68
commit: 73d8125b83cda3b69d91770e1617b4a4d6a98c58
- git: https://git.vergara.tech/Vergara_Tech/haskell-hexstring.git
commit: fd1ddce73c0ad18a2a4509a299c6e93f8c6c383d
- git: https://git.vergara.tech/Vergara_Tech/haskell-foreign-rust.git

View File

@ -5,15 +5,15 @@
packages:
- completed:
commit: 09cee9a064219e4be89413ef86341aa18b62be68
commit: 73d8125b83cda3b69d91770e1617b4a4d6a98c58
git: https://git.vergara.tech/Vergara_Tech/zcash-haskell.git
name: zcash-haskell
pantry-tree:
sha256: 6bf1902a377bf9399442de6f0b89219479fa908e70706918e81b88caa28dc0f5
sha256: 0b7870345d7ccc65ff51fbfe7c4e579fd497014ab0e0ee2084ba0ad0f68b8b69
size: 1367
version: 0.4.1
version: 0.4.2
original:
commit: 09cee9a064219e4be89413ef86341aa18b62be68
commit: 73d8125b83cda3b69d91770e1617b4a4d6a98c58
git: https://git.vergara.tech/Vergara_Tech/zcash-haskell.git
- completed:
commit: fd1ddce73c0ad18a2a4509a299c6e93f8c6c383d

View File

@ -1,4 +1,5 @@
nodeUser = "user"
nodePwd = "superSecret"
dbName = "zenith.db"
zebraHost = "127.0.0.1"
zebraPort = 18232