{"id":3511,"date":"2015-08-17T00:21:21","date_gmt":"2015-08-17T06:21:21","guid":{"rendered":"http:\/\/benincosa.com\/?p=3511"},"modified":"2015-08-17T12:43:07","modified_gmt":"2015-08-17T18:43:07","slug":"a-full-bitcoin-client","status":"publish","type":"post","link":"https:\/\/benincosa.com\/?p=3511","title":{"rendered":"A Full Bitcoin Client"},"content":{"rendered":"<p>I&#8217;ve been using bitcoin for a few years now but have only used my own wallets, Coinbase, and some other stuff. \u00a0I thought I should make a full client and put it on the network!<\/p>\n<p>I used Metacloud (Cisco OpenStack Private Cloud) and spun up an extra large Ubuntu 14.04 instance that we had! \u00a0I logged in and did the following:<\/p>\n<pre class=\"lang:sh decode:true\">sudo apt-get install -y git\r\ngit clone https:\/\/github.com\/bitcoin\/bitcoin.git\r\ncd bitcoin\r\ngit tag \r\ngit checkout v0.9.5rc2\r\n<\/pre>\n<p>From there I looked at the doc\/build-unix.md and followed the instructions. They worked perfectly!<\/p>\n<pre class=\"lang:sh decode:true \">sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libboost-all-dev\r\nsudo add-apt-repository ppa:bitcoin\/bitcoin\r\nsudo apt-get update\r\nsudo apt-get install libdb4.8-dev libdb4.8++-dev\r\n.\/autogen \r\n.\/configure \r\nmake\r\nsudo make install \r\n<\/pre>\n<p>Once that is done, you can start the bitcoin client by running:<\/p>\n<pre class=\"lang:sh decode:true \">bitcoind<\/pre>\n<p>It will tell you that you need to set a password and will suggest one for you. \u00a0Take the suggestion and create the file ~\/.bitcoin\/bitcoin.conf and copy the password in there. \u00a0It might look like:<\/p>\n<pre class=\"lang:sh decode:true \" title=\"~\/.bitcoin\/bitcoin.conf\">rpcuser=bitcoinrpc\r\nrpcpassword=6Z3N6zq5....<\/pre>\n<p>Now you can start it:<\/p>\n<pre class=\"lang:sh decode:true \">bitcoind -daemon<\/pre>\n<p>This will take a while to download the blockchain. \u00a0You can see all the blocks as they&#8217;ll be downloaded to the ~\/.bitcoin\/blocks directory.<\/p>\n<p>But now we have it! \u00a0A node in the bitcoin service!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been using bitcoin for a few years now but have only used my own wallets, Coinbase, and some other stuff. \u00a0I thought I should make a full client and put it on the network! I used Metacloud (Cisco OpenStack Private Cloud) and spun up an extra large Ubuntu 14.04 instance that we had! \u00a0I&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[810],"tags":[811,812],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts\/3511"}],"collection":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3511"}],"version-history":[{"count":3,"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts\/3511\/revisions"}],"predecessor-version":[{"id":3515,"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts\/3511\/revisions\/3515"}],"wp:attachment":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}