aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
authornecrashter2022-04-23 15:59:29 +0300
committerYigit Sever2022-04-23 18:10:12 +0300
commit435cda893bd74bd8e597876f4b5f515c8347f9de (patch)
treec3939c359d934e78548ad49bbb3290ab8a53530e /src/config.rs
parentbcf7a379620ca433215ad9617ad9417b4f39e87d (diff)
downloadgradecoin-435cda893bd74bd8e597876f4b5f515c8347f9de.tar.gz
gradecoin-435cda893bd74bd8e597876f4b5f515c8347f9de.tar.bz2
gradecoin-435cda893bd74bd8e597876f4b5f515c8347f9de.zip
Read preapproved users CSV file from config
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index e6f5e0e..9fb268b 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -11,6 +11,8 @@ pub struct Config {
11 pub name: String, 11 pub name: String,
12 // URL prefix for this network, can be empty 12 // URL prefix for this network, can be empty
13 pub url_prefix: String, 13 pub url_prefix: String,
14 // CSV file that contains the list of users who can register
15 pub preapproved_users: String,
14 // Valid blocks should have this many transactions 16 // Valid blocks should have this many transactions
15 pub block_transaction_count: u8, 17 pub block_transaction_count: u8,
16 // Inital registration bonus 18 // Inital registration bonus