This commit is contained in:
jl777
2016-10-29 10:23:50 -03:00
parent 892dc7ac84
commit f71f89bb8b
2 changed files with 3 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ using namespace std;
* + Contains no strange transactions * + Contains no strange transactions
*/ */
void *chainparams_commandline(void *ptr); void *chainparams_commandline(void *ptr);
char ASSETCHAINS_SYMBOL[16]; extern char ASSETCHAINS_SYMBOL[16];
uint16_t ASSETCHAINS_PORT = 8777; uint16_t ASSETCHAINS_PORT = 8777;
uint32_t ASSETCHAIN_INIT = 0; uint32_t ASSETCHAIN_INIT = 0;
uint32_t ASSETCHAINS_MAGIC = 2387029918; uint32_t ASSETCHAINS_MAGIC = 2387029918;

View File

@@ -400,9 +400,10 @@ void PrintExceptionContinue(const std::exception* pex, const char* pszThread)
strMiscWarning = message; strMiscWarning = message;
} }
char ASSETCHAINS_SYMBOL[16];
boost::filesystem::path GetDefaultDataDir() boost::filesystem::path GetDefaultDataDir()
{ {
extern char ASSETCHAINS_SYMBOL[16];
namespace fs = boost::filesystem; namespace fs = boost::filesystem;
// Windows < Vista: C:\Documents and Settings\Username\Application Data\Zcash // Windows < Vista: C:\Documents and Settings\Username\Application Data\Zcash
// Windows >= Vista: C:\Users\Username\AppData\Roaming\Zcash // Windows >= Vista: C:\Users\Username\AppData\Roaming\Zcash