You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Example given to show that it is impossible to go from a bitcoin address to a public key is not clear #77
In this example:
PubKey publicKey = privateKey.PubKey;
BitcoinPubKeyAddress bitcoinPublicKey = publicKey.GetAddress(Network.Main); // 1PUYsjwfNmX64wS368ZR5FMouTtUmvtmTY
//PubKey samePublicKey = bitcoinPublicKey.ItIsNotPossibl
Issues are:
Bitcoin address is shown to be generated from public key instead of public key hash. This is not consistent with previous examples. Previous examples show that the bitcoin address is created from Public Key Hash instead of public key itself.
There is no true/false assert statement style code. Having a boolean assertion explains things more clearly.
Activity
NicolasDorier commentedon Oct 24, 2017
I agree, can you make a PR for this?
pubkey.Hash.GetAddress(Network.Main)might be more coherent.nopara73 commentedon Oct 24, 2017
ACK