cosmos / ledger-cosmos-obsolete

Ledger Nano S support for Tendermint/Cosmos
Apache License 2.0
42 stars 29 forks source link

Brejski/signature #16

Closed brejski closed 6 years ago

brejski commented 6 years ago
  1. Major cleanup

    • moved all the ui code to view.c/view.h/view_templates.h
    • moved all the transaction handling code to transaction.c/transaction.h
    • added signature handling in signature.c/signature.h
    • changed most of the public APIs to start with the filename (to mimic sorely missed C++ namespaces) f.e. view_a, view_b, transcation_a, transaction_b
    • added few comments
    • standardized delegate and event_handlers in view
  2. Message signing

    • Copy pasted hashing, private key derivation and signing from other ledger projects. Hashing is working fine, the rest of the signing implementation hangs the ledger - needs investigations.