Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: mrb on March 10, 2012, 12:02:18 PM



Title: v0.1
Post by: mrb on March 10, 2012, 12:02:18 PM
Who has the source code of the first version of Bitcoin (0.1), as released in February 2009?
The oldest source tarball on Sourceforge is 0.2.0.
The first commit in the GitHub repo is 0.1.5 alpha.


Edit: As per my post below:
Hal sent me two archives of version 0.1.0 (a rar, and a tgz, both of the same source tree). I uploaded them to my site:

http://www.zorinaq.com/pub/bitcoin-0.1.0.rar
http://www.zorinaq.com/pub/bitcoin-0.1.0.tgz

SHA256:
8b17eb9a5707f2519defda4cdf8d14fa1b8dee630e11e6ef85ff9f5547555b56  bitcoin-0.1.0.rar
ce9da46516e3042741224a7f9061e3181a5a4d17abba72b6e82922af3753d756  bitcoin-0.1.0.tgz

SHA1:
ec9ed4ccbc990eceb922ff0c4d71d1ad466990dd  bitcoin-0.1.0.rar
35f83eaa334e0e447ceea77a7cc955a4ccdd1a1d  bitcoin-0.1.0.tgz

MD5:
91e2dfa2af043eabbb38964cbf368500  bitcoin-0.1.0.rar
dca1095f053a0c2dc90b19c92bd1ec00  bitcoin-0.1.0.tgz



Title: Re: v0.1
Post by: twobitcoins on March 10, 2012, 08:26:46 PM
Earlier thread on this topic:

