Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: BlackHatCoiner on August 11, 2020, 02:34:18 PM



Title: Can I run bitcoin v0.1 on a windows 10 device?
Post by: BlackHatCoiner on August 11, 2020, 02:34:18 PM
Can I somehow? Because I see that when I try to run it, nothing happens. Maybe it only works on XP or vista.

This is the thread: https://bitcointalk.org/index.php?topic=68121.0


Title: Re: Can I run bitcoin v0.1 on a windows 10 device?
Post by: achow101 on August 11, 2020, 03:16:51 PM
It worked last time I tried a few years ago. Of course there is no way for it to connect to the Bitcoin network, but the software runs.


Title: Re: Can I run bitcoin v0.1 on a windows 10 device?
Post by: BlackHatCoiner on August 11, 2020, 03:27:07 PM
Is the source code somewhere posted?


Title: Re: Can I run bitcoin v0.1 on a windows 10 device?
Post by: achow101 on August 11, 2020, 03:52:26 PM
Is the source code somewhere posted?

The original source and binaries can be found here: https://satoshi.nakamotoinstitute.org/code/. The 0.1.0 download contains both the source and compiled binary.


Title: Re: Can I run bitcoin v0.1 on a windows 10 device?
Post by: HCP on August 11, 2020, 09:44:00 PM
It's working fine here...
https://talkimg.com/images/2023/11/15/zyf5g.png


NOTE: You will likely need to remove/rename any "C:\Users\[USERNAME]\AppData\Roaming\Bitcoin" directory first... v0.1.0 uses the same datadir location as modern versions and it's not compatible with the current files ;)

It chucked out a bunch of errors when I first started it, and in the log I saw that it was attempting to parse the existing data ::) Renamed the directory, restarted v0.1.0 and it worked just fine.


Title: Re: Can I run bitcoin v0.1 on a windows 10 device?
Post by: BlackHatCoiner on August 12, 2020, 06:55:17 AM
https://i.imgur.com/NKTBsjG.png

I get not responding... I've deleted the Bitcoin folder in %AppData%


Title: Re: Can I run bitcoin v0.1 on a windows 10 device?
Post by: joniboini on August 12, 2020, 11:31:48 AM
I get not responding... I've deleted the Bitcoin folder in %AppData%
Nobody can tell the reason just from your screenshot. Check the logs, use Event Viewer or any other logging program that you have.


Title: Re: Can I run bitcoin v0.1 on a windows 10 device?
Post by: HCP on August 12, 2020, 01:00:38 PM
I get not responding... I've deleted the Bitcoin folder in %AppData%
Yeah... mine said "(Not Responding)" for a few minutes, but it eventually came right and the app appeared to be working OK (ignoring the fact that it had 0 connections and only 1 block! :P ;))

Check the debug.log in the AppData/Roaming/Bitcoin folder and see if there is anything in there... when mine is "not responding"... it is stuck here:
Code:
bound to addrLocalHost = 192.xxx.xxx.xxx:8333

Then, after it becomes responsive again, it outputs the following in the log:
Code:

ERROR: GetMyExternalIP() : connection to xxx.xxx.xxx.xxx:80 failed

RefreshListCtrl starting
RefreshListCtrl done
IRC :cherryh.freenode.net NOTICE * :*** Looking up your hostname...
ThreadSocketHandler started

ThreadMessageHandler started
....


Title: Re: Can I run bitcoin v0.1 on a windows 10 device?
Post by: BlackHatCoiner on August 12, 2020, 03:17:26 PM
I get not responding... I've deleted the Bitcoin folder in %AppData%
Nobody can tell the reason just from your screenshot. Check the logs, use Event Viewer or any other logging program that you have.

Sorry, you're right. This is my debug.log:
Code:
Bitcoin CMyApp::OnInit()
Loading addresses...
dbenv.open strAppDir=C:\Users\LE\AppData\Roaming\Bitcoin
mapAddresses:
-----
 addresses                3066049
Loading block index...
000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b
000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
0x5F1DF16B2B704C8A578D0BBAF74D385CDE12C11EE50455F3C438EF4C3FBCF649B6DE611FEAE06279A60939E028A8D65C10B73071A6F16719274855FEB0FD8A6704 OP_CHECKSIG
CBlock(hash=000000000019d6, ver=1, hashPrevBlock=00000000000000, hashMerkleRoot=4a5e1e, nTime=1231006505, nBits=1d00ffff, nNonce=2083236893, vtx=1)
  CTransaction(hash=4a5e1e, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(000000, -1), coinbase 04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73)
    CTxOut(nValue=50.00000000, scriptPubKey=0x5F1DF16B2B704C8A578D0B)
  vMerkleTree: 4a5e1e
AddToBlockIndex: new best=000000000019d6  height=0
RelayWalletTransactions()
 block index              8084964
Loading wallet...
fGenerateBitcoins = 0
nTransactionFee = 0
addrIncoming = 0.0.0.0:0
 wallet                  27950229
Done loading
mapBlockIndex.size() = 1
nBestHeight = 0
mapKeys.size() = 1
mapPubKeys.size() = 1
mapWallet.size() = 0
mapAddressBook.size() = 1
addrLocalHost = 192.168.43.235:8333
bound to addrLocalHost = 192.168.43.235:8333

On %AppData% (Bitcoin folder) I only get these:
https://i.imgur.com/tHA3Fd0.png

(No log files. Neither inside the database.)


Title: Re: Can I run bitcoin v0.1 on a windows 10 device?
Post by: HCP on August 12, 2020, 11:02:47 PM
Seems like it might be stuck somewhere around here:
Code: (https://www.ic.unicamp.br/~stolfi/EXPORT/projects/bitcoin/satoshi-code/bitcoin/src/net.cpp)
bool GetMyExternalIP(unsigned int& ipRet)
{
    CAddress addrConnect("72.233.89.199:80"); // whatismyip.com 198-200
...

Did you get the Windows Firewall popup asking to allow the program network access when you first ran the program? Perhaps it's been blocked in your firewall and now it is just stuck endlessly trying to contact a (non-existent) IP address and isn't timing out properly.