mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 13:28:51 +00:00
minor corrections/clarifications
This commit is contained in:
parent
c6bb201a07
commit
f746c9d01b
@ -54,9 +54,11 @@ namespace cryptonote
|
|||||||
{
|
{
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
//FIXME: constants such as these should at least be in the header,
|
//TODO: constants such as these should at least be in the header,
|
||||||
// but probably somewhere more accessible to the rest of the
|
// but probably somewhere more accessible to the rest of the
|
||||||
// codebase.
|
// 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_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);
|
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
|
time_t const MIN_RELAY_TIME = (60 * 5); // only start re-relaying transactions after that many seconds
|
||||||
|
@ -448,7 +448,7 @@ namespace cryptonote
|
|||||||
*/
|
*/
|
||||||
bool is_transaction_ready_to_go(tx_details& txd) const;
|
bool is_transaction_ready_to_go(tx_details& txd) const;
|
||||||
|
|
||||||
//! map a transactions (and related info) to their hashes
|
//! map transactions (and related info) by their hashes
|
||||||
typedef std::unordered_map<crypto::hash, tx_details > transactions_container;
|
typedef std::unordered_map<crypto::hash, tx_details > transactions_container;
|
||||||
|
|
||||||
//TODO: confirm the below comments and investigate whether or not this
|
//TODO: confirm the below comments and investigate whether or not this
|
||||||
|
Loading…
Reference in New Issue
Block a user