how can I get a copy of the original source (0.1.0)? (https://bitcointalk.org/index.php?topic=49815.0)


Title: Re: v0.1.3
Post by: deepceleron on March 14, 2012, 01:13:12 AM
Maybe you can ask Hal Finney (http://www.finney.org/~hal/) if he has a copy, he was a Sourceforge developer on the project (http://web.archive.org/web/20090105145118/http://sourceforge.net/project/memberlist.php?group_id=244765) at the time of the genesis block, and before the announcement of v0.1.0's release.

Note that versions before 0.2.10 no longer work (http://bitcoin.org/feb20).



Title: Re: v0.1
Post by: mrb on March 15, 2012, 07:44:13 AM
I found 0.1.3 through twobitcoin's linked thread. It purportedly is the same source tarball as 0.1.0, so I have what I needed. Thanks.


Title: Re: v0.1
Post by: Hal on March 16, 2012, 05:21:18 AM
I recently found the 0.1 source code on one of my computers. I can send it if you want it, but I'm pretty severely disabled these days, so it may take me a while to respond.


Title: Re: v0.1
Post by: mrb on March 16, 2012, 08:07:38 AM
I would love it: m.bevand at gmail.com
Take your time, it is not urgent.


Title: Re: v0.1
Post by: mcorlett on March 16, 2012, 01:54:44 PM
I would love it: m.bevand at gmail.com
Take your time, it is not urgent.
Can you pass it on to me when you receive it?
milton.corlett@gmail.com


Title: Re: v0.1
Post by: deepceleron on March 16, 2012, 03:19:39 PM
I would love it: m.bevand at gmail.com
Take your time, it is not urgent.
Can you pass it on to me when you receive it?
milton.corlett@gmail.com
Me too, I can host it. It would be interesting to see if indeed 0.1.0 = 0.1.3 which seems improbable (just putting "v0.1.3" in the comments would change the hash). Apparently 0.1.2 was released with a bug that needed reversion, but it's hard to write Bitcoin history with files (and an entire forum) disappearing from sourceforge. I don't think there will be anything interesting in the code, like the "(c) James L. Smith aka Satoshi" you are seeking.


Title: Re: v0.1
Post by: DeathAndTaxes on March 16, 2012, 03:27:48 PM
bitcoin.org should attempt to locate, archive, and host the older versions for posterity.


Title: Re: v0.1
Post by: mcorlett on March 16, 2012, 07:40:41 PM
Thanks a lot, Hal.

Diffs:
http://pastebin.com/raw.php?i=vBYdkMhY
http://pastebin.com/raw.php?i=pbcndUsS (omitting bitcoin.exe for obvious reasons)


Title: Re: v0.1
Post by: BadBear on March 17, 2012, 07:46:24 PM
bitcoin.org should attempt to locate, archive, and host the older versions for posterity.

I agree, would be nice to see.


Title: Re: v0.1
Post by: MysteryMiner on March 22, 2012, 01:07:04 AM
I first heard about Bitcoin on Freenet. There still might exist Freepages with old files.


Title: Re: v0.1
Post by: mrb on March 22, 2012, 08:10:24 AM
Hal sent me two archives of version 0.1.0 (a rar, and a tgz, both of the same source tree). I uploaded them to my site:

http://www.zorinaq.com/pub/bitcoin-0.1.0.rar
http://www.zorinaq.com/pub/bitcoin-0.1.0.tgz

SHA1:
ec9ed4ccbc990eceb922ff0c4d71d1ad466990dd  bitcoin-0.1.0.rar
35f83eaa334e0e447ceea77a7cc955a4ccdd1a1d  bitcoin-0.1.0.tgz

MD5:
91e2dfa2af043eabbb38964cbf368500  bitcoin-0.1.0.rar
dca1095f053a0c2dc90b19c92bd1ec00  bitcoin-0.1.0.tgz


All, please mirror them!


Title: Re: v0.1
Post by: deepceleron on March 22, 2012, 02:21:51 PM
I've got them up too:

http://we.lovebitco.in/bitcoin-0.1.0.rar
md5: 91e2dfa2af043eabbb38964cbf368500 *bitcoin-0.1.0.rar

http://we.lovebitco.in/bitcoin-0.1.3.rar
md5: 9a73e0826d5c069091600ca295c6d224 *bitcoin-0.1.3.rar

What is more annoying is that all Bitcoin releases before 0.3.24 were just deleted from sourceforge. Why?? Here's Linux 1.0.0 from 1994 (http://ftp.kernel.org/pub/linux/kernel/v1.0/), they aren't trying to erase their history...

(new links updated)


Title: Re: v0.1
Post by: MysteryMiner on March 22, 2012, 03:50:13 PM
I've got them up too:

http://we.lovebitco.in/bitcoin-0.1.0.rar
md5: 91e2dfa2af043eabbb38964cbf368500 *bitcoin-0.1.0.rar

http://we.lovebitco.in/bitcoin-0.1.3.rar
md5: 9a73e0826d5c069091600ca295c6d224 *bitcoin-0.1.3.rar

What is more annoying is that all Bitcoin releases before 0.3.24 were just deleted from sourceforge. Why?? Here's Linux 1.0.0 from 1994 (http://ftp.kernel.org/pub/linux/kernel/v1.0/), they aren't trying to erase their history...
If I was up to something fishy, I would delete either the good versions, or bad ones depending on circumstances.


Title: Re: v0.1
Post by: Gavin Andresen on March 22, 2012, 05:23:19 PM
What is more annoying is that all Bitcoin releases before 0.3.24 were just deleted from sourceforge. Why?? Here's Linux 1.0.0 from 1994 (http://ftp.kernel.org/pub/linux/kernel/v1.0/), they aren't trying to erase their history...

That's source code for the kernel, right?

I removed the old binary releases from SourceForge because it was getting annoying to find things like testnet-in-a-box in that very long list, and also getting hard to see what the latest release was. And with our gitian reproducible build process, the windows/linux binaries for recent releases are deterministically reproducible from the source code.

See https://github.com/bitcoin/bitcoin/tags  for the history back to the 0.1.5 release.  Uploading 0.1 to github is a good idea, maybe somebody who knows more about git than I do can suggest the best way to do that.


Title: Re: v0.1
Post by: mcorlett on March 22, 2012, 05:30:16 PM
What is more annoying is that all Bitcoin releases before 0.3.24 were just deleted from sourceforge. Why?? Here's Linux 1.0.0 from 1994 (http://ftp.kernel.org/pub/linux/kernel/v1.0/), they aren't trying to erase their history...
That's source code for the kernel, right?
Yes.


Title: Re: v0.1
Post by: mc_lovin on January 21, 2013, 07:57:02 AM
I have a copy up, too!  This is epic!  When I started looking for the antique versions, I was not expecting to actually find them!

Thank you Hal!!!

Thank you mrb and deepceleron as well!

http://www.bitcointrading.com/forum/bitcoin-clients/original-bitcoin-source-code-archives/


Title: Re: v0.1
Post by: The 4ner on December 09, 2013, 07:16:19 PM
I recently found the 0.1 source code on one of my computers. I can send it if you want it, but I'm pretty severely disabled these days, so it may take me a while to respond.

I too would like a copy of the original source code. If you can email it to me that would be awesome! I'll PM you my email address.


Title: Re: v0.1
Post by: malevolent on December 09, 2013, 07:30:14 PM
I recently found the 0.1 source code on one of my computers. I can send it if you want it, but I'm pretty severely disabled these days, so it may take me a while to respond.

I too would like a copy of the original source code. If you can email it to me that would be awesome! I'll PM you my email address.

Links were already posted, they are both working, and one of them is posted right above your post:

http://we.lovebitco.in/bitcoin-0.1.0.rar
http://www.bitcointrading.com/files/bitcoin-0.1.0.rar


Title: Re: v0.1
Post by: The 4ner on December 09, 2013, 07:32:00 PM
I recently found the 0.1 source code on one of my computers. I can send it if you want it, but I'm pretty severely disabled these days, so it may take me a while to respond.

I too would like a copy of the original source code. If you can email it to me that would be awesome! I'll PM you my email address.

Links were already posted, they are both working, and one of them is posted right above your post:

http://we.lovebitco.in/bitcoin-0.1.0.rar
http://www.bitcointrading.com/files/bitcoin-0.1.0.rar

I know there's one above my post but I can't assure that it's trojan free. I'd rather get it straight from a trustworthy source.
I didn't notice the other source. I'll check it.


Title: Re: v0.1
Post by: The 4ner on December 09, 2013, 07:33:33 PM
I recently found the 0.1 source code on one of my computers. I can send it if you want it, but I'm pretty severely disabled these days, so it may take me a while to respond.

I too would like a copy of the original source code. If you can email it to me that would be awesome! I'll PM you my email address.

Links were already posted, they are both working, and one of them is posted right above your post:

http://we.lovebitco.in/bitcoin-0.1.0.rar
http://www.bitcointrading.com/files/bitcoin-0.1.0.rar

Nevermind I saw mrb's post. I got them now. Thanks!


Title: Re: v0.1
Post by: k99 on February 24, 2014, 05:36:31 PM
Interesting to see that Satoshi has planned a P2P market place in the original version (see market.cpp, ui.cpp,...).
Does anybody know more about that?
Seems that those are only relicts from an earlier version.


Title: Re: v0.1
Post by: leathan on November 15, 2014, 06:47:12 PM
I'm hosting the file too, to show my homage to Hal Finney.

The man is to me more than a hero, he is legend.

http://bitmarking.net/bitcoin/
Here I will keep the decompressed source tree of the original 0.1.

http://bitmarking.net/bitcoin-0.1.0.tgz
Here I will keep the compressed source.
SHA1: 35f83eaa334e0e447ceea77a7cc955a4ccdd1a1d
SHA256: ce9da46516e3042741224a7f9061e3181a5a4d17abba72b6e82922af3753d756


Thank you so much for your contribution to humanity Hal... may your family live forever wealthy.


Quote
P.S. Please bitcointalk moderators if you are going to delete this post provide me a reason so that I can make the proper amendments... I need to somehow show homage to Hal Finney... I just need to...


Title: Re: v0.1
Post by: walerikus on February 23, 2020, 08:10:56 PM
I have downloaded the 0.1 version of Bitcoin, if I run it, will it generate the first block? Or it will search for connections and once it finds nothing, the node will not run?


Title: Re: v0.1
Post by: DaCryptoRaccoon on February 24, 2020, 07:11:38 PM
I have downloaded the 0.1 version of Bitcoin, if I run it, will it generate the first block? Or it will search for connections and once it finds nothing, the node will not run?

Bitcoin 0.1 will find connection, but certainly can't find other compatible node because it use IRC to find other nodes and the "node" won't run.
Besides, i'm not sure whether Bitcoin 0.1 include list of IRC link or IP of other node.

The early client would connect via IRC by the following ways I though it might be interesting to share how the early client worked and how it connected to the IRC and also to public services for important info.

First it would look for the hostname of chat.freenode.net on port 6667   ( File IRC.CPP )

Code:
 struct hostent* phostent = gethostbyname("chat.freenode.net");
        CAddress addrConnect(*(u_long*)phostent->h_addr_list[0], htons(6667));

It would then set you a Nickname / User

Code:
        Send(hSocket, strprintf("NICK %s\r", strMyName.c_str()).c_str());
        Send(hSocket, strprintf("USER %s 8 * : %s\r", strMyName.c_str(), strMyName.c_str()).c_str());

It would then have a small rest

Sleep(500)

Before sending a request to join the #bitcoin\r channel's on IRC

Code:
        Send(hSocket, "JOIN #bitcoin\r");
        Send(hSocket, "WHO #bitcoin\r");

Something else not many people know is the Net.cpp file would contact public services to get some interesting information for your connection.

( FILE NET.CPP)
Code:
bool GetMyExternalIP(unsigned int& ipRet)
{
    CAddress addrConnect("72.233.89.199:80"); // whatismyip.com 198-200

    SOCKET hSocket;
    if (!ConnectSocket(addrConnect, hSocket))
        return error("GetMyExternalIP() : connection to %s failed\n", addrConnect.ToString().c_str());

    char* pszGet =
        "GET /automation/n09230945.asp HTTP/1.1\r\n"
        "Host: www.whatismyip.com\r\n"
        "User-Agent: Bitcoin/0.1\r\n"
        "Connection: close\r\n"
        "\r\n";
    send(hSocket, pszGet, strlen(pszGet), 0);

As of a few years back you could no longer use the original client without some modifications but it could still be used if changes are made but it's unlikely anyone will make them and publish a working copy of the original client now.