cryptonotefoundation / cryptonote

CryptoNote protocol implementation. This is the reference repository for starting a new CryptoNote currency. See /src/cryptonote_config.h
https://cryptonote.org/
991 stars 6.1k forks source link

Genesis Block Error #259

Closed frankiexile closed 6 years ago

frankiexile commented 6 years ago

07:34:20.646472 ERROR Failed to init: genesis block mismatch. Probably you set --testnet flag with data dir with non-test blockchain or another network. 07:34:20.649103 ERROR Failed to initialize blockchain storage 07:34:20.649759 ERROR Failed to initialize core

SoraKohaku commented 6 years ago

do --print-genesis-tx before run. this problem solve on past. https://github.com/FndNur1Labs/CryptonoteEvo/wiki/Issue-And-Solving

On Fri, May 18, 2018, 8:46 PM frankiexile notifications@github.com wrote:

07:34:20.646472 ERROR Failed to init: genesis block mismatch. Probably you set --testnet flag with data dir with non-test blockchain or another network. 07:34:20.649103 ERROR Failed to initialize blockchain storage 07:34:20.649759 ERROR Failed to initialize core

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cryptonotefoundation/cryptonote/issues/259, or mute the thread https://github.com/notifications/unsubscribe-auth/AK51tWgM7vZSU5AhD8hQMApDrmgz8k0Mks5tzrSngaJpZM4UEmGT .

frankiexile commented 6 years ago

Ah it works now. Unrelated question but is it possible to update the source after compiling everything and the 2 servers? What would something like perhaps changing the block reward back and forth for premining purposes entail? Sorry I have literally no knowledge of this I just followed tutorials lol

SoraKohaku commented 6 years ago

no problem if that sure keep up the next code generate. since .h is old we used .hpp

On Fri, May 18, 2018, 10:19 PM frankiexile notifications@github.com wrote:

Ah it works now. Unrelated question but is it possible to update the source after compiling everything and the 2 servers? What would something like perhaps changing the block reward back and forth for premining purposes entail? Sorry I have literally no knowledge of this I just followed tutorials lol

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cryptonotefoundation/cryptonote/issues/259#issuecomment-390204335, or mute the thread https://github.com/notifications/unsubscribe-auth/AK51tdUf9hZCgXwG5KwZjj7NRDjnFZC7ks5tzspggaJpZM4UEmGT .

frankiexile commented 6 years ago

Im having an all new issue. after the second build after putting in the genesis tx it gives me this error again. its like its changing the genesis tx after the second build. i dont know what to do anymore. I deleted everything started from scratch and did first build, printed genesis, input genesis in config, deleted build folder(since im doing this on windows and using visual), rebuilt with new genesis in the config and it gives me the issue still when i start daemon

frankiexile commented 6 years ago

i should also add that i didnt set up the 2 vps seeds yet is that whats causing this? im just running the local daemon first to see if they are working but perhaps this is my issue?

frankiexile commented 6 years ago

update on that, its not that the seeds weren't running. I compiled them with the same genesis tx and they run fine. but when i try to connect the local daemon with the same genesis tx as the seeds, it gives me the Failed to init: genesis block mismatch. Probably you set --testnet flag with data dir with non-test blockchain or another network. error

ive tried everything within my current knowledge. im desperate at this point for help

frankiexile commented 6 years ago

I used the built daemon on another computer and it connects fine. Its just my computer that doesnt work with it. What could this mean?

SoraKohaku commented 6 years ago

used print genesis again as that is new for machine

On Mon, May 21, 2018, 1:45 AM frankiexile notifications@github.com wrote:

I used the built daemon on another computer and it connects fine. Its just my computer that doesnt work with it. What could this mean?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cryptonotefoundation/cryptonote/issues/259#issuecomment-390495137, or mute the thread https://github.com/notifications/unsubscribe-auth/AK51tT6TGYQ8v4uAYORD-JjvKzfhDFQnks5t0Z2RgaJpZM4UEmGT .