Commit Graph

5 Commits

Author SHA1 Message Date
Nick Thomas
d90b5585ef in-place commit: state machine was a silly idea
Replace with the outline of a simpler scheme. We should be able to
read messages from the wire now, and we will act on messages via a
passed-in instance.

Next is to implement send_version and send_verack; and the receive
equivalents in BitcoinServer. Then we can build a test rig to have
a play.

Once that's tested, we can implement a simple message and start on
the actor - which will be the first non-trivial bit of sharp-coin
proper. We'll be adding features and validations to em-bitcoin &
btc_wire_proto as sharp-coin begin to depend on them for correct
behaviour, and not before.
2011-06-09 22:05:03 +01:00
Nick Thomas
d1c433b92c State machine gubbins. We need tests. 2011-05-19 23:13:34 +01:00
Nick Thomas
7d3848abca One more in-place commit. Moved BtcWireProto to its own file, added some features 2011-05-17 23:59:14 +01:00
Nick Thomas
31ec01797f Massive-ish in-place commit.
Start of database, wire protocol specification
2011-05-15 23:32:50 +01:00
Nicholas Thomas
5554ff2dbe Starting point
None of this code is final - indeed, most of it is just gubbins -
but it shows the path I mean to take with the code, I hope.

Much more to come.
2011-05-15 00:36:57 +01:00