Skip to content

Commit

Permalink
xmr: lite protocol removed
Browse files Browse the repository at this point in the history
- backup left in xmr-total-full-with-lite branch
  • Loading branch information
ph4r05 committed Oct 2, 2018
1 parent e5f5b5b commit 813cb3a
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 864 deletions.
17 changes: 1 addition & 16 deletions src/apps/monero/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,11 @@
from trezor.messages import MessageType


# persistent state objects
class Holder:
def __init__(self):
self.ctx_sign = None
self.ctx_ki = None
self.ctx_lite = None


STATE = Holder()


def boot():
wire.add(MessageType.MoneroGetAddress, __name__, "get_address")
wire.add(MessageType.MoneroGetWatchKey, __name__, "get_watch_only")
wire.add(MessageType.MoneroTransactionInitRequest, __name__, "sign_tx")
wire.add(MessageType.MoneroKeyImageExportInitRequest, __name__, "key_image_sync")

if hasattr(MessageType, "MoneroLiteInitRequest"):
wire.add(MessageType.MoneroLiteInitRequest, "lite_protocol", STATE, 1)
wire.add(MessageType.MoneroLiteRequest, "lite_protocol", STATE, 0)

if hasattr(MessageType, "DebugMoneroDiagRequest"):
if __debug__ and hasattr(MessageType, "DebugMoneroDiagRequest"):
wire.add(MessageType.DebugMoneroDiagRequest, __name__, "diag")
38 changes: 0 additions & 38 deletions src/apps/monero/lite_protocol.py

This file was deleted.

Empty file.
80 changes: 0 additions & 80 deletions src/apps/monero/protocol_lite/consts.py

This file was deleted.

Loading

0 comments on commit 813cb3a

Please sign in to comment.