bytecoin icon indicating copy to clipboard operation
bytecoin copied to clipboard

Genesis block failed to add

Open petalyaa opened this issue 7 years ago • 7 comments

Hi, I manage to compile bytecoin binary. So then I want to run the bytecoind, I got genesis error as per subject.

root@ubuntu-node-2:~/bgi/workspace/bytecoin/build# ../bin/bytecoind
lmdb libversion=LMDB 0.9.70: (December 19, 2015)
Data format changed, old version= current version=1, deleting bytecoind cache...
Found 0 blocks from main chain
Deleted 0 records, skipped 0 records
BlockChain::db_commit started... tip_height=4294967295
BlockChain::db_commit finished...
Starting multicore ring checker using 2/1 cpus
Exception in main() - Genesis block failed to add
terminate called after throwing an instance of 'std::logic_error'
  what():  Genesis block failed to add
Aborted (core dumped)

Can someone help explaining what is going on in here?

petalyaa avatar Mar 26 '18 15:03 petalyaa

same here, I thinks its because the hardcoded the GTx. You have to adapt manually the Generate Genesis function from the old version.

exploshot avatar Apr 09 '18 09:04 exploshot

how to do that? just copy & paste ?

mike2lab avatar Apr 19 '18 13:04 mike2lab

Thats the question, but i think that wont work. I hope for a little update from the devs or an explanation for this tiny thing.

exploshot avatar Apr 19 '18 16:04 exploshot

same here the problem this one. any follow updates?

ShiroYutha avatar May 19 '18 07:05 ShiroYutha

bugged we need hardcode that genesis self xD

SoraKohaku avatar May 26 '18 05:05 SoraKohaku

I know this is a long issue, but here we go.

You have to adapt manually the Generate Genesis function from the old version.

Yes!! That's the way.

But frankly, I don't know if it worked correctly or not! The daemon started okay without any issues but the simplewallet bugged and froze the entire system over and over again, so idk.

m-primo avatar Feb 14 '24 21:02 m-primo

The problem genesis locked. Maybe bcn already changed core.

Shiro Mahiro

On Thu, Feb 15, 2024, 04:32 Primo @.***> wrote:

I know this is a long issue, but here we go.

You have to adapt manually the Generate Genesis function from the old version.

Yes!! That's the way.

But frankly, I don't know if it worked correctly or not! The daemon started okay without any issues but the simplewallet bugged and froze the entire system over and over again, so idk.

— Reply to this email directly, view it on GitHub https://github.com/bcndev/bytecoin/issues/33#issuecomment-1944667207, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFMP2R3GTAFKGW4A7JV5OTYTUUQNAVCNFSM4EXNIBGKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJUGQ3DMNZSGA3Q . You are receiving this because you commented.Message ID: @.***>

ShiroYutha avatar Feb 22 '24 05:02 ShiroYutha