Skip to content

Commit

Permalink
Merge pull request #243 from graft-project/feature/rta-mining/prev_bl…
Browse files Browse the repository at this point in the history
…ockchain_based_list_size

Change previous blockchain based list size to 16
  • Loading branch information
mbg033 authored Mar 14, 2019
2 parents e1e6a34 + b78f3bb commit 72394bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cryptonote_core/blockchain_based_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace
{

const size_t BLOCKCHAIN_BASED_LIST_SIZE = 32; //TODO: configuration parameter
const size_t PREVIOS_BLOCKCHAIN_BASED_LIST_MAX_SIZE = 1; //TODO: configuration parameter
const size_t PREVIOS_BLOCKCHAIN_BASED_LIST_MAX_SIZE = 16; //TODO: configuration parameter
const size_t BLOCKCHAIN_BASED_LISTS_HISTORY_DEPTH = 1000;

}
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/stake_transaction_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace
{

const char* STAKE_TRANSACTION_STORAGE_FILE_NAME = "stake_transactions.v2.bin";
const char* BLOCKCHAIN_BASED_LIST_FILE_NAME = "blockchain_based_list.v3.bin";
const char* BLOCKCHAIN_BASED_LIST_FILE_NAME = "blockchain_based_list.v4.bin";

}

Expand Down

0 comments on commit 72394bc

Please sign in to comment.