mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 23:08:14 +00:00
cf396e3661
This separates the regeneration step from the build/install step. This is to simplify bootstrapping: trezorlib is needed in several build/test steps, and bound to be needed in more. It should be usable and installable straight from the checkout.
32 lines
892 B
Python
32 lines
892 B
Python
# Automatically generated by pb2py
|
|
# fmt: off
|
|
from .. import protobuf as p
|
|
|
|
|
|
class MoneroLiveRefreshStepRequest(p.MessageType):
|
|
MESSAGE_WIRE_TYPE = 554
|
|
|
|
def __init__(
|
|
self,
|
|
out_key: bytes = None,
|
|
recv_deriv: bytes = None,
|
|
real_out_idx: int = None,
|
|
sub_addr_major: int = None,
|
|
sub_addr_minor: int = None,
|
|
) -> None:
|
|
self.out_key = out_key
|
|
self.recv_deriv = recv_deriv
|
|
self.real_out_idx = real_out_idx
|
|
self.sub_addr_major = sub_addr_major
|
|
self.sub_addr_minor = sub_addr_minor
|
|
|
|
@classmethod
|
|
def get_fields(cls):
|
|
return {
|
|
1: ('out_key', p.BytesType, 0),
|
|
2: ('recv_deriv', p.BytesType, 0),
|
|
3: ('real_out_idx', p.UVarintType, 0),
|
|
4: ('sub_addr_major', p.UVarintType, 0),
|
|
5: ('sub_addr_minor', p.UVarintType, 0),
|
|
}
|