mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-12 12:03:29 +00:00
- Update identifier comment in paymentrequest.proto
This commit is contained in:
parent
7dd419e08a
commit
99614fcf2e
@ -70,7 +70,7 @@ message ProtocolMessage {
|
|||||||
required ProtocolMessageType message_type = 3; // Message Type of serialized_message
|
required ProtocolMessageType message_type = 3; // Message Type of serialized_message
|
||||||
required bytes serialized_message = 4; // Serialized Payment Protocol Message
|
required bytes serialized_message = 4; // Serialized Payment Protocol Message
|
||||||
optional string status_message = 5; // Human-readable Payment Protocol status message
|
optional string status_message = 5; // Human-readable Payment Protocol status message
|
||||||
required bytes identifier = 6; // Unique key to identify this entire exchange on the server. SHA256 of initial serialized InvoiceRequest SHOULD be used by default
|
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)
|
||||||
}
|
}
|
||||||
|
|
||||||
message EncryptedProtocolMessage {
|
message EncryptedProtocolMessage {
|
||||||
@ -81,7 +81,7 @@ message EncryptedProtocolMessage {
|
|||||||
required bytes receiver_public_key = 5; // Receiver's DER-encoded EC Public Key
|
required bytes receiver_public_key = 5; // Receiver's DER-encoded EC Public Key
|
||||||
required bytes sender_public_key = 6; // Sender's DER-encoded EC Public Key
|
required bytes sender_public_key = 6; // Sender's DER-encoded EC Public Key
|
||||||
required uint64 nonce = 7; // Microseconds since epoch
|
required uint64 nonce = 7; // Microseconds since epoch
|
||||||
required bytes identifier = 8; // Unique key to identify this entire exchange on the server. SHA256 of initial serialized InvoiceRequest SHOULD be used by default
|
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)
|
||||||
optional string status_message = 9; // Human-readable Payment Protocol status message
|
optional string status_message = 9; // Human-readable Payment Protocol status message
|
||||||
optional bytes signature = 10; // Signature over the full EncryptedProtocolMessage with EC Key Belonging to Sender / Receiver, respectively
|
optional bytes signature = 10; // Signature over the full EncryptedProtocolMessage with EC Key Belonging to Sender / Receiver, respectively
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user