From 27b227546113c7dd329ed93d8a26be296d543ce8 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Fri, 29 Jul 2016 10:51:21 -0300 Subject: [PATCH] add names --- lib/common/defaults.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/common/defaults.js b/lib/common/defaults.js index 32a79f5..2853c03 100644 --- a/lib/common/defaults.js +++ b/lib/common/defaults.js @@ -70,8 +70,11 @@ Defaults.UTXO_SELECTION_MAX_FEE_VS_SINGLE_UTXO_FEE_FACTOR = 5; // Minimum allowed amount for tx outputs (including change) in SAT Defaults.MIN_OUTPUT_AMOUNT = 5000; +// Number of confirmations from which tx in history will be cached +// (ie we consider them inmutables) +Defaults.CONFIRMATIONS_TO_START_CACHING = 6 * 6; // ~ 6hrs -Defaults.CONFIRMATIONS_TO_START_CACHING = 100; +// Number of addresses from which tx history is enabled in a wallet Defaults.HISTORY_CACHE_ADDRESS_THRESOLD = 100; module.exports = Defaults;