Import bufferput into bitcore
We constanty have issues with bufferput. Would be easier to deal with if we just imported it into bitcore.
I think part of the problem is because the bufferput module in the npm registry hasn't been updated with the fix from this commit https://github.com/bitpay/node-bufferput/commit/6b2ad518e08704f3ed61918f80076525a6cb0453
(i.e. the bufferput module from npm install bitcoin or from npm install in a cloned bitcore repo doesn't contain the fixed version)
What do you think of updating the dependency to point to https://github.com/bitpay/node-bufferput instead of the npm package?
Like we did with "browserify-bignum": "git://github.com/maraoz/browserify-bignum.git"
@maraoz That is an OK solution, too.
It is tiny and not widely used outside of bitcore, so reducing the number of dependencies by incorporating into bitcore seemed easy, efficient, and likely to permanently solve the reported problems.
@maraoz @jgarzik
Sorry, I'm not that familiar with participating in open source projects yet. (I was confused by who the "you" in "What do you think ..." was referring to.)
Should I make changes and submit a pull request?? Any changes made with the node-bufferput dependency should be applied to the insight repo too though.
I created PR #90 for issue #88. The solution is the same as @maraoz mentioned here so this PR might solve this issue as well.
Pulled in PR #90 which fixed issue #88. Will regard this issue as closed as well.