FacebookTwitter

Analyzing Bitcoin’s Blockchain – Part 2

By on Jan 23, 2018 in Analytics, Blockchain | 0 comments

In this post, I’ll walk you through installing BlockSci and converting the raw blockchain into a format that we can use in C++ and Python3 (with or without Jupyter). First, download and install BlockSci.  Follow the instructions on the installation page and when you get to the end, you might run into a few issues. When you get to the last few steps of the install and build – these steps: cd libs/bitcoin-api-cpp mkdir release cd release cmake -DCMAKE_BUILD_TYPE=Release .. make sudo make install cd ../../.. mkdir release cd release cmake -DCMAKE_BUILD_TYPE=Release .. make sudo make install You might get an error that looks something like this: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20′ not found If this happens, then you might have the same issue I did.  I fixed it by doing the following: go to the right location and backup your...

Analyzing Bitcoin’s Blockchain

By on Jan 15, 2018 in Analytics, Blockchain | 0 comments

So you’ve got Bitcoin fever, and you’d like to understand more about how it works. What exactly is contained in the underlying blockchain? This series will have 3 parts: Installing Bitcoin and Jupyter Notebook Installing BlockSci and Converting Data for Analysis Analyzing Blockchain Data So what is Blockchain?  Let’s consult Wikipedia… A blockchain, originally block chain, is a continuously growing list of records, called blocks, which are linked and secured using cryptography. Each block typically contains a hash pointer as a link to a previous block, a timestamp and transaction data. By design, blockchains are inherently resistant to modification of the data. It is “an open, distributed ledger that can record transactions between two parties efficiently and in a verifiable and permanent way”. For use as a distributed ledger, a blockchain is...