1
0
mirror of https://github.com/bitcoin/bips.git synced 2024-11-19 09:50:06 +01:00

Update bip-0070.mediawiki

Change "zero-byte placeholder" to "empty string"
This commit is contained in:
David A. Harding 2014-04-26 20:26:22 -04:00
parent 4081d3c57f
commit 3cbf3d7c03

View File

@ -118,7 +118,7 @@ A PaymentRequest is PaymentDetails optionally tied to a merchant's identity:
|- |-
| serialized_payment_details || A protocol-buffer serialized PaymentDetails message. | serialized_payment_details || A protocol-buffer serialized PaymentDetails message.
|- |-
| signature || digital signature over a hash of the protocol buffer serialized variation of the PaymentRequest message, with all fields serialized in numerical order (all current protocol buffer implementations serialize fields in numerical order) and signed using the public key in pki_data. Before serialization, the signature field must be set to a zero-byte placeholder. | signature || digital signature over a hash of the protocol buffer serialized variation of the PaymentRequest message, with all fields serialized in numerical order (all current protocol buffer implementations serialize fields in numerical order) and signed using the public key in pki_data. Before serialization, the signature field must be set to an empty string.
|} |}
When a Bitcoin wallet application receives a PaymentRequest, it must authorize payment by doing the following: When a Bitcoin wallet application receives a PaymentRequest, it must authorize payment by doing the following: