diff options
author | Yigit Sever | 2021-04-18 13:03:39 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-18 13:03:39 +0300 |
commit | dfe2839914a3aa01cc6a5dd51b82f211a16e20c8 (patch) | |
tree | af5520078f86bc09bc8b16029e3986a21e858c22 /src/handlers.rs | |
parent | 24209c977060e890ed0faed8c6f9b79f22376aa4 (diff) | |
download | gradecoin-dfe2839914a3aa01cc6a5dd51b82f211a16e20c8.tar.gz gradecoin-dfe2839914a3aa01cc6a5dd51b82f211a16e20c8.tar.bz2 gradecoin-dfe2839914a3aa01cc6a5dd51b82f211a16e20c8.zip |
Temporarily reduce block limit
Diffstat (limited to 'src/handlers.rs')
-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 | ||