From 92b37178167435027bb9e4db22b5c44977f341f9 Mon Sep 17 00:00:00 2001 From: necrashter Date: Sat, 23 Apr 2022 16:42:46 +0300 Subject: Configurable hash zero hexadecimal character count --- 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 9fb268b..7a524fc 100644 --- a/src/config.rs +++ b/src/config.rs @@ -15,6 +15,8 @@ pub struct Config { pub preapproved_users: String, // Valid blocks should have this many transactions pub block_transaction_count: u8, + // How many zero hexadecimal characters should a correct hash start with? + pub hash_zeros: u8, // Inital registration bonus pub register_bonus: u16, // Coinbase reward -- cgit v1.2.3-70-g09d2