Commit Graph

21 Commits (40eaa1fa36a34640c897f7374ca4ec9116d2b5dc)

Author SHA1 Message Date
matejcik 601d3b49c3 trezorlib: add some utility features
6 years ago
matejcik c248946b3d protobuf: make MessageType more dict-like, drop _add_ and _extend_
6 years ago
matejcik 4fb3acb029 style: uppercase hex constants to conform with black 18.9b0 style
6 years ago
Pavol Rusnak 4a0ca873eb trezorlib+tools: remove usage of binascii
6 years ago
Dusan Klinec 6b32e33c58
protobuf.py uses get_fields()
6 years ago
Pavol Rusnak 434f279069
use implicit encoding in encode/decode
6 years ago
matejcik abf0e82d80 trezorlib: implement auto-creating protobuf messages from dicts
6 years ago
matejcik 3d3e9b67b4 style: apply black/isort
6 years ago
matejcik 54f1599a5a regenerate license headers
6 years ago
matejcik aace6577c8 log: remove special handling of Features/CoinType in prettyprinter
6 years ago
matejcik 1e4c1c093e protobuf: improve prettyprint formatting
6 years ago
matejcik eed91db880 protocol: python logging to supersede VerboseWire
6 years ago
matejcik 325312d11c protobuf: move formatter function to protobuf where it belongs better
6 years ago
matejcik 28264a4fe0 protobuf: improve description of sint_to_uint
6 years ago
matejcik df8c3da1a2 protobuf: properly implement signed types (fixes #249)
6 years ago
matejcik afb3e04c24 trezorlib/protobuf.py: return BytesType from wire as bytes, not bytearray.
6 years ago
Pavol Rusnak 7b844f0379
add Sint64 to protobuf
7 years ago
Pavol Rusnak 0c5eac2f39
skip None and empty ([]) fields in proto messages
7 years ago
Saleem Rashid 2996138341 protobuf: Call _fill_missing in __init__
7 years ago
Pavol Rusnak 753e91dff0
protobuf: encode to utf-8 bytestream
7 years ago
slush a27217811b Rework from Google's protobuf to pure-python protobuf implementation
7 years ago