diff options
author | Yigit Sever | 2021-04-18 13:03:39 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-18 13:03:39 +0300 |
commit | 215d909ad7469a005921423b69bb1a289dadaf9e (patch) | |
tree | 77bb449f189295be6c41a0b0534d521e7be53113 /src | |
parent | 13bd3b54a51f5862e79ea4be1874265fa1cd9a10 (diff) | |
download | gradecoin-215d909ad7469a005921423b69bb1a289dadaf9e.tar.gz gradecoin-215d909ad7469a005921423b69bb1a289dadaf9e.tar.bz2 gradecoin-215d909ad7469a005921423b69bb1a289dadaf9e.zip |
Temporarily reduce block limit
Diffstat (limited to 'src')
-rw-r--r-- | src/handlers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handlers.rs b/src/handlers.rs index 30a35e7..f1fd1e0 100644 --- a/src/handlers.rs +++ b/src/handlers.rs | |||
@@ -18,7 +18,7 @@ use std::fs; | |||
18 | use warp::{http::StatusCode, reply}; | 18 | use warp::{http::StatusCode, reply}; |
19 | 19 | ||
20 | use crate::PRIVATE_KEY; | 20 | use crate::PRIVATE_KEY; |
21 | const BLOCK_TRANSACTION_COUNT: u8 = 10; | 21 | const BLOCK_TRANSACTION_COUNT: u8 = 5; |
22 | const BLOCK_REWARD: u16 = 3; | 22 | const BLOCK_REWARD: u16 = 3; |
23 | const TX_UPPER_LIMIT: u16 = 2; | 23 | const TX_UPPER_LIMIT: u16 = 2; |
24 | 24 | ||