-
Notifications
You must be signed in to change notification settings - Fork 176
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
naming: SEED is used for different things #628
Comments
Thanks for noting. Perhaps |
Originally, based on Electrum and before bip-39 these were in fact the same, the seed is round-tripped. BIP39 formalized a one-way multi-“seed” derivation scheme. But these are not properly a seed. The seed is the single starting point of a tree. Also, the term seed is used in many libbitcoin commands in this context. So while it’s a reasonable concern, I would suggest addressing it by renaming the other use of seed in this limited context. Otherwise there are a lot of things that need to be renamed, and a new inconsistency. |
As someone who is digging through the libbitcoin workflow for the first time I find this highly confusing and can only encourage to do a cleanup even if that means a lot of things need to be renamed. |
Pull requests are always welcome. |
After reviewing the integrated documentation and other commands I notice that we are consistently using the term "entropy" in the comments for |
I would rename:
as per Mnemonic Code Converter site, where 'BIP39 Mnemonic' are words, and Entropy (Show entropy details) is hex representation of mnemonic words. I've tested and it produces the same results. As per this logic, mnemonic-to-seed shouldn't be renamed to mnemonic-to-entropy (as per above comment), because it produces seed. You can test that at the above linked page (mnemonic words will produce BIP39 Seed). |
A pending libbitcoin-system PR has redesigned all three mnemonics implementations, with terminology consistent with: https://github.com/libbitcoin/libbitcoin-system/wiki/Mnemonics-Unraveled BX updates forthcoming. |
The word
seed
is used for different things which leads to confusion for new users:mnemonic-new
is calledseed
.mnemonic-to-seed
which might get a password and thus is not the same as the seed above.I propose to adjust the documentation for the former and call the input to
mnemonic-new
notSEED
butentropy
.The text was updated successfully, but these errors were encountered: