1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-21 22:08:08 +00:00
trezor-firmware/common
gabrielkerekes e1615e60ec Update Cardano to support Shelley era 1/3
Update protobuf

- Previous transactions don't need to be sent anymore, because fee is
  included in the transaction now. Thus transactions_count can be
  removed from CardanoSignTx message and the CardanoTxAck and
  CardanoTxRequest messages can be removed altogether.
- CardanoTxInputType.type is unused so remove it

Add NULL (None type) serialisation to CBOR

- Transaction metada must either have a valid structure or CBOR NULL
  must be used (if metadata is empty) - it can't be simply left out.

Add protocol_magics file

- Just to have a nicer way of representing protocol magics

Update transaction signing

- Previous transactions no longer need to be requested
- Output building is simplified, since fee doesn't need to be calculated
- Remove transaction class since it is no longer needed (only functions
  remained)
- Reorder functions so it reads top to bottom

Add protocol magic to byron address on testnet

- This has always been a part of the spec, but it hasn't been
  implemented before, because it wasn't really needed.

Update trezorlib

Update tests

- Transaction messages are no longer required
- Expected values are different since tx format changed
- Common values in test cases have been extracted

Remove unused file

- Progress was used when receiving previous transactions

Add CRC check to output address validation
2020-07-27 13:04:49 +02:00
..
defs common: bump zec and taz support 2020-07-15 08:58:54 +02:00
keys all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
protob Update Cardano to support Shelley era 1/3 2020-07-27 13:04:49 +02:00
tools common/tools: validate for string emptiness in cointool 2020-06-11 17:49:30 +02:00
udev fix whitespaces 2019-10-30 10:07:30 +01:00
.gitignore common: add BNB to support.json (#503) 2019-09-06 12:28:13 +02:00
.gitmodules MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
.gitrepo git subrepo push common 2020-07-03 11:47:52 +02:00
COPYING MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
README.md docs: move docs to root 2019-12-06 12:24:20 +00:00

Trezor Common

This project contains files shared among Trezor projects. All changes are happening inside the Trezor Firmware repository.

We also export this project to the trezor-common repository as a read-only copy so third parties may depend on that instead of the whole monorepo. It is meant to be used as a submodule using:

git submodule add https://github.com/trezor/trezor-common.git trezor-common