Commit Graph

8 Commits

Author SHA1 Message Date
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 Araoz
ee4ef8ebaf all tests passing! 2015-02-06 16:41:05 -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
Manuel Araoz
e5fb2bba31 add data and tests for getheaders 2015-02-02 18:23:26 -03:00
Manuel Araoz
cc7b58369b add unit tests for NotFound 2015-02-02 16:18:10 -03:00
Manuel Araoz
cdd34bf8df add tests for more messages 2015-01-28 17:50:14 -03:00
Esteban Ordano
1863a6547b Initial commit for bitcore-p2p 2015-01-15 18:30:06 -05:00