mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-12 16:30:56 +00:00
06927e003e
This also moves DebugLinkMixin to debuglink.py and converts the mixin to a subclass of TrezorClient (which is finally becoming a reasonable-looking class). This takes advantage of the new UI protocol and is ready for further improvements, namely, queuing input for tests that require swipes. The ui.py module contains a Click-based implementation of the UI protocol. Use of callback_* methods has been limited and will probably be cleaned up further (The contract has changed so we'll try to make third party code fail noisily. It is unclear whether a backwards compatible approach will be possible). Furthermore, device.recovery() now takes a callback as an argument. This way we can get rid of WordRequest callbacks, which are only used in the recovery flow. |
||
---|---|---|
.. | ||
messages | ||
qt | ||
tests | ||
transport | ||
__init__.py | ||
_ed25519.py | ||
btc.py | ||
cardano.py | ||
ckd_public.py | ||
client.py | ||
coins.py | ||
cosi.py | ||
debuglink.py | ||
device.py | ||
ethereum.py | ||
exceptions.py | ||
firmware.py | ||
lisk.py | ||
log.py | ||
mapping.py | ||
misc.py | ||
nem.py | ||
ontology.py | ||
protobuf.py | ||
protocol_v1.py | ||
protocol_v2.py | ||
ripple.py | ||
stellar.py | ||
tezos.py | ||
tools.py | ||
tx_api.py | ||
ui.py |