diff --git a/components/chainhook-cli/src/config/mod.rs b/components/chainhook-cli/src/config/mod.rs index 5070baa..25fd634 100644 --- a/components/chainhook-cli/src/config/mod.rs +++ b/components/chainhook-cli/src/config/mod.rs @@ -3,7 +3,7 @@ pub mod generator; pub use chainhook_event_observer::indexer::IndexerConfig; use chainhook_event_observer::observer::{ - EventObserverConfig, DEFAULT_CONTROL_PORT, DEFAULT_INGESTION_PORT, + EventObserverConfig, }; use chainhook_types::{BitcoinBlockSignaling, BitcoinNetwork, StacksNetwork}; pub use file::ConfigFile; @@ -12,6 +12,8 @@ use std::fs::File; use std::io::{BufReader, Read}; use std::path::PathBuf; +use crate::service::{DEFAULT_INGESTION_PORT, DEFAULT_CONTROL_PORT}; + const DEFAULT_MAINNET_TSV_ARCHIVE: &str = "https://archive.hiro.so/mainnet/stacks-blockchain-api/mainnet-stacks-blockchain-api-latest.gz"; const DEFAULT_TESTNET_TSV_ARCHIVE: &str =