mooonero / mordinals

Monero: the secure, private, untraceable cryptocurrency
https://getmonero.org
Other
10 stars 6 forks source link

Height missmatch #17

Open bigtimedeveloper opened 1 year ago

bigtimedeveloper commented 1 year ago

./monerod I Monero 'Fluorine Fermi' (v0.18.1.0-b7e99057f) I Initializing cryptonote protocol... I Cryptonote protocol initialized OK I Initializing core... I Loading blockchain from folder /home/user/.bitmonero/lmdb ...

E Ordinals initialization failed: height missmatch() 2852773 & 2848086
E Failed to initialize blockchain storage

I Stopping cryptonote protocol... I Cryptonote protocol stopped successfully E Exception in main! Failed to initialize core

bigtimedeveloper commented 1 year ago

Delete ordinals.arch file in .bitmonero where the lmdb folder is This is not ideal but the only fix I found

mooonero commented 1 year ago

@bigtimedeveloper Hi, I apologize for this issue. It's possible that it occurred because the daemon was not gracefully shut down. I will resolve this by implementing an automatic rescan in the next release

keepitcasual commented 1 year ago

Delete ordinals.arch file in .bitmonero where the lmdb folder is This is not ideal but the only fix I found

Hey I am having trouble with this same problem but I can't find the file you're saying to delete. Is it in the mordinal folder? What is the path if you don't mind? Thank you.

EDIT: Nevermind I figured it out :D

keepitcasual commented 1 year ago

@bigtimedeveloper Hi, I apologize for this issue. It's possible that it occurred because the daemon was not gracefully shut down. I will resolve this by implementing an automatic rescan in the next release

Is there a way to do this rescan manually?

EDIT: I deleted the ordinal.arch file as described by bigtimedeveloper... that did the trick for now

bigtimedeveloper commented 1 year ago

Delete ordinals.arch file in .bitmonero where the lmdb folder is This is not ideal but the only fix I found

Hey I am having trouble with this same problem but I can't find the file you're saying to delete. Is it in the mordinal folder? What is the path if you don't mind? Thank you.

Like I said, the ordinal.arch file was next to where the lmdb folder is, somewhere inside the default-hidden .bitmonero folder, Should be close to where the blockchain is stored. The file may not be there because the file is caused by the monero daemon not shutting down correctly

EDIT: Nevermind I figured it out :D

Nice