Commit Graph

20 Commits

Author SHA1 Message Date
Braydon Fuller
e31f28e973 cleanup builder options 2015-03-13 20:54:50 -04:00
Braydon Fuller
6007dc6faf updated to use mapped constructers and removed build method 2015-03-13 20:49:24 -04:00
Braydon Fuller
3b53593288 added tests for pool.listen and improved arguments for tx and block messages 2015-03-13 14:50:17 -04:00
Braydon Fuller
8c9babc093 added tests for command edge cases 2015-03-13 13:45:51 -04:00
Braydon Fuller
a8b8c59069 added default options for all command messages, and added tests 2015-03-13 12:50:55 -04:00
Braydon Fuller
4ecb34e123 updated bitconid integration test to use exposed message constructors 2015-03-13 12:06:07 -04:00
Braydon Fuller
641443f6dd expose message construtors by name 2015-03-13 10:15:41 -04:00
Patrick Nagurny
7f61fc62d4 listen for incoming connections 2015-03-12 18:22:45 -04:00
Braydon Fuller
faf2bb1868 updated bitcoind integration test 2015-03-12 12:17:57 -04:00
Braydon Fuller
091893b1e4 whitespace cleanup 2015-03-12 10:58:36 -04:00
Braydon Fuller
2eb7712ab8 organized commands to build from an array 2015-03-12 10:48:45 -04:00
Braydon Fuller
e460bf915d moved the rest of the commands into seperate files 2015-03-12 10:41:35 -04:00
Braydon Fuller
feda6e9370 pass options directly into command messages 2015-03-12 04:54:52 -04:00
Braydon Fuller
3c2afed5f5 moved ping and verack to seperate files 2015-03-12 04:48:58 -04:00
Braydon Fuller
6ca2f6982c Moved block and version messages and shared utils into seperate files. 2015-03-12 04:34:30 -04:00
Braydon Fuller
608e41de07 added test coverage for peer 2015-03-12 01:12:45 -04:00
Braydon Fuller
42288e8354 removed "buildFromObject" alias 2015-03-12 00:05:27 -04:00
Braydon Fuller
32a28b133a Removed bufferput dependency 2015-03-11 23:57:08 -04:00
Braydon Fuller
11bee8b900 Improved API:
- Renamed "Commands" to "builder"
- "Messages.parseMessage" to "Messages.parseBuffer"
- Changed to use private methods for "discardUntilNextMessage" and "buildFromBuffer"
- Cleaned up tests
2015-03-11 23:57:08 -04:00
Braydon Fuller
e8f0725081 Moved commands, message and messages to directory 2015-03-11 23:57:08 -04:00