Skip to content

Commit 99614fc

Browse files
author
Matt David
committed
- Update identifier comment in paymentrequest.proto
1 parent 7dd419e commit 99614fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bip-0075/paymentrequest.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ message ProtocolMessage {
7070
required ProtocolMessageType message_type = 3; // Message Type of serialized_message
7171
required bytes serialized_message = 4; // Serialized Payment Protocol Message
7272
optional string status_message = 5; // Human-readable Payment Protocol status message
73-
required bytes identifier = 6; // Unique key to identify this entire exchange on the server. SHA256 of initial serialized InvoiceRequest SHOULD be used by default
73+
required bytes identifier = 6; // Unique key to identify this entire exchange on the server. Default value SHOULD be SHA256(Serialized Initial InvoiceRequest + Current Epoch Time in Seconds as a String)
7474
}
7575

7676
message EncryptedProtocolMessage {
@@ -81,7 +81,7 @@ message EncryptedProtocolMessage {
8181
required bytes receiver_public_key = 5; // Receiver's DER-encoded EC Public Key
8282
required bytes sender_public_key = 6; // Sender's DER-encoded EC Public Key
8383
required uint64 nonce = 7; // Microseconds since epoch
84-
required bytes identifier = 8; // Unique key to identify this entire exchange on the server. SHA256 of initial serialized InvoiceRequest SHOULD be used by default
84+
required bytes identifier = 8; // Unique key to identify this entire exchange on the server. Default value SHOULD be SHA256(Serialized Initial InvoiceRequest + Current Epoch Time in Seconds as a String)
8585
optional string status_message = 9; // Human-readable Payment Protocol status message
8686
optional bytes signature = 10; // Signature over the full EncryptedProtocolMessage with EC Key Belonging to Sender / Receiver, respectively
8787
}

0 commit comments

Comments
 (0)