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
commitdfe2839914a3aa01cc6a5dd51b82f211a16e20c8 (patch)
treeaf5520078f86bc09bc8b16029e3986a21e858c22 /src/handlers.rs
parent24209c977060e890ed0faed8c6f9b79f22376aa4 (diff)
downloadgradecoin-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.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