diff options
author | BitWasp <thomas@bitwasp.co> | 2015-02-13 12:26:12 +0000 |
---|---|---|
committer | BitWasp <thomas@bitwasp.co> | 2015-02-13 12:26:12 +0000 |
commit | 9ce316de9439b8f8871ac6ab12b70c34859543d3 (patch) | |
tree | 319d3b98bedcb938270a250e54be1ec79eba9214 | |
parent | 9b5c50ef7b94464382c7416b198d31c13b419018 (diff) | |
download | bips-9ce316de9439b8f8871ac6ab12b70c34859543d3.tar.xz |
Rename implementation -> specification
-rw-r--r-- | bip-0090.mediawiki | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/bip-0090.mediawiki b/bip-0090.mediawiki index 11961f6..6cd2ac9 100644 --- a/bip-0090.mediawiki +++ b/bip-0090.mediawiki @@ -25,10 +25,24 @@ While most web wallets do not presently facilitate the setup of multisignature a Many wallet as a service providers use a 2of3 multi-signature schema where the user stores 1 of the keys (offline) as backup while using the other key for daily use and letting the service cosign his transactions. This standard will help in enabling a party other than the service provider to recover the wallet without any help from the service provider. -==Implementation== - -For a set of public keys, ensure that they have been received in compressed form, sort them lexicographically according to their binary representation before using the resulting list of keys in a standard multisig redeem script. Hash the redeem script according to BIP-0016 to get the P2SH address. - +==Specification== + +For a set of public keys, ensure that they have been received in compressed form: + 022df8750480ad5b26950b25c7ba79d3e37d75f640f8e5d9bcd5b150a0f85014da + 03e3818b65bcc73a7d64064106a859cc1a5a728c4345ff0b641209fba0d90de6e9 + 021f2f6e1e50cb6a953935c3601284925decd3fd21bc445712576873fb8c6ebc18 + +Sort them lexicographically according to their binary representation: + 021f2f6e1e50cb6a953935c3601284925decd3fd21bc445712576873fb8c6ebc18 + 022df8750480ad5b26950b25c7ba79d3e37d75f640f8e5d9bcd5b150a0f85014da + 03e3818b65bcc73a7d64064106a859cc1a5a728c4345ff0b641209fba0d90de6e9 + +..before using the resulting list of keys in a standard multisig redeem script: + OP_m 021f2f6e1e50cb6a953935c3601284925decd3fd21bc445712576873fb8c6ebc18 022df8750480ad5b26950b25c7ba79d3e37d75f640f8e5d9bcd5b150a0f85014da 03e3818b65bcc73a7d64064106a859cc1a5a728c4345ff0b641209fba0d90de6e9 OP_n OP_CHECKSIG + +Hash the redeem script according to BIP-0016 to get the P2SH address. + 3Q4sF6tv9wsdqu2NtARzNCpQgwifm2rAba + ==Compatibility== * Uncompressed keys are incompatible with this specificiation. A compatible implementation should not automatically compress keys. Receiving an uncompressed key from a multisig participant should be interpreted as a sign that the user has an incompatible implementation. |