1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-29 10:58:21 +00:00
Commit Graph

405 Commits

Author SHA1 Message Date
Rafael Korbas
bd4512b53a fix(core/cardano): Allow stake pool registrations with zero margin 2021-03-18 09:35:08 +01:00
Pavol Rusnak
cc9dd66729
feat(common): let's work with Trezor Suite instead of the web wallet 2021-03-17 16:47:57 +01:00
JoeGruff
e3ea32a986 multi: Add decred staking.
Add two new input and four output script types.

Decred ticket purchases consist of a stake submission, op returns, and
change addresses. Although change addresses are allowed by consensus,
they are no longer used in practice and so have been given the
restrictions of a null pubkey and no value. Stake scripts are almost
identical to p2pkh or p2sh except for an extra opcode in front. Inputs
are currently only used in the form of one input three outputs with the
first output, or stake submission, paying to a public key hash, or with
two inputs and five outputs with the stake submission paying to a
multisig script hash. The op returns are directed to the user in the
case of one and the voting service provider and user in the case of two.

One of the sstx commitment for a ticket must pay back to the trezor
wallet. This is checked and an error is thrown if we don't find the
expected public key hash.

Because this adds the ability to create new types of outputs once the
ticket votes, two new input script types are also needed. A successful
vote will lead to a stake generation script that must be spent, and an
unsuccessful vote will lead to a revocation script that must be spent.
If we allowed stake change scripts to have a valid pubkey, that too
would require another op code, but we disallow those for output.
2021-03-17 12:16:08 +01:00
Pavol Rusnak
6c11bc60d7
common/defs/fido: add namecheap 2021-03-15 17:22:12 +01:00
Roman Zeyde
b2877afa7f feat(common): add public_key to ECDHSessionKey 2021-03-08 15:59:00 +01:00
Pavol Rusnak
4b0f41d41e
fix(common): change msg_id of RebootToBootloader from 804 to 87 2021-03-03 12:07:00 +01:00
Ondrej Mikle
d0b630abfc
chore(legacy): return code for reboot call 2021-03-03 12:06:59 +01:00
Ondrej Mikle
2dccbf99d4
chore(legacy): add reset to bootloader protobuf message 2021-03-03 12:06:59 +01:00
matejcik
35505e9a17 chore(common): regenerate coins_details 2021-03-01 12:05:54 +01:00
matejcik
c101754842 fix(common/tools): cast a wider net when looking for CMC match 2021-03-01 12:05:54 +01:00
matejcik
ed0ac98970 fix(common/tools): strip "mainnet" from Ethereum network names 2021-03-01 12:05:54 +01:00
matejcik
090d103382 fix(common/tools): cleaner handling of duplicity overrides 2021-03-01 12:05:54 +01:00
Pavol Rusnak
17fa6ab4ec chore(common): update chains+tokens 2021-03-01 12:05:54 +01:00
Rafael Korbas
cf871ee754 fix(core/Cardano): do not show change output in byron-shelley transfers 2021-02-25 16:41:12 +01:00
Martin Milata
db2db8e6f3 feat(common): add hold_ms to DebugLinkDecision 2021-02-24 00:10:10 +01:00
Pavol Rusnak
a5778d1209
chore(common): regenerate coins_details.json
[skip_ci]
2021-02-11 17:28:45 +01:00
gabrielkerekes
d4dcd7bff9 fix(core/cardano): allow staking accounts beyond 100' 2021-02-11 09:55:23 +01:00
matejcik
576d431058 feat(common): set more fields as required (#1406) 2021-02-10 10:56:52 +01:00
matejcik
bf562cfd4b feat(core/misc): enable typing for misc app 2021-02-10 10:56:52 +01:00
matejcik
ccd241fe55 feat(core/cardano): enable typing for Cardano app 2021-02-10 10:56:52 +01:00
Pavol Rusnak
18b51b856b
common/fido: update icons for github, mojeid and slushpool (#1456) 2021-02-08 16:51:49 +01:00
Pavol Rusnak
1d4cff97ec
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "944742aa7"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "944742aa7"
git-subrepo:
  version:  "0.4.1"
  origin:   "???"
  commit:   "???"
2021-02-02 14:50:35 +01:00
Rafael Korbas
e4c406822c Add multiasset sending and min validity to Cardano transactions 2021-01-27 18:26:40 +01:00
Pavol Rusnak
345ef52949 feat(proto): add amount_unit to AuthorizeCoinJoin and SignTx 2021-01-22 14:07:36 +01:00
Pavol Rusnak
4ed714ba47 common/defs: add xpub_magic_multisig_segwit_{native,p2sh} fields to coins 2021-01-21 23:46:29 +01:00
Pavol Rusnak
6689b9c22f common/protob: add GetAddress.ignore_xpub_magic field 2021-01-21 23:46:29 +01:00
Rafael Korbas
3a7a8e4d77 Disable "at least one output" restriction for Cardano, warn instead 2021-01-20 16:00:30 +01:00
mcudev
b8ffcadf94
common/defs/fido: add gemini webauthn (#1416) 2021-01-19 14:15:19 +01:00
Pavol Rusnak
a7e7f6fc5f
common/defs: fix typo in cointool; remove icons of already deleted coins
[skip_ci]
2021-01-13 19:52:59 +01:00
Pavol Rusnak
a205a86505
docs: fix typo
[skip_ci]
2021-01-13 11:06:36 +01:00
Pavol Rusnak
edb1243f64 feat(proto): add descriptors related fields to GetPublicKey/PublicKey 2021-01-08 14:17:09 +01:00
matejcik
9a9f23c54e chore(common): regenerate coins_details 2021-01-04 12:17:55 +01:00
matejcik
8cae43f874 fix(common): drop non-functional wallet links (fixes #1400) 2021-01-04 12:17:40 +01:00
Pavol Rusnak
d657cdaeef
fix(common): update protob combine script to reflect new changes 2020-12-10 16:53:00 +01:00
Pavol Rusnak
1187e4ddaf style(common): use new syntax for typing in autogenerated protobuf enums 2020-12-01 15:52:29 +01:00
matejcik
58387a5f04 fix(common): drop Zilliqa token (fixes #1318) 2020-11-20 18:55:35 +01:00
matejcik
f0ede24bd7 chore(common): refresh coins details 2020-11-20 18:55:35 +01:00
matejcik
dc7f49aeea chore(common): update tokens and support data 2020-11-20 18:55:35 +01:00
matejcik
1bade86792 feat(common): load Ethereum networks from upstream 2020-11-20 18:55:35 +01:00
matejcik
e72b6abf47 feat(common/tools): use pathlib in cointool 2020-11-20 18:55:35 +01:00
matejcik
ac65867771 feat(common): move out blockbook urls to a separate file 2020-11-20 18:55:35 +01:00
matejcik
f709df02d6 feat(common/tools): allow overriding non-token network duplicity info 2020-11-20 18:55:35 +01:00
matejcik
e8fcdbb426 feat(common): add upstream Ethereum chains repository 2020-11-20 18:55:35 +01:00
Rafael Korbas
b311bd4d4a Add displaying of TTL to cardano transaction, align url validation with Ledger 2020-11-20 15:58:50 +01:00
Rafael Korbas
b261f789f3 Add support for stakepool registration to Cardano 2020-11-20 15:58:50 +01:00
Pavol Rusnak
c6e78e525a
fix: remove PIVX (#1359) 2020-11-20 12:12:42 +01:00
Huge
e871a1c4ae
docs(common): remove mention of deprecated folder (#1349)
There is no coins/ subdirectory anymore so it makes no sense to describe it.
2020-11-17 15:43:01 +01:00
Pavol Rusnak
f0968e8f66
common: don't use Beta/Next but rather Suite 2020-11-14 16:45:31 +01:00
Pavol Rusnak
de44454cbf
common: reintroduce accountviewer.stellar.org 2020-11-14 16:42:43 +01:00
Pavol Rusnak
50fdd183c2
ci: enable editorconfig checks, fix whitespace issues 2020-11-11 14:43:50 +01:00