Go to file
Nick Thomas 5d4f44e776 Add a convenience method to determine the network a message is from 2011-06-21 22:53:04 +01:00
lib Add a convenience method to determine the network a message is from 2011-06-21 22:53:04 +01:00
spec Add a convenience method to determine the network a message is from 2011-06-21 22:53:04 +01:00
.gitignore Initial import 2011-06-04 22:53:33 +01:00
CHANGELOG Initial import 2011-06-04 22:53:33 +01:00
README Initial import 2011-06-04 22:53:33 +01:00
Rakefile Initial import 2011-06-04 22:53:33 +01:00
btc_wire_proto.gemspec Initial import 2011-06-04 22:53:33 +01:00

README

README
======

btc_wire_proto is a library that serialises and deserialises messages in the
Bitcoin wire format. Getting the data from (and sending it to) the network,
finding peers, validating blocks, building a block chain, etc. are all out of
scope.

Specification of the protocol is here:
https://en.bitcoin.it/wiki/Protocol_specification

Alternative Ruby libraries that sort-of look at the same area:
https://github.com/altamic/bitcoin-protocol
https://github.com/lian/bitcoin-ruby

This library differs from the others in that it leverages bindata to do the
heavy lifting. Results in less, easier-to-read, more robust code.