From 978b7ba5ffe1956a02efbe6ec7cd701d25b7ccff Mon Sep 17 00:00:00 2001 From: "Ryan X. Charles" Date: Mon, 26 Aug 2019 11:56:28 -0300 Subject: [PATCH] outputs do not need to be ordered should outputs be ordered? - at MB, we sort the outputs for privacy, thus outputs will not naturally be returned in the same order. - however, some use-cases may require ordered outputs. for those, we can create an additional option (extension) to require ordering. --- bip-0270.mediawiki | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bip-0270.mediawiki b/bip-0270.mediawiki index 46c115c863..3e104a1389 100644 --- a/bip-0270.mediawiki +++ b/bip-0270.mediawiki @@ -132,7 +132,7 @@ PaymentRequest { {| | network || This field is required and always set to "bitcoin". If set to any other value besides "bitcoin", no wallet should process the payments. For test purposes, one can set this field to "test" which will ensure that no wallet will accidentally send a payment to what might be invalid or test addresses. |- -| outputs || One or more outputs where Bitcoins are to be sent. +| outputs || One or more outputs where Bitcoins are to be sent. Outputs are NOT required to be returned in the same order when the transaction is built. |- | creationTimestamp || Unix timestamp (seconds since 1-Jan-1970 UTC) when the PaymentRequest was created. |- @@ -176,7 +176,7 @@ Payment { {| | merchantData || copied from PaymentDetails.merchantData. Payment hosts may use invoice numbers or any other data they require to match Payments to PaymentRequests. Note that malicious clients may modify the merchantData, so should be authenticated in some way (for example, signed with a payment host-only key). Maximum length is 10000 characters. |- -| transaction || A valid, signed Bitcoin transaction that fully pays the PaymentRequest. The transaction is hex-encoded and must NOT be prefixed with "0x". +| transaction || A valid, signed Bitcoin transaction that fully pays the PaymentRequest. The transaction is hex-encoded and must NOT be prefixed with "0x". The transaction does NOT need to return the outputs in the same order as the PaymentRequest. |- | refundTo || A paymail to send a refund to should a refund be necessary. Maximum length is 100 characters. |-