From 3f5671a3b0833046cad4f4be25d66ec49707a0b6 Mon Sep 17 00:00:00 2001 From: necrashter Date: Sat, 23 Apr 2022 15:11:34 +0300 Subject: name and url_prefix fields in config --- src/config.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/config.rs b/src/config.rs index 10c054c..e6f5e0e 100644 --- a/src/config.rs +++ b/src/config.rs @@ -7,6 +7,10 @@ use log::{error, info}; /// Configuration for a single network #[derive(Debug, Serialize, Deserialize, Clone, Default)] pub struct Config { + // Name of the network + pub name: String, + // URL prefix for this network, can be empty + pub url_prefix: String, // Valid blocks should have this many transactions pub block_transaction_count: u8, // Inital registration bonus -- cgit v1.2.3-70-g09d2