diff options
author | necrashter | 2022-04-23 16:42:46 +0300 |
---|---|---|
committer | Yigit Sever | 2022-04-23 18:10:12 +0300 |
commit | 92b37178167435027bb9e4db22b5c44977f341f9 (patch) | |
tree | 7170010cd9693a9976c5f71cfbf648ea7abef80f /src/config.rs | |
parent | 8d7a1c4337af570c691c3c16527b724ae57ed80f (diff) | |
download | gradecoin-92b37178167435027bb9e4db22b5c44977f341f9.tar.gz gradecoin-92b37178167435027bb9e4db22b5c44977f341f9.tar.bz2 gradecoin-92b37178167435027bb9e4db22b5c44977f341f9.zip |
Configurable hash zero hexadecimal character count
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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 { | |||
15 | pub preapproved_users: String, | 15 | pub preapproved_users: String, |
16 | // Valid blocks should have this many transactions | 16 | // Valid blocks should have this many transactions |
17 | pub block_transaction_count: u8, | 17 | pub block_transaction_count: u8, |
18 | // How many zero hexadecimal characters should a correct hash start with? | ||
19 | pub hash_zeros: u8, | ||
18 | // Inital registration bonus | 20 | // Inital registration bonus |
19 | pub register_bonus: u16, | 21 | pub register_bonus: u16, |
20 | // Coinbase reward | 22 | // Coinbase reward |