Skip to content
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

Remove network state #8

Merged
merged 5 commits into from
May 19, 2015
Merged

Remove network state #8

merged 5 commits into from
May 19, 2015

Conversation

semaj
Copy link

@semaj semaj commented Apr 22, 2015

Money-Tree, in essence is a key-derivation tool.
The keys it derives are not aware of the 'coin',
or 'version'. So there is now no notion of network
held as state on anything.

Money-Tree derives keys, and in the various forms of serialization
you can specify which type of coin (version bytes) you'd like to use.

Although it may seem tedious, it allows trees to be
coin-agnostic until serialization (and theoretically
the usage of the same key-pairs for different coin
addresses.)

Money-Tree, in essence is a key-derivation tool.
The keys it derives are not aware of the 'coin',
or 'version'. So there is now no notion of network
held as state on anything.

Money-Tree derives keys, and in the various forms of serialization
you can specify which type of coin (version bytes) you'd like to use.

Although it may seem tedious, it allows trees to be
coin-agnostic until serialization (and theoretically
the usage of the same key-pairs for different coin
addresses.)
If the user provides a NETWORK that is not
recognized, we throw an error.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 99.73% when pulling b9ef187 on remove-network-state into ef7f57a on master.

Rename to_serialized_address to to_bip32
same for from_serialized_address.

Deprecate old methods.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 99.73% when pulling d72b971 on remove-network-state into ef7f57a on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.0%) to 99.73% when pulling e17fad7 on remove-network-state into ef7f57a on master.

jvergeldedios added a commit that referenced this pull request May 19, 2015
@jvergeldedios jvergeldedios merged commit 67ec6e1 into master May 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants