aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/tx_pool.cpp
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2016-03-30 11:55:54 -0400
committerThomas Winget <tewinget@gmail.com>2016-03-30 11:55:54 -0400
commitf746c9d01b9fe5f8adb69a8f9ef26683c2a5e9e6 (patch)
tree44c4170d2447e1db0b2a7c0933133048e470af80 /src/cryptonote_core/tx_pool.cpp
parentTransaction pool documentation (and some cleanup) (diff)
downloadmonero-f746c9d01b9fe5f8adb69a8f9ef26683c2a5e9e6.tar.xz
minor corrections/clarifications
Diffstat (limited to 'src/cryptonote_core/tx_pool.cpp')
-rw-r--r--src/cryptonote_core/tx_pool.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp
index 183c39d9c..49fa4aa57 100644
--- a/src/cryptonote_core/tx_pool.cpp
+++ b/src/cryptonote_core/tx_pool.cpp
@@ -54,9 +54,11 @@ namespace cryptonote
{
namespace
{
- //FIXME: constants such as these should at least be in the header,
- // but probably somewhere more accessible to the rest of the
- // codebase.
+ //TODO: constants such as these should at least be in the header,
+ // but probably somewhere more accessible to the rest of the
+ // codebase. As it stands, it is at best nontrivial to test
+ // whether or not changing these parameters (or adding new)
+ // will work correctly.
size_t const TRANSACTION_SIZE_LIMIT_V1 = (((CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V1 * 125) / 100) - CRYPTONOTE_COINBASE_BLOB_RESERVED_SIZE);
size_t const TRANSACTION_SIZE_LIMIT_V2 = (((CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V2 * 125) / 100) - CRYPTONOTE_COINBASE_BLOB_RESERVED_SIZE);
time_t const MIN_RELAY_TIME = (60 * 5); // only start re-relaying transactions after that many seconds