summaryrefslogtreecommitdiff
path: root/bip-0070.mediawiki
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2014-02-18 19:11:19 -0500
committerGavin Andresen <gavinandresen@gmail.com>2014-02-18 19:11:19 -0500
commit6f807157a7c4400bc9a26a5f7525aa792eb689af (patch)
treede5875211fc4017ee6667858248975c8297e5396 /bip-0070.mediawiki
parent780b9b8bd6a80a4d4824075dd3c4dcf3bab02cbf (diff)
parent6e7ea85d5cd908ef54224535d1504cc4a2129cdb (diff)
Merge pull request #20 from schildbach/bip70-add-utc
Clarify UTC for all time values in BIP70.
Diffstat (limited to 'bip-0070.mediawiki')
-rw-r--r--bip-0070.mediawiki6
1 files changed, 3 insertions, 3 deletions
diff --git a/bip-0070.mediawiki b/bip-0070.mediawiki
index 323ad67..f0610ec 100644
--- a/bip-0070.mediawiki
+++ b/bip-0070.mediawiki
@@ -86,9 +86,9 @@ about the merchant and a digital signature.
|-
| outputs || one or more outputs where Bitcoins are to be sent. If the sum of outputs.amount is zero, the customer will be asked how much to pay, and the bitcoin client may choose any or all of the Outputs (if there are more than one) for payment. If the sum of outputs.amount is non-zero, then the customer will be asked to pay the sum, and the payment shall be split among the Outputs with non-zero amounts (if there are more than one; Outputs with zero amounts shall be ignored).
|-
-| time || Unix timestamp (seconds since 1-Jan-1970) when the PaymentRequest was created.
+| time || Unix timestamp (seconds since 1-Jan-1970 UTC) when the PaymentRequest was created.
|-
-| expires || Unix timestamp after which the PaymentRequest should be considered invalid.
+| expires || Unix timestamp (UTC) after which the PaymentRequest should be considered invalid.
|-
| memo || UTF-8 encoded, plain-text (no formatting) note that should be displayed to the customer, explaining what this PaymentRequest is for.
|-
@@ -121,7 +121,7 @@ A PaymentRequest is PaymentDetails optionally tied to a merchant's identity:
When a Bitcoin wallet application receives a PaymentRequest, it must authorize payment by doing the following:
# Validate the merchant's identity and signature using the PKI system, if the pki_type is not "none".
-# Validate that the time on the customer's system is before PaymentDetails.expires. If it is not, then the payment request must be rejected.
+# Validate that customer's system unix time (UTC) is before PaymentDetails.expires. If it is not, then the payment request must be rejected.
# Display the merchant's identity and ask the customer if they would like to submit payment (e.g. display the "Common Name" in the first X.509 certificate).
PaymentRequest messages larger than 50,000 bytes should be rejected by