summaryrefslogtreecommitdiff
path: root/bip-0070.mediawiki
diff options
context:
space:
mode:
authorAndreas Schildbach <andreas@schildbach.de>2014-02-18 22:25:34 +0100
committerAndreas Schildbach <andreas@schildbach.de>2014-02-18 23:06:17 +0100
commit6e7ea85d5cd908ef54224535d1504cc4a2129cdb (patch)
treeb846b0b4f5ae6123d996e2f70903f50172f9f694 /bip-0070.mediawiki
parent244f4a115ed4aee8155533f9f41c35ada375e3b1 (diff)
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 699ff32..fbc4a8c 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