mirror of
https://github.com/bitcoin/bips.git
synced 2025-03-03 18:57:18 +01:00
Update bip-0070.mediawiki
Clarification regarding the signature field in payment details and which key should be used for signing.
This commit is contained in:
parent
4b2d40ad12
commit
68c801d18b
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
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
|
||||
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.
|
||||
|}
|
||||
|
|
Loading…
Add table
Reference in a new issue