0g-storage-node/node/rpc/src/config.rs

11 lines
246 B
Rust
Raw Normal View History

2024-01-03 10:24:52 +00:00
use std::net::SocketAddr;
#[derive(Clone)]
pub struct Config {
pub enabled: bool,
pub listen_address: SocketAddr,
pub listen_address_admin: Option<SocketAddr>,
2024-01-03 10:24:52 +00:00
pub chunks_per_segment: usize,
pub max_cache_file_size: usize,
}