From 35fa34b5d35644bb251282c3fe2e40d61afd6901 Mon Sep 17 00:00:00 2001 From: Aleksandar Dinkov Date: Mon, 26 Aug 2019 15:54:38 +0300 Subject: [PATCH 1/2] Clarification about leftover change --- bip-0270.mediawiki | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bip-0270.mediawiki b/bip-0270.mediawiki index b2a09c4220..ec82e5a0f5 100644 --- a/bip-0270.mediawiki +++ b/bip-0270.mediawiki @@ -184,7 +184,7 @@ Payment { |} If the customer authorizes payment, then the Bitcoin client: -# Creates and signs a transaction that satisfy (pay in full) PaymentDetails.outputs +# Creates and signs a transaction that satisfy (pay in full) PaymentDetails.outputs. It may add additional outputs to get the change from any overpaying inputs, if needed. # Validate that customer's system unix time (UTC) is still before PaymentDetails.expirationTimestamp. If it is not, the payment should be cancelled. # A POST a Payment message to the paymentUrl URL. The Payment message is serialized and sent as the body of the POST request. # The client can optionally broadcast the transaction themselves to the Bitcoin network, but they are not required to do so as the payment host is expected to do so. If the payment host never broadcasts the transaction, then after two months the client can recover their funds. From c1f54b06a16f1cc42466f3ca1f51e00ee893706b Mon Sep 17 00:00:00 2001 From: Aleksandar Dinkov Date: Mon, 26 Aug 2019 17:45:39 +0300 Subject: [PATCH 2/2] Update bip-0270.mediawiki --- bip-0270.mediawiki | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bip-0270.mediawiki b/bip-0270.mediawiki index ec82e5a0f5..46c115c863 100644 --- a/bip-0270.mediawiki +++ b/bip-0270.mediawiki @@ -184,7 +184,7 @@ Payment { |} If the customer authorizes payment, then the Bitcoin client: -# Creates and signs a transaction that satisfy (pay in full) PaymentDetails.outputs. It may add additional outputs to get the change from any overpaying inputs, if needed. +# Creates and signs a transaction that satisfy (pay in full) PaymentRequest.outputs. It may add additional outputs if needed. # Validate that customer's system unix time (UTC) is still before PaymentDetails.expirationTimestamp. If it is not, the payment should be cancelled. # A POST a Payment message to the paymentUrl URL. The Payment message is serialized and sent as the body of the POST request. # The client can optionally broadcast the transaction themselves to the Bitcoin network, but they are not required to do so as the payment host is expected to do so. If the payment host never broadcasts the transaction, then after two months the client can recover their funds.