summaryrefslogtreecommitdiff
path: root/bip-0013.md
diff options
context:
space:
mode:
Diffstat (limited to 'bip-0013.md')
-rw-r--r--bip-0013.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/bip-0013.md b/bip-0013.md
index d0e3c15..373972a 100644
--- a/bip-0013.md
+++ b/bip-0013.md
@@ -8,9 +8,9 @@
</pre>
==Abstract==
-This BIP describes a new type of bitcoin address to support arbitrarily complex transactions. Complexity in this context is defined as what information is needed by the recipient to respend the received coins, in contrast to needing a single ECDSA private key as in current implementations of Bitcoin.
+This BIP describes a new type of Bitcoin address to support arbitrarily complex transactions. Complexity in this context is defined as what information is needed by the recipient to respend the received coins, in contrast to needing a single ECDSA private key as in current implementations of Bitcoin.
-In essence, an address encoded under this proposal represents the encoded hash of a script, rather than the encoded hash of an ECDSA [[public key]].
+In essence, an address encoded under this proposal represents the encoded hash of a [[script]], rather than the encoded hash of an ECDSA public key.
==Motivation==
@@ -18,11 +18,11 @@ Enable "end-to-end" secure wallets and payments to fund escrow transactions or o
==Specification==
-The new bitcoin address type is constructed in the same manner as existing bitcoin addresses:
+The new bitcoin address type is constructed in the same manner as existing bitcoin addresses (see [[Base58Check encoding]]):
base58-encode: [one-byte version][20-byte hash][4-byte checksum]
-Version byte is 1 for a main-network address, 112 for a testnet address.
+Version byte is 2 for a main-network address, 109 for a testnet address.
The 20-byte hash is the hash of the script that will be used to redeem the coins.
And the 4-byte checksum is the first four bytes of the SHA256 hash of the version and hash.