mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-27 01:48:17 +00:00
protob: fix whitespace in Ontology messages
This commit is contained in:
parent
a6a53441f5
commit
d3989c68d6
@ -5,8 +5,9 @@ option java_package = "com.satoshilabs.trezor.lib.protobuf";
|
|||||||
option java_outer_classname = "TrezorMessageOntology";
|
option java_outer_classname = "TrezorMessageOntology";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ontology Transaction
|
* Ontology Transaction
|
||||||
*/
|
* @embed
|
||||||
|
*/
|
||||||
message OntologyTransaction {
|
message OntologyTransaction {
|
||||||
optional uint32 version = 1;
|
optional uint32 version = 1;
|
||||||
optional uint32 type = 2;
|
optional uint32 type = 2;
|
||||||
@ -28,7 +29,7 @@ message OntologyTransaction {
|
|||||||
* Request: Ask device for Ontology public key corresponding to address_n path
|
* Request: Ask device for Ontology public key corresponding to address_n path
|
||||||
* @start
|
* @start
|
||||||
* @next OntologyPublicKey
|
* @next OntologyPublicKey
|
||||||
*/
|
*/
|
||||||
message OntologyGetPublicKey {
|
message OntologyGetPublicKey {
|
||||||
repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node
|
repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node
|
||||||
optional bool show_display = 2; // Optionally show on display before sending the result
|
optional bool show_display = 2; // Optionally show on display before sending the result
|
||||||
@ -37,7 +38,7 @@ message OntologyGetPublicKey {
|
|||||||
/**
|
/**
|
||||||
* Response: Contains Ontology public key derived from device private seed
|
* Response: Contains Ontology public key derived from device private seed
|
||||||
* @end
|
* @end
|
||||||
*/
|
*/
|
||||||
message OntologyPublicKey {
|
message OntologyPublicKey {
|
||||||
optional bytes public_key = 1; // Ontology public key
|
optional bytes public_key = 1; // Ontology public key
|
||||||
}
|
}
|
||||||
@ -65,7 +66,7 @@ message OntologyAddress {
|
|||||||
* @start
|
* @start
|
||||||
* @next OntologySignedTransfer
|
* @next OntologySignedTransfer
|
||||||
*/
|
*/
|
||||||
message OntologySignTransfer {
|
message OntologySignTransfer {
|
||||||
repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node
|
repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node
|
||||||
optional OntologyTransaction transaction = 2;
|
optional OntologyTransaction transaction = 2;
|
||||||
optional OntologyTransfer transfer = 3;
|
optional OntologyTransfer transfer = 3;
|
||||||
@ -88,9 +89,9 @@ message OntologyAddress {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Response: Contains Ontology transfer signature
|
* Response: Contains Ontology transfer signature
|
||||||
* @end
|
* @end
|
||||||
*/
|
*/
|
||||||
message OntologySignedTransfer {
|
message OntologySignedTransfer {
|
||||||
optional bytes signature = 1;
|
optional bytes signature = 1;
|
||||||
optional bytes payload = 2;
|
optional bytes payload = 2;
|
||||||
@ -101,7 +102,7 @@ message OntologySignedTransfer {
|
|||||||
* @start
|
* @start
|
||||||
* @next OntologySignedWithdrawOng
|
* @next OntologySignedWithdrawOng
|
||||||
*/
|
*/
|
||||||
message OntologySignWithdrawOng {
|
message OntologySignWithdrawOng {
|
||||||
repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node
|
repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node
|
||||||
optional OntologyTransaction transaction = 2;
|
optional OntologyTransaction transaction = 2;
|
||||||
optional OntologyWithdrawOng withdraw_ong = 3;
|
optional OntologyWithdrawOng withdraw_ong = 3;
|
||||||
@ -116,9 +117,9 @@ message OntologySignedTransfer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Response: Contains Ontology ONG withdrawal signature
|
* Response: Contains Ontology ONG withdrawal signature
|
||||||
* @end
|
* @end
|
||||||
*/
|
*/
|
||||||
message OntologySignedWithdrawOng {
|
message OntologySignedWithdrawOng {
|
||||||
optional bytes signature = 1;
|
optional bytes signature = 1;
|
||||||
optional bytes payload = 2;
|
optional bytes payload = 2;
|
||||||
@ -129,7 +130,7 @@ message OntologySignedWithdrawOng {
|
|||||||
* @start
|
* @start
|
||||||
* @next OntologySignedOntIdRegister
|
* @next OntologySignedOntIdRegister
|
||||||
*/
|
*/
|
||||||
message OntologySignOntIdRegister {
|
message OntologySignOntIdRegister {
|
||||||
repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node
|
repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node
|
||||||
optional OntologyTransaction transaction = 2;
|
optional OntologyTransaction transaction = 2;
|
||||||
optional OntologyOntIdRegister ont_id_register = 3;
|
optional OntologyOntIdRegister ont_id_register = 3;
|
||||||
@ -143,9 +144,9 @@ message OntologySignedWithdrawOng {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Response: Contains Ontology ONT ID registration signature
|
* Response: Contains Ontology ONT ID registration signature
|
||||||
* @end
|
* @end
|
||||||
*/
|
*/
|
||||||
message OntologySignedOntIdRegister {
|
message OntologySignedOntIdRegister {
|
||||||
optional bytes signature = 1;
|
optional bytes signature = 1;
|
||||||
optional bytes payload = 2;
|
optional bytes payload = 2;
|
||||||
@ -156,7 +157,7 @@ message OntologySignedOntIdRegister {
|
|||||||
* @start
|
* @start
|
||||||
* @next OntologySignedOntIdAddAttributes
|
* @next OntologySignedOntIdAddAttributes
|
||||||
*/
|
*/
|
||||||
message OntologySignOntIdAddAttributes {
|
message OntologySignOntIdAddAttributes {
|
||||||
repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node
|
repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node
|
||||||
optional OntologyTransaction transaction = 2;
|
optional OntologyTransaction transaction = 2;
|
||||||
optional OntologyOntIdAddAttributes ont_id_add_attributes = 3;
|
optional OntologyOntIdAddAttributes ont_id_add_attributes = 3;
|
||||||
@ -179,9 +180,9 @@ message OntologySignedOntIdRegister {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Response: Contains Ontology ONT ID attributes adding signature
|
* Response: Contains Ontology ONT ID attributes adding signature
|
||||||
* @end
|
* @end
|
||||||
*/
|
*/
|
||||||
message OntologySignedOntIdAddAttributes {
|
message OntologySignedOntIdAddAttributes {
|
||||||
optional bytes signature = 1;
|
optional bytes signature = 1;
|
||||||
optional bytes payload = 2;
|
optional bytes payload = 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user