1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-05-19 12:08:05 +00:00

Merge pull request #105 from derrend/master

Update bip-0070.mediawiki, comment correction in signature field.
This commit is contained in:
Gavin Andresen 2014-10-06 15:37:47 -04:00
commit 216e482451

View File

@ -126,7 +126,7 @@ A PaymentRequest is PaymentDetails optionally tied to a merchant's identity:
|- |-
| signature || digital signature over a hash of the protocol buffer serialized variation of the PaymentRequest message, | signature || digital signature over a hash of the protocol buffer serialized variation of the PaymentRequest message,
with all serialized fields serialized in numerical order (all current protocol buffer implementations serialize with all serialized fields serialized in numerical order (all current protocol buffer implementations serialize
fields in numerical order) and signed using the public key in pki_data. Optional fields that are not set fields in numerical order) and signed using the private key that corresponds to the public key in pki_data. Optional fields that are not set
are not serialized (however, setting a field to its default value will cause it to be serialized and will affect are not serialized (however, setting a field to its default value will cause it to be serialized and will affect
the signature). Before serialization, the signature field must be set to an empty value so that the field is included in the signed PaymentRequest hash but contains no data. the signature). Before serialization, the signature field must be set to an empty value so that the field is included in the signed PaymentRequest hash but contains no data.
|} |}