Where can I find a raw version of the Bitcoin blocks and other messages that are sent between the Bitcoin clients?


The wiki describes this: - https://en.bitcoin.it/wiki/Protocol_specification#Common_structures

BlockExplorer will show the raw data. For example: - http://blockexplorer.com/rawblock/00000000000008d11f13eed2e13f2765eceaf00de36e0ec040a10cc3738bdc74

| improve this answer | |
  • The BlockExplorer shows data in human readable json format. The Protocol Specification page shows raw bytes of data, but to be used it would require cleaning up, and it's only one example per each case. To test developing applications one usually should have more test cases. – ThePiachu Sep 28 '11 at 16:23
  • There are at least three open source projects that read from the wire which might give you guidance: the Bitcoin client, libbitcoin: bitcoinconsultancy.com/wiki/index.php/Libbitcoin and BitcoinJ – Stephen Gornick Sep 28 '11 at 17:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.