Skip to content

Commit

Permalink
Change DB_VERSION if ASSET_BALANCE_SORTING is OFF
Browse files Browse the repository at this point in the history
  • Loading branch information
abitmore committed Jul 16, 2018
1 parent d11b75e commit 42de5b9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion libraries/chain/include/graphene/chain/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,15 @@
#define GRAPHENE_RECENTLY_MISSED_COUNT_INCREMENT 4
#define GRAPHENE_RECENTLY_MISSED_COUNT_DECREMENT 3

#define GRAPHENE_CURRENT_DB_VERSION "BTS2.16"
#ifdef ASSET_BALANCE_SORTED
#define GPH_DB_OPT_ABS (std::string())
#else
#define GPH_DB_OPT_ABS (std::string("-asset_balance_unsorted"))
#endif

#define GPH_DB_VER (std::string("BTS2.17"))

#define GRAPHENE_CURRENT_DB_VERSION (GPH_DB_VER + GPH_DB_OPT_ABS)

#define GRAPHENE_IRREVERSIBLE_THRESHOLD (70 * GRAPHENE_1_PERCENT)

Expand Down

0 comments on commit 42de5b9

Please sign in to comment.