mirror of
https://github.com/bitcoin/bips.git
synced 2026-07-06 17:46:00 +00:00
Fix formatting
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
{{bip}}
|
||||
|
||||
<pre>
|
||||
BIP: 70
|
||||
Title: Payment Protocol
|
||||
@@ -45,7 +43,7 @@ and PaymentACK, and begins with the customer somehow indicating that
|
||||
they are ready to pay and the merchant's server responding with a
|
||||
PaymentRequest message:
|
||||
|
||||
[[Image:Protocol_Sequence.png]]
|
||||
<img src=bip-0070/Protocol_Sequence.png></img>
|
||||
|
||||
==Messages==
|
||||
|
||||
@@ -81,7 +79,7 @@ about the merchant and a digital signature.
|
||||
optional string memo = 5;
|
||||
optional string payment_url = 6;
|
||||
optional bytes merchant_data = 7;
|
||||
}
|
||||
}
|
||||
</pre>
|
||||
{|
|
||||
| network || either "main" for payments on the production Bitcoin network, or "test" for payments on test network. If a client receives a PaymentRequest for a network it does not support it must reject the request.
|
||||
@@ -110,7 +108,7 @@ A PaymentRequest is PaymentDetails optionally tied to a merchant's identity:
|
||||
}
|
||||
</pre>
|
||||
{|
|
||||
| payment_details_version || See below for a discussion of versioning/upgrading.
|
||||
| payment_details_version || See below for a discussion of versioning/upgrading.
|
||||
|-
|
||||
| pki_type || public-key infrastructure (PKI) system being used to identify the merchant. All implementation should support "none", "x509+sha256" and "x509+sha1".
|
||||
|-
|
||||
@@ -259,9 +257,9 @@ other extensions.
|
||||
|
||||
==References==
|
||||
|
||||
[[BIP 0071]] : Payment Protocol mime types
|
||||
[[bip-0071.mediawiki|BIP 0071]] : Payment Protocol mime types
|
||||
|
||||
[[BIP 0072]] : Payment Protocol bitcoin: URI extensions
|
||||
[[bip-0072.mediawiki|BIP 0072]] : Payment Protocol bitcoin: URI extensions
|
||||
|
||||
Public-Key Infrastructure (X.509) working group :
|
||||
http://datatracker.ietf.org/wg/pkix/charter/
|
||||
@@ -282,5 +280,3 @@ ThomasV's "Signed Aliases" proposal : http://ecdsa.org/bitcoin_URIs.html
|
||||
|
||||
Homomorphic Payment Addresses and the Pay-to-Contract Protocol :
|
||||
http://arxiv.org/abs/1212.3257
|
||||
|
||||
[[Category:BIP]]
|
||||
|
||||
Reference in New Issue
Block a user