Commit Graph

153 Commits

Author SHA1 Message Date
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
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
William Wolf
e1f2fbb7ed Small Pool.options defaults cleanup 2015-02-18 22:49:33 -08:00
William Wolf
06f285fc9f Merge pull request #3 from braydonf/frelay-optional
Increased test coverage for Pool
2015-02-18 17:48:18 -08:00
Braydon Fuller
e579182e6d Increased test coverage for Pool 2015-02-18 20:25:03 -05:00
William Wolf
d751e583b4 Remove 'size' from pool Test 2015-02-18 16:26:12 -08:00
William Wolf
fe08f5a4de Merge pull request #2 from braydonf/frelay-optional
Added jsdocs for options and changed size to maxSize
2015-02-18 16:17:05 -08:00
Braydon Fuller
4781694038 Added jsdocs for options and changed size to maxSize 2015-02-18 19:06:04 -05:00
William Wolf
63ad4e5438 Propogate 'relay' from Pool() to its Peer()s 2015-02-18 13:04:30 -08:00
William Wolf
05e5c37230 The 'fRelay' param on Version requests is optional.
I'v seen `RangeError: index out of range` crashes from nodes that don't
send it, when `bitcore-p2p` tries to `readUInt8()` the last bit.

This also adds `relay` property to `Peer` objects that is respected
when sending `Version` messages.
2015-02-18 11:21:01 -08:00
Manuel Aráoz
872dc52c63 Merge pull request #38 from throughnothing/peerconnect-event
Add 'peerconnect' event from Pool
2015-02-18 13:35:08 -03:00
Manuel Aráoz
a65edf80ae Merge pull request #37 from braydonf/feature/configuration-options
Added configuration option to only connect to trusted peers. Closes #26
2015-02-18 11:33:34 -03:00
Braydon Fuller
b643efa182 Rephrased documentation and fixed a typo. 2015-02-18 09:24:47 -05:00
Braydon Fuller
c07bc0461d Changed discover option to dnsSeed for clarity and added comments to documentation for the options. 2015-02-18 09:15:44 -05:00
William Wolf
51871a033d Merge pull request #1 from braydonf/filter-messages
Added a few more tests for buffer serialization with bitcoin core test data
2015-02-16 18:38:42 -08:00
Braydon Fuller
3d6f591ea9 Added a few more tests for buffer serialization with bitcoin core test data 2015-02-16 21:28:39 -05:00
William Wolf
abbe63666f Add FilterLoad, FilterAdd, and FilterClear Messages + BloomFilter 2015-02-16 18:15:42 -08:00
William Wolf
e0b58e25d6 Add 'peerconnect' event from Pool 2015-02-16 14:39:54 -08:00
Braydon Fuller
ae97e36ff0 Added configuration option to only connect to trusted peers. 2015-02-16 13:18:11 -05:00
Braydon Fuller
e19734593e Merge pull request #35 from throughnothing/pong-event
Fix pong type in Pool Events list?
2015-02-15 00:20:01 -05:00
William Wolf
730d08d24d Fix pong type in Pool Events list? 2015-02-14 17:33:37 -08:00
Braydon Fuller
88dbbd60e2 Merge pull request #34 from throughnothing/propagate-error-from-pool
Propagate Peer 'error' event up from Pool
2015-02-14 20:00:10 -05:00
William Wolf
146c9630ab Propagate Peer 'error' event up from Pool 2015-02-14 12:17:36 -08:00
Manuel Araoz
bb1ecb3fbc Bump package version to 0.10.0 2015-02-11 20:24:56 -03:00
Manuel Araoz
64f2f429bc upgrade bitcore 2015-02-11 20:24:10 -03:00
Esteban Ordano
6d12ec1f8e Merge pull request #33 from maraoz/lodash
remove lodash external dep and upgrade bitcore
2015-02-11 19:24:43 -03:00
Manuel Araoz
b9c90613fa remove lodash 2015-02-11 18:26:27 -03:00
Yemel Jardi
650f4618c4 Merge pull request #31 from maraoz/preconditions
various bugfixes and tests
2015-02-10 12:12:22 -03:00
Manuel Araoz
e816c8254d remove console.logs 2015-02-09 12:46:02 -03:00
Manuel Araoz
c62409c4bc increase test coverage 2015-02-06 17:54:24 -03:00
Manuel Araoz
b28f1b614d add tx inv test 2015-02-06 16:48:17 -03:00
Manuel Araoz
ee4ef8ebaf all tests passing! 2015-02-06 16:41:05 -03:00
Manuel Araoz
a58d76c875 fix Header message 2015-02-06 15:58:16 -03:00
Manuel Araoz
13361ea210 add _checkFinished 2015-02-06 15:06:45 -03:00
Manuel Araoz
7119fad398 fix ipv4/ipv6 address parsing and writing 2015-02-06 13:29:16 -03:00
Manuel Araoz
2489750913 complete Version message 2015-02-06 12:44:23 -03:00
Manuel Araoz
24b02ccaa6 fix #1018 2015-02-06 12:32:52 -03:00
Manuel Araoz
c8674a8633 working on fixing Version 2015-02-04 17:42:03 -03:00
Manuel Araoz
17e890996e add GetData unit data, and more integration tests 2015-02-03 13:07:14 -03:00
Yemel Jardi
61754b267b Merge pull request #25 from maraoz/add/getheaders
add data and tests for getheaders
2015-02-03 13:02:42 -03:00
Manuel Aráoz
124ff170ae Merge pull request #29 from braydonf/bug/integration-timeout
Increased the timeout time for integration tests
2015-02-03 01:52:46 -03:00
Braydon Fuller
a8f46e353f Increased the timeout time for integration tests
- A busy local peer may need more time to respond
- Since the tests are run optionally allowing for more time shouldn't be problematic
2015-02-02 20:05:57 -05:00
Manuel Araoz
e5fb2bba31 add data and tests for getheaders 2015-02-02 18:23:26 -03:00
Manuel Aráoz
e4741dc96e Merge pull request #24 from maraoz/add/notfound
Add notfound message
2015-02-02 18:23:25 -03:00
Manuel Araoz
d303e46f69 add docs 2015-02-02 16:24:17 -03:00
Manuel Araoz
9fcf186545 remove TODO 2015-02-02 16:20:30 -03:00
Manuel Araoz
cc7b58369b add unit tests for NotFound 2015-02-02 16:18:10 -03:00