0g-storage-node/node/rpc/src/config.rs
2024-01-04 18:05:32 +08:00

10 lines
196 B
Rust

use std::net::SocketAddr;
#[derive(Clone)]
pub struct Config {
pub enabled: bool,
pub listen_address: SocketAddr,
pub chunks_per_segment: usize,
pub max_cache_file_size: usize,
}