Trying to open an old wallet.dat (from ~2013)

I found my old wallet.dat file taken from the bitcoin core wallet I used when mining around 2013, nothing serious tho, just fiddling around. Never been too much into the subject, and now I’m totally out of the loop.

Will explain what I did so far:

I downloaded the latest bitcoin core, opened it and after a few seconds closed it properly, replaced the default wallet.dat file (with a size of 1416kb) with a copy of my old one (only 88kb) and opened the program again to let it download blockchain, then noticed that as soon as the program opened, the wallet.dat (my old one) file size changed to 688kb, waited for the whole blockchain to download and noticed the balance it’s still 0, the send/receive/transactions screens are also blank, as a vanilla wallet.

Maybe my old wallet file is somewhat an old format and get’s erased and treated like a new one?


I put back the default wallet created by the program and from inside the program opened my old wallet file, a small window with a progress bar appeared saying “opening wallet filename“, but it keeps loading forever. Also the file size changed again from 88kb to 688kb.

Any clue of what is happening?

I wan’t to transfer whatever is there to some online wallet like coinbase.

Can a wallet/exchange provider ask for transaction details

My question has two parts,

  1. Am I obligated to share transaction details with my wallet/exchange provider for any payment I made to an individual, like subscription to a website?
  2. Irrespective of the above point, If I pay for a subscription using Bitcoins to someone, and the recieving party misuse the coins for something illegal unknown to me, will I be in problem?

Thanks

Bitcoin address to Hash160 for brainflayer

I took a script to translate the bitcoin address to hash160:
http://lenschulwitz.com/b58/base58perl.txt
replaced the lines for working with the list from the file:

#Sample test taken from https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses.
my $base58_encoded_address = "16UwLL9Risc3QfPqBUvKofHmBQ7wMtjvM";
print "\nRunning tests for bitcoin address $base58_encoded_address\n";
print "Bitcoin address is valid.  Address type: '", check_bitcoin_address($base58_encoded_address), "'.\n";
my $binary_address = decodebase58tohex($base58_encoded_address);
print "Binary hexadecimal representation is: $binary_address\n";
my $reencoded_base58 = encodebase58fromhex($binary_address);
print "Re-encoded back to Base58 is: $reencoded_base58\n\n";

to:

my $fileSrc = 'base58.txt';
open my $fhSrc, $fileSrc or die "Could not open $fileSrc: $!";

my $fileDest = 'hex.txt';
open(my $fhDest, '>>', $fileDest) or die "Could not open file $fileDest: $!";

while( my $base58_encoded_address = <$fhSrc>)  {   
  my $binary_address = decodebase58tohex($base58_encoded_address);
  say $fhDest $binary_address, 2, 40;
}

close $fhSrc;
close $fhDest;

But this script stops and does not work with bech32 addresses, tell me what needs to be added so that it works with bech32. Or maybe someone has a similar script for converting addresses for the brainflayer?

Replace-by-fee Problem

Good Day. Please i have an Account with BlockChain but i notice my account has a withdrawal of all my BTC which was not done by me. It has Replace-By-Fee

What might have happened?
How can i get my Money Back?

Sent BTC
May 21 2020 @ 2:22 AM
Replace-By-Fee
To: bc1q52vem2cnzps34reymhw0v07wgzme8gq92dzc5p
From: My Bitcoin Wallet
$3,461.91
0.38223108 BTC
Description
Add a description
Value When Sent
$3,645.37
Sent From
159qFcZvv46Vz861PFxUNLPzjpTZw2oiPj
17BoVBrrkZ13DWNEBdew8QL3CCq6mv3722
1PnBQwZhiMMtb2XptpTBzBFa658iWm4gzd
1ahi6h2WMaGCpbrs2d7cr2o9Fo1m2Mu4J
1LcXKTF7TwNBw9jH4pTMHJRTMWGxo55syD
1CkJkCBVJt11Cj41SY9SQ7hu8318tcc19s
Received By
bc1q52vem2cnzps34reymhw0v07wgzme8gq92dzc5p
Status
Transaction Confirmed
Transaction Fee
0.00113524 BTC
(
$10.28enter image description here