bcndev / bytecoin

GNU Lesser General Public License v3.0
230 stars 221 forks source link

Genesis block failed to add #33

Open petalyaa opened 6 years ago

petalyaa commented 6 years ago

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?

exploshot commented 6 years ago

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

mike2lab commented 6 years ago

how to do that? just copy & paste ?

exploshot commented 6 years ago

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.

ShiroYutha commented 6 years ago

same here the problem this one. any follow updates?

SoraKohaku commented 6 years ago

bugged we need hardcode that genesis self xD

m-primo commented 7 months ago

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.

ShiroYutha commented 7 months ago

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: @.***>