Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.93 KB

use_cases.md

File metadata and controls

34 lines (22 loc) · 1.93 KB

Indexer Live Service

Dependencies

  1. Zebrad or Zcashd, Zcash-Cli
  2. Zingolib [if running Zingo-Cli]

Running ZainoD

  • To run a Zaino server, backed locally by Zebrad first build Zaino:
  1. Run $ cargo build --release
  2. Add compiled binary held at #PATH_TO/zaino/target/release/zainod to PATH.
  • Then to launch Zaino: [in separate terminals]:
  1. Run $ zebrad --config #PATH_TO_CONF/zebrad.toml start
  2. Run $ zainod --config #PATH_TO_CONF/zindexer.toml

NOTE: Unless the no_db option is set to true in the config file zaino will sync its internal CompactBlock cache with the validator it is connected to on launch. This can be a very slow process the first time Zaino's DB is synced with a new chain and zaino will not be operable until the database is fully synced. If Zaino exits during this process the database is saved in its current state, enabling the chain to be synced in several stages.

  • To launch Zingo-Cli running through Zaino [from #PATH_TO/zingolib]:
  1. Run $ cargo run --release --package zingo-cli -- --chain "CHAIN_TYPE" --server "ZAINO_LISTEN_ADDR" --data-dir #PATH_TO_WALLET_DATA_DIR
  • Example Config files for running Zebra and Zaino on testnet are given in zaino/zainod/*

A system architecture diagram for this service can be seen at Live Service System Architecture.

Local Library

Currently Unimplemented, documentation will be added here as this functionality becomes available.

A system architecture diagram for this service can be seen at Library System Architecture.

Remote Library

Currently Unimplemented, documentation will be added here as this functionality becomes available.

A system architecture diagram for this service can be seen at Library System Architecture.