mirror of
https://github.com/bitcoin/bips.git
synced 2026-07-06 17:46:00 +00:00
- Update identifier to be a required field in ProtocolMessage and EncryptedProtocolMessage
This commit is contained in:
@@ -141,7 +141,7 @@ message ProtocolMessage {
|
||||
required ProtocolMessageType message_type = 3;
|
||||
required bytes serialized_message = 4;
|
||||
optional string status_message = 5;
|
||||
optional bytes identifier = 6;
|
||||
required bytes identifier = 6;
|
||||
}
|
||||
</pre>
|
||||
|
||||
@@ -177,7 +177,7 @@ message EncryptedProtocolMessage {
|
||||
required bytes receiver_public_key = 5;
|
||||
required bytes sender_public_key = 6;
|
||||
required uint64 nonce = 7;
|
||||
optional bytes identifier = 8;
|
||||
required bytes identifier = 8;
|
||||
optional string status_message = 9;
|
||||
optional bytes signature = 10;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user