-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Remove network detection #425
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
Conversation
|
This does not remove detection entirely, yet.
Any thoughts on how this should work with |
src/ecpair.js
Outdated
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.
@weilu this could probably be more efficient, but, it'll do for now
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.
ping @weilu
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.
There's a potential issue with this use: var cb = TransactionBuilder.fromTransaction always assumes bitcoin as the network. If that's called, followed by a call to cb.addOutput([a non-bitcoin address], value) without manually setting the network on cb it's no good.
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.
Good point, fromTransaction will need a network parameter also.
|
integration tests are passing locally. Not sure what's wrong with travis =/ |
|
Rebased and cherry picked 299cfce on top. |
|
@weilu I addressed the above issues, looking to keep moving forward on this. Happy for any post reviews. |
|
LGTM |
See #402 for discussion.