Author

Topic: Open the Blockchain in a Database (Read 482 times)

newbie
Activity: 16
Merit: 0
July 30, 2013, 06:16:53 AM
#7
The blocks are stored in something called LevelDB, which is already a very capable database format. While you wouldn't have any fun opening it up in Excel (it's 10GB afteral), you can use a python application named Abe to throw it all into a Postgres/MySQL database if you really insist. I would personally advise against it though.

https://github.com/jtobey/bitcoin-abe
newbie
Activity: 9
Merit: 0
July 30, 2013, 05:46:10 AM
#6
Shoot I do too. Why did I think those were plaintext? Somebody who knows better will have to help.
hero member
Activity: 824
Merit: 712
July 29, 2013, 08:04:44 PM
#5
I just get a bunch of scrambled characters.
newbie
Activity: 9
Merit: 0
July 29, 2013, 08:01:24 PM
#4
Correct me if I'm wrong, but isn't the blockchain stored as plaintext? Can't you just view it by concatenating all the blockXX.dat files in the "~/.bitcoin/blocks" folder and just view them with a text viewer?
hero member
Activity: 824
Merit: 712
July 29, 2013, 07:47:14 PM
#3
I want the whole blockchain.  It would take years viewing 1 block at a time.
full member
Activity: 210
Merit: 100
July 29, 2013, 07:41:37 PM
#2
can you just use blockchain.info to get the information you need
hero member
Activity: 824
Merit: 712
July 29, 2013, 07:23:57 PM
#1
Can anyone tell me how to open the blockchain using a database program such as Access?  I apparently have the blockchain since I have bitcoin installed but I can not view it in anything but the native program.  I tried importing the dat files but couldn't.
Jump to: