aboutsummaryrefslogtreecommitdiffstats
path: root/src/handlers.rs
diff options
context:
space:
mode:
authorYigit Sever2021-04-18 13:03:39 +0300
committerYigit Sever2021-04-18 13:03:39 +0300
commit215d909ad7469a005921423b69bb1a289dadaf9e (patch)
tree77bb449f189295be6c41a0b0534d521e7be53113 /src/handlers.rs
parent13bd3b54a51f5862e79ea4be1874265fa1cd9a10 (diff)
downloadgradecoin-215d909ad7469a005921423b69bb1a289dadaf9e.tar.gz
gradecoin-215d909ad7469a005921423b69bb1a289dadaf9e.tar.bz2
gradecoin-215d909ad7469a005921423b69bb1a289dadaf9e.zip
Temporarily reduce block limit
Diffstat (limited to 'src/handlers.rs')
-rw-r--r--src/handlers.rs2
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;
18use warp::{http::StatusCode, reply}; 18use warp::{http::StatusCode, reply};
19 19
20use crate::PRIVATE_KEY; 20use crate::PRIVATE_KEY;
21const BLOCK_TRANSACTION_COUNT: u8 = 10; 21const BLOCK_TRANSACTION_COUNT: u8 = 5;
22const BLOCK_REWARD: u16 = 3; 22const BLOCK_REWARD: u16 = 3;
23const TX_UPPER_LIMIT: u16 = 2; 23const TX_UPPER_LIMIT: u16 = 2;
24 24