What is the blockchain?
The blockchain is a file that contains a list of every bitcoin transaction ever made.
Everyone on the bitcoin network shares a copy of this file, and it updates regularly with the latest transactions.
Why is the blockchain important?
The blockchain tells you how many bitcoins each person owns.
This is because having a complete list of transactions allows you to work out how many bitcoins are located at each address. Therefore, you can figure out how many bitcoins each person has.
The blockchain is like a logbook, or a ledger.
Ledger – a book in which the monetary transactions of a business are posted in the form of debits and credits.
Why is it called the blockchain?
Because transactions aren’t added to the file individually. Instead, they are bunched together and added in blocks. Hence, blockchain.
Also, these blocks are linked together, so any changes made to a block lower down the chain will change the blocks above it. So linkedblocks, or blockchain.
The block-ing of transactions makes it easier for everyone to share a copy of the blockchain. With the Internet connection speeds we’ve got, it’s much easier to share a file that updates once every 10 minutes, than one that updates multiple times a second.
The chaining of transactions is a security feature. It makes it difficult to tamper with the blockchain without anyone noticing.
How is the blockchain shared?
P2P file sharing is a topic of it’s own, but for now just know that the blockchain is shared like a BitTorrent file across the bitcoin network.
Where can I get a copy of the blockchain?
You can get your own copy of a genuine, bona fide, electrified
monorail by downloading the original bitcoin client.
Once installed and running, the client will connect to the network and start downloading the blockchain. It’s 120+GB, so give it some time.
When the download finishes you’ll have a complete copy of the blockchain, and a list of every bitcoin transaction ever made is in your hands. Furthermore, every time you run the bitcoin client you will be helping to share this file with everyone else joining the network. Some of your friends may even start calling you a “Full Node”.
By keerping a copy of the blockchain and sharing it with other people on the network, you make bitcoin stronger.
If you’re a fan of bittorrent, you could think of yourself as seeding the blockchain. Everyone loves a seeder.
Where is the blockchain file stored on my computer?
The blockchain is stored in files with names like this:
blk00000.dat. There’s also
blk00002.dat, and so on. (It’s split in to multiple files because it’s easier than working with one huge file.)
Their location depends on what operating system you’re using:
However, these .dat files contain data that is designed for a computer to read, so if you open one you’ll see a lot of mumbo-jumbo. But trust me, all the transactions are in there.
If you want to browse around a readable version of the blockchain, try my blockchain browser. I basically take the data from the blk*.dat files (the very same copies you have), parse them, and display the contents on a web page.