mirror of
https://github.com/bitcoin/bips.git
synced 2026-01-19 15:03:08 +00:00
```
sed -i '0,/Comments-Summary/{/Comments-Summary/d}' bip-0*md
sed -i '0,/Comments-Summary/{/Comments-Summary/d}' bip-0*mediawiki
sed -i '0,/Comments-URI/{/Comments-URI/d}' bip-0*md
sed -i '0,/Comments-URI/{/Comments-URI/d}' bip-0*mediawiki
```
Then reset the BIPs with non-empty comment wikis:
- bip-0037.mediawiki
- bip-0038.mediawiki
- bip-0039.mediawiki
- bip-0042.mediawiki
- bip-0044.mediawiki
- bip-0047.mediawiki
- bip-0049.mediawiki
- bip-0060.mediawiki
- bip-0061.mediawiki
- bip-0074.mediawiki
- bip-0075.mediawiki
- bip-0077.md
- bip-0084.mediawiki
- bip-0090.mediawiki
- bip-0118.mediawiki
- bip-0125.mediawiki
- bip-0150.mediawiki
- bip-0151.mediawiki
- bip-0152.mediawiki
- bip-0171.mediawiki
- bip-0172.mediawiki
- bip-0173.mediawiki
- bip-0174.mediawiki
- bip-0176.mediawiki
- bip-0178.mediawiki
- bip-0199.mediawiki
- bip-0322.mediawiki
- bip-0340.mediawiki
- bip-0341.mediawiki
48 lines
1.0 KiB
Plaintext
48 lines
1.0 KiB
Plaintext
<pre>
|
|
BIP: 71
|
|
Layer: Applications
|
|
Title: Payment Protocol MIME types
|
|
Author: Gavin Andresen <gavinandresen@gmail.com>
|
|
Status: Deployed
|
|
Type: Specification
|
|
Created: 2013-07-29
|
|
</pre>
|
|
|
|
==Abstract==
|
|
|
|
This BIP defines a MIME (RFC 2046) Media Type for Bitcoin payment
|
|
request messages.
|
|
|
|
==Motivation==
|
|
|
|
Wallet or server software that sends payment protocol messages over
|
|
email or http should follow Internet standards for properly
|
|
encapsulating the messages.
|
|
|
|
==Specification==
|
|
|
|
The Media Type (Content-Type in HTML/email headers) for bitcoin
|
|
protocol messages shall be:
|
|
|
|
{|
|
|
| Message || Type/Subtype
|
|
|-
|
|
| PaymentRequest || application/bitcoin-paymentrequest
|
|
|-
|
|
| Payment || application/bitcoin-payment
|
|
|-
|
|
| PaymentACK || application/bitcoin-paymentack
|
|
|}
|
|
|
|
Payment protocol messages are encoded in binary.
|
|
|
|
==Example==
|
|
|
|
A web server generating a PaymentRequest message to initiate the
|
|
payment protocol would precede the binary message data with the
|
|
following headers:
|
|
<pre>
|
|
Content-Type: application/bitcoin-paymentrequest
|
|
Content-Transfer-Encoding: binary
|
|
</pre>
|