Commit Graph

198 Commits

Author SHA1 Message Date
Braydon Fuller
f17bbf5d6f updated jsdocs for peer and pool 2015-03-16 10:29:51 -04:00
Braydon Fuller
ede5f0b60c add test for seed event, and remove test stubs 2015-03-13 23:29:26 -04:00
Braydon Fuller
e62ddd93f6 added test for handling addr times and v6 addresses 2015-03-13 23:23:52 -04:00
Braydon Fuller
1545abbea0 added test for version message handling 2015-03-13 22:30:00 -04:00
Braydon Fuller
6db209b9b6 added test for message utils 2015-03-13 21:59:32 -04:00
Braydon Fuller
a15f11cc32 add test for default magic for command messages 2015-03-13 21:54:47 -04:00
Braydon Fuller
a57f864a6e updated documentation for peer and pool 2015-03-13 21:20:42 -04:00
Braydon Fuller
cfbee2d71f update documentation for messages 2015-03-13 21:13:15 -04:00
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
97f39db081 added tests for pool _addConnectedPeer 2015-03-13 15:05:08 -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
Braydon Fuller
6461748cd5 make listening optional and fixed peer test 2015-03-12 18:52:31 -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
1dfe7091b4 added test for pool.sendMessage 2015-03-12 00:48:05 -04:00
Braydon Fuller
d63c1171db added test for inventory fromBufferReader 2015-03-12 00:37:15 -04:00
Braydon Fuller
7e29af4542 added missing precondition and moved buffer.skip to new file 2015-03-12 00:18:09 -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
Braydon Fuller
0b20724288 Changed options for Pool 2015-03-11 23:57:08 -04:00
Braydon Fuller
9a813bad96 Extensibility
- changed options in constructors
- define block and transaction constructors for block and tx messages
2015-03-11 23:57:00 -04:00
Mariano
ae93c147b7 Update README.md
Module logo added
Closes https://github.com/bitpay/bitcore/issues/1119
2015-03-06 12:28:07 -03:00
Manuel Aráoz
b7f4d5cb60 Merge pull request #45 from fanatid/filteradd
Fix filteradd in Message.COMMANDS
2015-03-04 15:21:51 -03:00
Braydon Fuller
6a3b2d0c83 added tests for commands 2015-03-04 09:55:13 -05:00
Kirill Fomichev
925dea7ad4 Fix filteradd in Message.COMMANDS 2015-03-04 17:29:37 +03:00
Braydon Fuller
7166f220a2 Merge pull request #42 from throughnothing/merkleblock
Merkleblock Message
2015-03-02 13:21:31 -05:00
Manuel Araoz
140e8254ec Bump package version to 0.10.1 2015-03-02 13:34:13 -03:00
Manuel Araoz
6c8ece5ed5 Bump package version to 0.10.0 2015-03-02 13:26:55 -03:00
Manuel Araoz
c3288e0acd upgrade bitcore version 2015-03-02 13:26:26 -03:00
William Wolf
d6b89176f2 MerkleBlock Tests 2015-02-26 08:39:56 -08:00
William Wolf
b7473e7080 Have pool propagate merkleblock events 2015-02-23 08:58:06 -08:00
William Wolf
641dfe579d Add MerkleBlock() Message 2015-02-20 13:50:15 -08:00
William Wolf
6f63e36eca add forFilteredBlock() on Inventory, GetData, NotFound 2015-02-20 13:50:15 -08:00
Manuel Aráoz
88d3a5a351 Merge pull request #39 from throughnothing/filter-messages
Add FilterLoad, FilterAdd, and FilterClear Messages
2015-02-19 16:48:25 -03:00
William Wolf
0ac40a9c47 isUndefined() fix 2015-02-19 08:56:35 -08:00
Manuel Aráoz
a9b4c078ea Merge pull request #40 from throughnothing/frelay-optional
The 'fRelay' param on Version requests is optional.
2015-02-19 11:31:34 -03:00