18 Commits

Author SHA1 Message Date
Nick Thomas
00ce004ae5 Skeletor of integrating em-bitcoin with sharpcoin.
The server process actually runs now(!) - although it does nothing
useful.
2011-06-21 22:53:57 +01:00
Nick Thomas
561d7c5777 Allow lazy actor initialization, add receive_packet, check packet network 2011-06-21 22:52:06 +01:00
Nick Thomas
21ad42894e Respect BtcWireProto changes, make another step towards tests 2011-06-21 21:18:23 +01:00
Nick Thomas
eb764e4acb In theory, version exchange for client and server works now.
Test rig isn't there yet, so untested at the moment.

Added a simple README
2011-06-10 23:14:39 +01:00
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
3d7b3dd329 Remove BtcWireProto from this repository - it's split out now 2011-06-04 23:00:35 +01:00
Nick Thomas
d1c433b92c State machine gubbins. We need tests. 2011-05-19 23:13:34 +01:00
Nick Thomas
ccfdad020a Fix some spacing 2011-05-19 22:56:37 +01:00
Nick Thomas
dd2c02a206 Test out the Version message 2011-05-19 21:40:26 +01:00
Nick Thomas
7e31f3976d More tests and fixes. Currently fixing Message - see the Version message test 2011-05-19 01:06:54 +01:00
Nick Thomas
f3f89283e2 Now we're getting somewhere. First test written and passed. 2011-05-18 19:16:47 +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
Nick Thomas
ae7e3a1acd Fix the second-choice logger 2011-05-15 02:05:02 +01:00
Nick Thomas
9abcd28843 Log proxy for the web interface 2011-05-15 02:04:32 +01:00
Nick Thomas
103dcea1c1 Add sane sinatra defaults for the web services 2011-05-15 01:38:34 +01:00
Nick Thomas
8b5a14953f Very simple telnet interface 2011-05-15 01:37:32 +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