-
Notifications
You must be signed in to change notification settings - Fork 3
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
Release 0.0.7 #7
Conversation
AddressP2PKH AddressType = "P2PKH" | ||
AddressP2SH AddressType = "P2SH" | ||
AddressP2WPKH AddressType = "P2WPKH" | ||
AddressSegwit AddressType = "Bech32" |
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.
AddressSegwit is not being used anywhere and p2wpkh is already a segwit address. Any reason to keep it ?
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.
AddressSegwit is mostly for future proof and currently is not used anywhere. The whole address file is still experimental. And yeah p2wpkh is a special type address of segwit. Since it is commonly used in a lot places, so it's worth to have a separate type for it, so we know how to how to estimate fees/sign sigature/decode address from key.
GetNetworkInfo