thank you for your answers (I do not have enough merit point to add to you but I will think about it in the future).
I'm trying:
- importwallet (bitcoin-cli importwallet ascii_file) + rescan -> no success.
- loadwallet (bitcoin-cli loadwallet wallet.dat) + rescan -> no success.
- import seed (bitcoin-cli sethdseed true "wifkey") + rescan -> no success.
- I generate more 4 000 000 address from xpriv with a lot of path -> no success.
- I try a lot of tools (known and unknown tool in github) to extract keys from wallet.dat (from VM without network access) -> no success
I'm trying importwallet, loadwallet, import seed with lot of version
- precompiled bitcoin binaries (from bitcoin.org) -> no success.
- compile 0.21 with bdb 4.8 -> no success.
- compile 0.21 with bdb 5.3 -> no success.
- compile 0.18 with bdb 4.8 -> no success.
- compile 0.18 with bdb 5.3 -> no success.
- test all of this with debian 10, ubuntu 20.04 LTS, ubuntu 18.04 LTS, ubunutu 16.04 LTS -> no success
I think it's just a watch only wallet without the private key that holds the funds.
I would just like to be sure that I tested everything.
How can I be sure (prove?) that there is no privatekey associated with the address holding the funds in the files I have?
My last attempt to date:getblockchaininfo:
$ bitcoin-cli getblockchaininfo
{
"chain": "main",
"blocks": 683301,
"headers": 683301,
"bestblockhash": "00000000000000000007ee873edad4ffa6148e80b1c764a97a216302bc9d4d7e",
"difficulty": 20608845737768.16,
"mediantime": 1620836374,
"verificationprogress": 0.9999976376076224,
"initialblockdownload": false,
"chainwork": "00000000000000000000000000000000000000001d5069c69e80af0e88e54390",
"size_on_disk": 391466597573,
"pruned": false,
"softforks": {
"bip34": {
"type": "buried",
"active": true,
"height": 227931
},
"bip66": {
"type": "buried",
"active": true,
"height": 363725
},
"bip65": {
"type": "buried",
"active": true,
"height": 388381
},
"csv": {
"type": "buried",
"active": true,
"height": 419328
},
"segwit": {
"type": "buried",
"active": true,
"height": 481824
},
"taproot": {
"type": "bip9",
"bip9": {
"status": "started",
"bit": 2,
"start_time": 1619222400,
"timeout": 1628640000,
"since": 681408,
"statistics": {
"period": 2016,
"threshold": 1815,
"elapsed": 1894,
"count": 763,
"possible": false
},
"min_activation_height": 709632
},
"active": false
}
},
"warnings": ""
}
sethdseed:
bitcoin-cli sethdseed true "wifkey from walletdump where hdseed=1"
error code: -5
error message:
Already have this key (either as an HD seed or as a loose private key)
rescan:
$ bitcoin-cli stop
Bitcoin Core stopping
$ bitcoind --rescan
Bitcoin Core starting
getbalances:
$ bitcoin-cli getbalances
{
"mine": {
"trusted": 0.00000000,
"untrusted_pending": 0.00000000,
"immature": 0.00000000,
"used": 0.00000000
},
"watchonly": {
"trusted": [a lot of bitcoin here],
"untrusted_pending": 0.00000000,
"immature": 0.00000000
}
}