Replies: 1 comment 1 reply
-
Yeah, we should add some docs on our scripthash. I don't think we need to explictly support the Electrum one anywhere, given that I'd never heard of it until just now, and given the general poor privacy of Electrum, and also that it's pretty old and somewhat-obscure software. (As a more extreme example, we don't need to draw attention to the fact that bip32 differs from the Armory HD key scheme, since that is really obscure and unused.) But we should mention in our |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There's the one used in legacy p2sh adresses which is hash160 and there's one in electrum protocol which is sha256. Curiously, even though the electrum one looks the same as
WScriptHash
it has reverse order (I didn't care to check which one is the backward one).Kinda tempts me to rename our script hash to
ScriptHash160
to make it more obvious but that might be too disruptive and not super important. Anyway, might be worth a short note on both of the types. It wouldn't have helped me much today that I got kicked by it but I had the advantage of already knowing a bunch of stuff about bitcoin.Posting this as discussion because it's not really an issue. :)
Beta Was this translation helpful? Give feedback.
All reactions