aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-07-03 12:24:16 +0200
committerRiccardo Spagni <ric@spagni.net>2017-07-03 12:24:16 +0200
commitc577bc876255dd5995e068291d1a1780e46d3e20 (patch)
tree7a2d80a8d051576638fa1568d51fabe8652c3df9 /src
parentMerge pull request #2106 (diff)
parentFix mismatch of parameter name between header file and implementation for set... (diff)
downloadmonero-c577bc876255dd5995e068291d1a1780e46d3e20.tar.xz
Merge pull request #2107
bdab3436 Fix mismatch of parameter name between header file and implementation for set_user_options() (Julien Klepatch)
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_core/blockchain.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cryptonote_core/blockchain.h b/src/cryptonote_core/blockchain.h
index 56373adf9..4f2e4f0d3 100644
--- a/src/cryptonote_core/blockchain.h
+++ b/src/cryptonote_core/blockchain.h
@@ -689,16 +689,15 @@ namespace cryptonote
// user options, must be called before calling init()
- //FIXME: parameter names don't match function definition in .cpp file
/**
* @brief sets various performance options
*
- * @param block_threads max number of threads when preparing blocks for addition
+ * @param maxthreads max number of threads when preparing blocks for addition
* @param blocks_per_sync number of blocks to cache before syncing to database
* @param sync_mode the ::blockchain_db_sync_mode to use
* @param fast_sync sync using built-in block hashes as trusted
*/
- void set_user_options(uint64_t block_threads, uint64_t blocks_per_sync,
+ void set_user_options(uint64_t maxthreads, uint64_t blocks_per_sync,
blockchain_db_sync_mode sync_mode, bool fast_sync);
/**