Braydon Fuller
6007dc6faf
updated to use mapped constructers and removed build method
2015-03-13 20:49:24 -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
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
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
9a813bad96
Extensibility
...
- changed options in constructors
- define block and transaction constructors for block and tx messages
2015-03-11 23:57:00 -04: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
Esteban Ordano
3fa45d31df
Merge pull request #22 from maraoz/improve/p2p
...
add bitcoind integration tests and general refactor
2015-02-02 15:42:01 -03:00
David
80ea02cc9b
Fixed typo.
2015-02-01 20:47:25 -08:00
Manuel Araoz
98990dbc82
new bitcoind integration tests
2015-01-30 16:37:14 -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