mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-05-29 04:08:46 +00:00
common: fix whitespace
This commit is contained in:
parent
8de01511d0
commit
60d1d93228
@ -11,8 +11,8 @@ option java_outer_classname = "TrezorMessageRipple";
|
|||||||
* @next RippleAddress
|
* @next RippleAddress
|
||||||
*/
|
*/
|
||||||
message RippleGetAddress {
|
message RippleGetAddress {
|
||||||
repeated uint32 address_n = 1; // BIP-32 path. For compatibility with other wallets, must be m/44'/144'/index'
|
repeated uint32 address_n = 1; // BIP-32 path. For compatibility with other wallets, must be m/44'/144'/index'
|
||||||
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
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -20,7 +20,7 @@ message RippleGetAddress {
|
|||||||
* @end
|
* @end
|
||||||
*/
|
*/
|
||||||
message RippleAddress {
|
message RippleAddress {
|
||||||
optional string address = 1; // Address in Ripple format (base58 of a pubkey with checksum)
|
optional string address = 1; // Address in Ripple format (base58 of a pubkey with checksum)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -29,24 +29,24 @@ message RippleAddress {
|
|||||||
* @next RippleSignedTx
|
* @next RippleSignedTx
|
||||||
*/
|
*/
|
||||||
message RippleSignTx {
|
message RippleSignTx {
|
||||||
repeated uint32 address_n = 1; // BIP-32 path. For compatibility with other wallets, must be m/44'/144'/index'
|
repeated uint32 address_n = 1; // BIP-32 path. For compatibility with other wallets, must be m/44'/144'/index'
|
||||||
optional uint64 fee = 2; // fee (in drops) for the transaction
|
optional uint64 fee = 2; // fee (in drops) for the transaction
|
||||||
optional uint32 flags = 3; // transaction flags
|
optional uint32 flags = 3; // transaction flags
|
||||||
optional uint32 sequence = 4; // transaction sequence number
|
optional uint32 sequence = 4; // transaction sequence number
|
||||||
optional uint32 last_ledger_sequence = 5; // see https://developers.ripple.com/reliable-transaction-submission.html#lastledgersequence
|
optional uint32 last_ledger_sequence = 5; // see https://developers.ripple.com/reliable-transaction-submission.html#lastledgersequence
|
||||||
optional RipplePayment payment = 6; // Payment transaction type
|
optional RipplePayment payment = 6; // Payment transaction type
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Payment transaction type
|
* Payment transaction type
|
||||||
* - simple A sends money to B
|
* - simple A sends money to B
|
||||||
* - only a subset of fields is supported
|
* - only a subset of fields is supported
|
||||||
* - see https://developers.ripple.com/payment.html
|
* - see https://developers.ripple.com/payment.html
|
||||||
*/
|
*/
|
||||||
message RipplePayment {
|
message RipplePayment {
|
||||||
optional uint64 amount = 1; // only XRP is supported at the moment so this an integer
|
optional uint64 amount = 1; // only XRP is supported at the moment so this an integer
|
||||||
optional string destination = 2; // destination account address
|
optional string destination = 2; // destination account address
|
||||||
optional uint32 destination_tag = 3; // destination tag to identify payments
|
optional uint32 destination_tag = 3; // destination tag to identify payments
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -54,6 +54,6 @@ message RippleSignTx {
|
|||||||
* @end
|
* @end
|
||||||
*/
|
*/
|
||||||
message RippleSignedTx {
|
message RippleSignedTx {
|
||||||
optional bytes signature = 1;
|
optional bytes signature = 1;
|
||||||
optional bytes serialized_tx = 2;
|
optional bytes serialized_tx = 2;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user