Author

Topic: Raw blocks (Read 1497 times)

legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
April 01, 2013, 02:16:40 PM
#9
You can use the Bitcoind api/command in windows and linux. I believe you need to look up each block 0 up until the latest block and output each block info

RPC only allows a JSON output, and only shows the hashes of transactions, not the full content of the block.
Code:
>bitcoind.exe getblock 000000000003ba27aa200b1cecaad478d2b00432346c3f1f3986da1afd33e506
{
    "hash" : "000000000003ba27aa200b1cecaad478d2b00432346c3f1f3986da1afd33e506",
    "confirmations" : 129031,
    "size" : 957,
    "height" : 100000,
    "version" : 1,
    "merkleroot" : "f3e94742aca4b5ef85488dc37c06c3282295ffec960994b2c0d5ac2a25a95766",
    "tx" : [
        "8c14f0db3df150123e6f3dbbf30f8b955a8249b62ac1d1ff16284aefa3d06d87",
        "fff2525b8931402dd09222c50775608f75787bd2b87e56995a7bdd30f79702c4",
        "6359f0868171b1d194cbee1af2f16ea598ae8fad666d9b012c8ed2b79a236ec4",
        "e9a66845e05d5abc0ad04ec80f774a7e585c6e8db975962d069a522137b80c1d"
    ],
    "time" : 1293623863,
    "nonce" : 274148111,
    "bits" : "1b04864c",
    "difficulty" : 14484.16236123,
    "previousblockhash" : "000000000002d01c1fccc21636b607dfd930d31d01c3a62104612a1719011250",
    "nextblockhash" : "00000000000080b66c911bd5ba14a74260057311eaeb1982802f7010f1a9f090"
}

It looks like what you are looking for actually existed before:
https://bitcointalksearch.org/topic/new-web-service-obtain-dump-of-bitcoin-block-nnnn-928

pynode also is a good way to access raw blocks; look at how mkbootstrap pulls raw blocks out of the pynode blockchain.

I thought there was a way to use that information to "get" the transaction list from the block ( i can't remember which code that took right now but im almost sure there was a way ) its just not convient as "abe" or other already made solutions.
legendary
Activity: 1512
Merit: 1036
April 01, 2013, 03:58:12 AM
#8
You can use the Bitcoind api/command in windows and linux. I believe you need to look up each block 0 up until the latest block and output each block info

RPC only allows a JSON output, and only shows the hashes of transactions, not the full content of the block.
Code:
>bitcoind.exe getblock 000000000003ba27aa200b1cecaad478d2b00432346c3f1f3986da1afd33e506
{
    "hash" : "000000000003ba27aa200b1cecaad478d2b00432346c3f1f3986da1afd33e506",
    "confirmations" : 129031,
    "size" : 957,
    "height" : 100000,
    "version" : 1,
    "merkleroot" : "f3e94742aca4b5ef85488dc37c06c3282295ffec960994b2c0d5ac2a25a95766",
    "tx" : [
        "8c14f0db3df150123e6f3dbbf30f8b955a8249b62ac1d1ff16284aefa3d06d87",
        "fff2525b8931402dd09222c50775608f75787bd2b87e56995a7bdd30f79702c4",
        "6359f0868171b1d194cbee1af2f16ea598ae8fad666d9b012c8ed2b79a236ec4",
        "e9a66845e05d5abc0ad04ec80f774a7e585c6e8db975962d069a522137b80c1d"
    ],
    "time" : 1293623863,
    "nonce" : 274148111,
    "bits" : "1b04864c",
    "difficulty" : 14484.16236123,
    "previousblockhash" : "000000000002d01c1fccc21636b607dfd930d31d01c3a62104612a1719011250",
    "nextblockhash" : "00000000000080b66c911bd5ba14a74260057311eaeb1982802f7010f1a9f090"
}

It looks like what you are looking for actually existed before:
https://bitcointalksearch.org/topic/new-web-service-obtain-dump-of-bitcoin-block-nnnn-928

pynode also is a good way to access raw blocks; look at how mkbootstrap pulls raw blocks out of the pynode blockchain.
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
April 01, 2013, 02:04:59 AM
#7
You can use the Bitcoind api/command in windows and linux. I believe you need to look up each block 0 up until the latest block and output each block info
legendary
Activity: 1512
Merit: 1036
April 01, 2013, 02:03:07 AM
#6
The easiest (hardest if you expect someone else to do the work) solution if you want a web site that offers something different is to modify ABE to display data as you wish.
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
March 31, 2013, 07:38:54 PM
#5
Because the system has currently access to HTTP and nothing else
kjj
legendary
Activity: 1302
Merit: 1026
March 31, 2013, 07:20:47 PM
#4
Why not just parse them out of the files directly?
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
March 31, 2013, 05:38:48 PM
#3
Thanks, sent
But I'm still interested in a website that can provide all of them
jr. member
Activity: 42
Merit: 11
March 31, 2013, 03:08:46 PM
#2
I have some. PM me, if you need them.
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
March 31, 2013, 02:45:26 PM
#1
Hi,
I want to know if there is a website that has the raw blocks data.
I didn't find anything like this in blockchain.info and BBE doesn't give the raw data but the json dump of it...
Jump to: