mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-12 12:03:29 +00:00
Rename implementation -> specification
This commit is contained in:
parent
9b5c50ef7b
commit
9ce316de94
@ -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==
|
||||
==Specification==
|
||||
|
||||
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.
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user