From 435cda893bd74bd8e597876f4b5f515c8347f9de Mon Sep 17 00:00:00 2001 From: necrashter Date: Sat, 23 Apr 2022 15:59:29 +0300 Subject: Read preapproved users CSV file from config --- src/config.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/config.rs') 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 { pub name: String, // URL prefix for this network, can be empty pub url_prefix: String, + // CSV file that contains the list of users who can register + pub preapproved_users: String, // Valid blocks should have this many transactions pub block_transaction_count: u8, // Inital registration bonus -- cgit v1.2.3-70-g09d2