I've looked through the various questions and answers regarding this topic but I can't find the answers to mine.
I lost access to my wallet since calling encryptwallet which crashed the bitcoin software. I did many scans with all the tools available on github and also some that I wrote.
My wallet contains 4 masterkeys (m path) of which 2 can be decrypted with the password of the wallet and contains more than 1500 addresses. Only around 200 can be decrypted with the password.
I found the xpriv for these two decrypted masterkeys by importing them into bitcoin core with the sethdseed function.
I found in the hexadecimal chains of the portfolio 20 addresses which have not been encrypted and of which I therefore know the private key, the encrypted key, the pub key, the derivation.
I can't find any way to find the xpub of the other two mastrkeys which will have allowed me to find all the other private keys. The Chaincode is missing and can't find it in wallet.dat.
I tried to modify the Bitcoin code to convert according to the same logic as for the WIF key import but without success.
My questions are:
- Is there a way to convert the public key like I did for the private key?
- Can I find the sibling keys with the amount of private keys that I have recovered?
- Do you see another way to recover my funds?
I anticipate a generous reward. Thank You