Skip to content

Conversation

@dcousens
Copy link
Contributor

See #402 for discussion.

@dcousens
Copy link
Contributor Author

This does not remove detection entirely, yet.

In case of detection of a network, require a list of possible networks passed in.

Any thoughts on how this should work with ECPair.fromWIF?
What would be the best succinct syntax for that?

src/ecpair.js Outdated
Copy link
Contributor Author

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping @weilu

@dcousens dcousens mentioned this pull request Jul 28, 2015
Closed
Copy link
Contributor

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.

Copy link
Contributor Author

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.

@weilu weilu assigned dcousens and unassigned weilu Aug 2, 2015
@weilu
Copy link
Contributor

weilu commented Aug 2, 2015

integration tests are passing locally. Not sure what's wrong with travis =/

@dcousens
Copy link
Contributor Author

dcousens commented Aug 7, 2015

Rebased and cherry picked 299cfce on top.

@dcousens
Copy link
Contributor Author

dcousens commented Aug 7, 2015

@weilu I addressed the above issues, looking to keep moving forward on this. Happy for any post reviews.

dcousens added a commit that referenced this pull request Aug 7, 2015
@dcousens dcousens merged commit 1eb98be into master Aug 7, 2015
@dcousens dcousens deleted the nonetdetect branch August 7, 2015 10:29
@weilu
Copy link
Contributor

weilu commented Aug 17, 2015

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants