forknote / cryptonote-generator

Generate Cryptonote coin with 1 command
104 stars 211 forks source link

Latest version compiling the GUI wallet cannot create Currency Object #88

Open dinastyoffreedom opened 6 years ago

dinastyoffreedom commented 6 years ago

I got problem compiling Wallet GUI bytecoin 2 version using the sources generated by cryptonote generator latest version (no problems with previous version). All is compiled without errors under windows and under Linux. but when run the program exit trying debug the error is Cannot Create currency Object. to solve problem I have to use old version and change currency.cpp and currency.h adding lwma functions and zawy functions with the new ones and then it compile and run regularly. But I cannot use all all updates in this way. I do not know if someone got same problem or found the reasomn why currency object cannot created

douglashipocreme commented 6 years ago

I am on same way. i spent 2 days debuging and nothing .. can you share your solution ?

dinastyoffreedom commented 6 years ago

yes. here within file currency.cpp

// Hard code coinbase tx in genesis block, because through generating tx use random, but genesis should be always the same std::string genesisCoinbaseTxHex = m_genesisCoinbaseTxHex;

I changed m_genesisCoinbaseTxHex with hard coded genesis string "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" same like on cryptonoteconfig.h in this way the currency object can be created...