From 6e7ea85d5cd908ef54224535d1504cc4a2129cdb Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Tue, 18 Feb 2014 22:25:34 +0100 Subject: Clarify UTC for all time values in BIP70. --- bip-0070.mediawiki | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bip-0070.mediawiki') 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 -- cgit v1.2.3