aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.rs4
1 files changed, 4 insertions, 0 deletions
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};
7/// Configuration for a single network 7/// Configuration for a single network
8#[derive(Debug, Serialize, Deserialize, Clone, Default)] 8#[derive(Debug, Serialize, Deserialize, Clone, Default)]
9pub struct Config { 9pub struct Config {
10 // Name of the network
11 pub name: String,
12 // URL prefix for this network, can be empty
13 pub url_prefix: String,
10 // Valid blocks should have this many transactions 14 // Valid blocks should have this many transactions
11 pub block_transaction_count: u8, 15 pub block_transaction_count: u8,
12 // Inital registration bonus 16 // Inital registration bonus