mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
Merge pull request #2107
bdab3436
Fix mismatch of parameter name between header file and implementation for set_user_options() (Julien Klepatch)
This commit is contained in:
commit
c577bc8762
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue