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
c62409c4bc
increase test coverage
2015-02-06 17:54:24 -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
98990dbc82
new bitcoind integration tests
2015-01-30 16:37:14 -03:00
Manuel Araoz
77e399cf1a
remove only
2015-01-28 17:50:33 -03:00
Manuel Araoz
cdd34bf8df
add tests for more messages
2015-01-28 17:50:14 -03:00
Manuel Araoz
eaca92b1c6
refactor message#fromBuffer()
2015-01-27 16:29:34 -03:00
Braydon Fuller
21bf8f34ff
Fixed issue with block message test
...
- See: https://github.com/bitpay/bitcore/pull/938
2015-01-21 10:42:32 -05:00
Esteban Ordano
6550bba657
Fix test for version
2015-01-20 11:17:29 -03:00
Esteban Ordano
6fc5e75868
Change from bitcore-base to bitcore
2015-01-15 18:31:42 -05:00
Esteban Ordano
1863a6547b
Initial commit for bitcore-p2p
2015-01-15 18:30:06 -05:00
Braydon Fuller
4dbfb7eeba
Moved files from lib/transport to lib, and test/transport to test
2015-01-15 18:06:56 -05:00