matejcik
aace6577c8
log: remove special handling of Features/CoinType in prettyprinter
...
now that Trezor won't send CoinTypes anymore
2018-05-28 15:01:17 +02:00
matejcik
1e4c1c093e
protobuf: improve prettyprint formatting
2018-05-11 15:29:38 +02:00
matejcik
eed91db880
protocol: python logging to supersede VerboseWire
2018-05-11 15:29:38 +02:00
matejcik
325312d11c
protobuf: move formatter function to protobuf where it belongs better
2018-05-11 15:29:38 +02:00
matejcik
28264a4fe0
protobuf: improve description of sint_to_uint
2018-05-07 14:10:34 +02:00
matejcik
df8c3da1a2
protobuf: properly implement signed types ( fixes #249 )
2018-05-07 14:10:34 +02:00
matejcik
afb3e04c24
trezorlib/protobuf.py: return BytesType from wire as bytes, not bytearray.
...
This makes more sense, because bytes are immutable and callers have no business
mutating structures from the wire anyway.
Incidentally this should fix issue #236 , where rlp library would treat
bytes and bytearrays differently and produce invalid structures in our usecase.
Also very minor nitpicks and code cleanup for neater typing.
2018-03-20 13:00:36 +01:00
Pavol Rusnak
7b844f0379
add Sint64 to protobuf
2018-01-30 15:04:24 +01:00
Pavol Rusnak
0c5eac2f39
skip None and empty ([]) fields in proto messages
2018-01-07 18:07:13 +01:00
Saleem Rashid
2996138341
protobuf: Call _fill_missing in __init__
2017-12-19 13:16:22 +01:00
Pavol Rusnak
753e91dff0
protobuf: encode to utf-8 bytestream
2017-12-18 22:44:54 +01:00
slush
a27217811b
Rework from Google's protobuf to pure-python protobuf implementation
2017-12-17 02:19:16 +01:00