trezor-core/src/trezor/messages/EncryptMessage.py

10 lines
390 B
Python
Raw Normal View History

2016-05-03 09:28:58 -07:00
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType('EncryptMessage')
2016-05-23 08:53:18 -07:00
t.wire_type = 49
2016-05-03 09:28:58 -07:00
t.add_field(1, 'pubkey', p.BytesType)
t.add_field(2, 'message', p.BytesType)
t.add_field(3, 'display_only', p.BoolType)
t.add_field(4, 'address_n', p.UVarintType, flags=p.FLAG_REPEATED)
t.add_field(5, 'coin_name', p.UnicodeType, default=u'Bitcoin')
2016-05-23 08:53:18 -07:00
EncryptMessage = t