pitmutt
281682ac18
This PR contains the following changes: - New RPC server for programmatic access to the wallet. - Support for ZIP-320, TEX addresses and shielding/de-shielding of funds - Native Haskell implementation of the Zcash commitment trees Co-authored-by: Rene Vergara A. <rvergara59@protonmail.com> Reviewed-on: https://git.vergara.tech///Vergara_Tech/zenith/pulls/104 Co-authored-by: pitmutt <rene@vergara.network> Co-committed-by: pitmutt <rene@vergara.network>
15 lines
415 B
Haskell
15 lines
415 B
Haskell
{-# LANGUAGE OverloadedStrings #-}
|
|
|
|
module ZenScan where
|
|
|
|
import Control.Monad.Logger (runNoLoggingT)
|
|
import Data.Configurator
|
|
import Zenith.Scanner (rescanZebra)
|
|
|
|
main :: IO ()
|
|
main = do
|
|
config <- load ["zenith.cfg"]
|
|
dbFilePath <- require config "dbFilePath"
|
|
zebraPort <- require config "zebraPort"
|
|
zebraHost <- require config "zebraHost"
|
|
runNoLoggingT $ scanZebra 2762066 zebraHost zebraPort dbFilePath
|