mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-12 12:03:29 +00:00
Added file size limits for Payment and PaymentACK messages.
This commit is contained in:
parent
22646636dd
commit
694314d296
@ -172,6 +172,9 @@ determine whether or not the transactions satisfy conditions of
|
|||||||
payment. If and only if they do, if should broadcast the
|
payment. If and only if they do, if should broadcast the
|
||||||
transaction(s) on the Bitcoin p2p network.
|
transaction(s) on the Bitcoin p2p network.
|
||||||
|
|
||||||
|
Payment messages larger than 50,000 bytes should be rejected by
|
||||||
|
the merchant's server, to mitigate denial-of-service attacks.
|
||||||
|
|
||||||
===PaymentACK===
|
===PaymentACK===
|
||||||
|
|
||||||
PaymentACK is the final message in the payment protocol; it is sent
|
PaymentACK is the final message in the payment protocol; it is sent
|
||||||
@ -189,6 +192,11 @@ Payment message:
|
|||||||
| memo || UTF-8 encoded note that should be displayed to the customer giving the status of the transaction (e.g. "Payment of 1 BTC for eleven tribbles accepted for processing.")
|
| memo || UTF-8 encoded note that should be displayed to the customer giving the status of the transaction (e.g. "Payment of 1 BTC for eleven tribbles accepted for processing.")
|
||||||
|}
|
|}
|
||||||
|
|
||||||
|
PaymentACK messages larger than 60,000 bytes should be rejected by
|
||||||
|
the wallet application, to mitigate denial-of-service attacks. This
|
||||||
|
is larger than the limits on Payment and PaymentRequest messages
|
||||||
|
as PaymentACK contains a full Payment message within it.
|
||||||
|
|
||||||
==Localization==
|
==Localization==
|
||||||
|
|
||||||
Merchants that support multiple languages should generate
|
Merchants that support multiple languages should generate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user