mirror of
https://github.com/bitcoin/bips.git
synced 2026-04-06 16:16:45 +00:00
- Replace UNKNOWN_TYPE with UNKNOWN_MESSAGE_TYPE
This commit is contained in:
@@ -109,7 +109,7 @@ message InvoiceRequest {
|
|||||||
This enum is used in the newly defined [[#ProtocolMessage|ProtocolMessage]] and [[#EncryptedProtocolMessage|EncryptedProtocolMessage]] messages to define the serialized message type. The '''ProtocolMessageType''' enum is defined in an extensible way to allow for new message type additions to the Payment Protocol.
|
This enum is used in the newly defined [[#ProtocolMessage|ProtocolMessage]] and [[#EncryptedProtocolMessage|EncryptedProtocolMessage]] messages to define the serialized message type. The '''ProtocolMessageType''' enum is defined in an extensible way to allow for new message type additions to the Payment Protocol.
|
||||||
<pre>
|
<pre>
|
||||||
enum ProtocolMessageType {
|
enum ProtocolMessageType {
|
||||||
UNKNOWN_TYPE = 0;
|
UNKNOWN_MESSAGE_TYPE = 0;
|
||||||
INVOICE_REQUEST = 1;
|
INVOICE_REQUEST = 1;
|
||||||
PAYMENT_REQUEST = 2;
|
PAYMENT_REQUEST = 2;
|
||||||
PAYMENT = 3;
|
PAYMENT = 3;
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ message InvoiceRequest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
enum ProtocolMessageType {
|
enum ProtocolMessageType {
|
||||||
UNKNOWN_TYPE = 0;
|
UNKNOWN_MESSAGE_TYPE = 0;
|
||||||
INVOICE_REQUEST = 1;
|
INVOICE_REQUEST = 1;
|
||||||
PAYMENT_REQUEST = 2;
|
PAYMENT_REQUEST = 2;
|
||||||
PAYMENT = 3;
|
PAYMENT = 3;
|
||||||
|
|||||||
Reference in New Issue
Block a user