[erlang-questions] bitcoin blockchain

Steve Davis <>
Wed Mar 8 15:01:46 CET 2017


I found this article particularly helpful early on:

http://www.righto.com/2014/02/bitcoins-hard-way-using-raw-bitcoin.html <http://www.righto.com/2014/02/bitcoins-hard-way-using-raw-bitcoin.html>


> On Mar 8, 2017, at 1:34 AM, Joe Armstrong <> wrote:
> 
> To answer my own question(s)
> 
> I found this https://bitslog.wordpress.com/
> which has the answer to many of these questions - the forensic
> analysis of the first few thousand bitcoins makes a very interesting
> read
> 
> /Joe
> 
> On Wed, Mar 8, 2017 at 8:13 AM, Joe Armstrong <> wrote:
>> Thanks Steve,
>> 
>> The code looks great - nicely written :-)
>> 
>> Next step - download the first 20 blocks and *completely* understand them.
>> 
>> BTW - I have a few really stupid questions:
>> 
>> I guess these have been answered before and elsewhere,
>> so I'm just like hints as to where to find the answers.
>> 
>> - How did Satoshi Nakamoto (SN) publish/spread the first bitcoins?
>> - Does a bitcoin user have to download the entire bitcoin chain to do anything?
>> - How much data does an owner of a bitcoin need to store locally
>>  (just their Private key and the hash of the bitcoin???)
>> - How did SN spend the first bitcoins (did he just give them away)
>> - How much is the residual value of SN's coins
>> - How does bitcoin scale into the future - can we make cutoff points
>>  and assume we don't need to go back to the genesis block - ie
>>  assume the genesis block is number 1,000,000 and not bother to go back
>>  further
>> 
>> Cheers
>> 
>> /Joe
>> 
>> 
>> On Wed, Mar 8, 2017 at 1:51 AM, Steve Davis
>> <> wrote:
>>> Hi Joe,
>>> 
>>> You might find this repo helpful:
>>> 
>>> https://github.com/solarbit/pool/tree/master/lib
>>> 
>>> In particular, downloading and parsing old blocks in this:
>>> 
>>> https://github.com/solarbit/pool/blob/master/lib/solarbit/src/sbt_btc_srv.erl
>>> 
>>> I have more code related, so if there were something particular missing, let
>>> me know and I’d be happy to share.
>>> 
>>> BR,
>>> /sd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170308/c86b1fb1/attachment.html>


More information about the erlang-questions mailing list