mycroft/chainstate

obfuscation key not found

Opened this issue · 10 comments

at first i got this error

cat /tmp/cs.errors
chainstate: chainstate.cc:82: int main(int, char**): Assertion `status.ok()' failed

so i followed #7

and modified as per #7 (comment)

re make and now i have

cat /tmp/cs.errors
obfuscation key not found... Please check bitcoin's log and report if bitcoin's obfuscation key not 0000000000000000.

I have the same problem

Have you solved your problem?

@rawmaterials
I have the same problem

Have you solved your problem?

Please attach full bitcoin core's log to check the key & make sure to follow instructions to use the tool.

Okay, I can see there is an obfuscation key set in debug.log; I can also see you set options.create_if_missing to true, which will create a database if not existing, leading to the 2nd error you saw. You don't want that.

In order to use this tool, you need to:
1/ Shutdown the bitcoin core client;
2/ copy the "chainstate" as "state" directory in the chainstate tool directory
3/ launch the "chainstate" tool. If you copied the directory correctly, it should work correctly.

@mycroft
Do I need to configure bitcoinconf and restart bitobi core?
I copied the directory and still got an error
a

@mycroft
I recopied the directory but the result is the same

Can I change the source code to match the key?

Or make other changes

Please let me know. Thank you

@mycroft

What is the command to get all addresses and balance saved to file?

You marked all your comments as resolved. I assume you find your error.
Can I now close this issue ?