mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-21 05:48:23 +00:00
6efe4e4418
drop `from future import` in __init__.py, import just the name, not *
18 lines
618 B
Python
18 lines
618 B
Python
# Automatically generated by pb2py
|
|
from .. import protobuf as p
|
|
from .TransactionType import TransactionType
|
|
from .TxInputType import TxInputType
|
|
from .TxOutputType import TxOutputType
|
|
|
|
|
|
class SimpleSignTx(p.MessageType):
|
|
FIELDS = {
|
|
1: ('inputs', TxInputType, p.FLAG_REPEATED),
|
|
2: ('outputs', TxOutputType, p.FLAG_REPEATED),
|
|
3: ('transactions', TransactionType, p.FLAG_REPEATED),
|
|
4: ('coin_name', p.UnicodeType, 0), # default='Bitcoin'
|
|
5: ('version', p.UVarintType, 0), # default=1
|
|
6: ('lock_time', p.UVarintType, 0), # default=0
|
|
}
|
|
MESSAGE_WIRE_TYPE = 16
|