-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A few minor improvements #75
Changes from 5 commits
66611f7
817c656
5fa2ead
8241b38
7128f8d
60bbce3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,7 @@ | |
"dependencies": { | ||
"bitcore": "^0.12.0", | ||
"bloom-filter": "^0.2.0", | ||
"buffers": "^0.1.1", | ||
"buffers": "olalonde/node-buffers", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The changes to node-buffers look good, however this references an unpublished master branch. There are a few open issues, #52 and #32 with node-buffers already. I believe we only use a small portion of the implemented methods, so we may be able to make this a part of this codebase, since we're also adding the skip method. However we can take care of this in another PR as well as the deprecation warnings. |
||
"socks5-client": "^0.3.6" | ||
}, | ||
"devDependencies": { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally, all of the
toString()
methods have matchingfromString()
methods, and can be passed in as an argument to the constructor. This may be better as aninspect()
method (e.g. https://github.com/bitpay/bitcore-p2p/blob/master/lib/pool.js#L337).