Commit Graph

27 Commits

Author SHA1 Message Date
Sky Young
335bd996b5 Update package references 2018-05-15 14:52:30 -07:00
Chris Kleeschulte
f537eb86b9
bcoin tx and blocks support. 2017-07-21 09:05:56 -04:00
Jason Dreyzehner
e99803e634 bitcore -> bitcore-lib 2015-10-16 14:59:05 -04:00
Manuel Araoz
c3ead97d64 fix integration tests for testnet 2015-04-20 16:24:17 -03:00
Manuel Araoz
f01d6c98fb refactor network handling 2015-04-20 15:44:09 -03:00
Braydon Fuller
24ffd3f5f6 Use factory options as a seperate argument for messages. 2015-03-31 17:52:36 -04:00
Eric Martindale
438638c4ab Merge pull request #57 from braydonf/bug/double-disconnect
Patched double disconnect bug.
2015-03-26 14:27:04 -04:00
Braydon Fuller
f8578ff114 Patched double disconnect bug.
- Added a test that simulates a peer abruptly disconnecting with an error
- Put an additional condition to prevent disconnecting on an error if already disconnected
- Closes #56
2015-03-26 14:00:38 -04:00
Braydon Fuller
573354a188 updated jsdocs to use closure style and fixed typos 2015-03-20 14:30:43 -04:00
Braydon Fuller
16aa98924a fixed spelling 2015-03-16 15:48:43 -04:00
Braydon Fuller
664ceb2d30 improved peer jsdoc, fixed docs for messages, and switched to use svg for readme icon 2015-03-16 15:44:50 -04:00
Braydon Fuller
f17bbf5d6f updated jsdocs for peer and pool 2015-03-16 10:29:51 -04:00
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