Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: pbleak on May 16, 2017, 09:41:32 AM



Title: wallet.cpp
Post by: pbleak on May 16, 2017, 09:41:32 AM
A friend has written to me about discovering a wallet from 2011. It's not a wallet.dat etc. but wallet.cpp

I'm curious what this was. There is almost not much information on it later on.
https://github.com/bitcoin/bitcoin/blob/master/src/wallet/wallet.cpp


Title: Re: wallet.cpp
Post by: mocacinno on May 16, 2017, 09:44:37 AM
A friend has written to me about discovering a wallet from 2011. It's not a wallet.dat etc. but wallet.cpp

I'm curious what this was. There is almost not much information on it later on.
https://github.com/bitcoin/bitcoin/blob/master/src/wallet/wallet.cpp

cpp => c plus plus (c++)
This is basically just bitcoin core's sourcecode... it's not a wallet file, it does not hold private keys or any other personal information, it's just part of the sourcecode, the only thing you can do with it is compile it...

unless your friend has renamed his wallet.dat to wallet.cpp (but that would be a rather big coincidence). If you try to open the file with a text editor, and you can read the code, it's just sourcecode... If you see a bunch of gibberish characters, it might be a renamed wallet.


Title: Re: wallet.cpp
Post by: pbleak on May 16, 2017, 09:51:49 AM
A friend has written to me about discovering a wallet from 2011. It's not a wallet.dat etc. but wallet.cpp

I'm curious what this was. There is almost not much information on it later on.
https://github.com/bitcoin/bitcoin/blob/master/src/wallet/wallet.cpp

cpp => c plus plus (c++)
This is basically just bitcoin core's sourcecode... it's not a wallet file, it does not hold private keys or any other personal information, it's just part of the sourcecode, the only thing you can do with it is compile it...

unless your friend has renamed his wallet.dat to wallet.cpp (but that would be a rather big coincidence). If you try to open the file with a text editor, and you can read the code, it's just sourcecode... If you see a bunch of gibberish characters, it might be a renamed wallet.

Thanks, just found it unusual that it had this name, one of those ones where it was worth asking just in case. Cheers!