-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from Zondax/fix/device
Add ED25519 to app parameters
- Loading branch information
Showing
179 changed files
with
391 additions
and
396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule ledger-zxlib
updated
13 files
+32 −0 | app/ui/view.h | |
+163 −0 | app/ui/view_inspect_s.c | |
+197 −0 | app/ui/view_inspect_x.c | |
+12 −0 | app/ui/view_internal.h | |
+2 −0 | app/ui/view_nano.h | |
+176 −0 | app/ui/view_nano_inspect.c | |
+32 −0 | app/ui/view_nano_inspect.h | |
+7 −4 | app/ui/view_s.c | |
+6 −2 | app/ui/view_x.c | |
+1 −1 | dockerized_build.mk | |
+12 −12 | include/zxmacros_ledger.h | |
+2 −2 | include/zxversion.h | |
+1 −0 | makefiles/Makefile.platform |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+286 Bytes
(180%)
tests_zemu/snapshots/s-builder-addr-diff-to-inittx-addr/00021.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+386 Bytes
(250%)
tests_zemu/snapshots/s-builder-addr-diff-to-inittx-addr/00022.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+11 Bytes
(100%)
tests_zemu/snapshots/s-builder-addr-diff-to-inittx-addr/00023.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-71 Bytes
(78%)
tests_zemu/snapshots/s-builder-addr-diff-to-inittx-addr/00024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+286 Bytes
(180%)
tests_zemu/snapshots/s-ext-more-sigs-than-needed-for-tx/00021.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+386 Bytes
(250%)
tests_zemu/snapshots/s-ext-more-sigs-than-needed-for-tx/00022.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+11 Bytes
(100%)
tests_zemu/snapshots/s-ext-more-sigs-than-needed-for-tx/00023.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-71 Bytes
(78%)
tests_zemu/snapshots/s-ext-more-sigs-than-needed-for-tx/00024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+286 Bytes
(180%)
tests_zemu/snapshots/s-not-using-ledger-rnd-for-tx/00021.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+386 Bytes
(250%)
tests_zemu/snapshots/s-not-using-ledger-rnd-for-tx/00022.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+11 Bytes
(100%)
tests_zemu/snapshots/s-not-using-ledger-rnd-for-tx/00023.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-71 Bytes
(78%)
tests_zemu/snapshots/s-not-using-ledger-rnd-for-tx/00024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+519 Bytes
(240%)
tests_zemu/snapshots/sp-builder-addr-diff-to-inittx-addr/00017.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+196 Bytes
(170%)
tests_zemu/snapshots/sp-builder-addr-diff-to-inittx-addr/00018.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-61 Bytes
(83%)
tests_zemu/snapshots/sp-builder-addr-diff-to-inittx-addr/00019.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-141 Bytes
(72%)
tests_zemu/snapshots/sp-builder-addr-diff-to-inittx-addr/00020.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+519 Bytes
(240%)
tests_zemu/snapshots/sp-ext-more-sigs-than-needed-for-tx/00017.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+196 Bytes
(170%)
tests_zemu/snapshots/sp-ext-more-sigs-than-needed-for-tx/00018.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-61 Bytes
(83%)
tests_zemu/snapshots/sp-ext-more-sigs-than-needed-for-tx/00019.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-141 Bytes
(72%)
tests_zemu/snapshots/sp-ext-more-sigs-than-needed-for-tx/00020.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+519 Bytes
(240%)
tests_zemu/snapshots/sp-not-using-ledger-rnd-for-tx/00017.png
Oops, something went wrong.
Binary file modified
BIN
+196 Bytes
(170%)
tests_zemu/snapshots/sp-not-using-ledger-rnd-for-tx/00018.png
Oops, something went wrong.
Binary file modified
BIN
-61 Bytes
(83%)
tests_zemu/snapshots/sp-not-using-ledger-rnd-for-tx/00019.png
Oops, something went wrong.
Binary file modified
BIN
-141 Bytes
(72%)
tests_zemu/snapshots/sp-not-using-ledger-rnd-for-tx/00020.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+82 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-in-1-spend-2-sh-out/00000.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+635 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-in-1-spend-2-sh-out/00002.png
Oops, something went wrong.
Binary file modified
BIN
+376 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-in-1-spend-2-sh-out/00003.png
Oops, something went wrong.
Binary file modified
BIN
+100 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-in-1-spend-2-sh-out/00004.png
Oops, something went wrong.
Binary file modified
BIN
+706 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-in-1-spend-2-sh-out/00005.png
Oops, something went wrong.
Binary file modified
BIN
+298 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-in-1-spend-2-sh-out/00006.png
Oops, something went wrong.
Binary file modified
BIN
+60 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-in-1-spend-2-sh-out/00007.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+82 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-in-1-tr-out-1-spend-2-sh-out/00000.png
Oops, something went wrong.
Binary file modified
BIN
+124 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-in-1-tr-out-1-spend-2-sh-out/00001.png
Oops, something went wrong.
Binary file modified
BIN
+655 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-in-1-tr-out-1-spend-2-sh-out/00002.png
Oops, something went wrong.
Binary file modified
BIN
+324 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-in-1-tr-out-1-spend-2-sh-out/00003.png
Oops, something went wrong.
Binary file modified
BIN
+95 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-in-1-tr-out-1-spend-2-sh-out/00004.png
Oops, something went wrong.
Binary file modified
BIN
+706 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-in-1-tr-out-1-spend-2-sh-out/00005.png
Oops, something went wrong.
Binary file modified
BIN
+298 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-in-1-tr-out-1-spend-2-sh-out/00006.png
Oops, something went wrong.
Binary file modified
BIN
+60 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-in-1-tr-out-1-spend-2-sh-out/00007.png
Oops, something went wrong.
Binary file modified
BIN
-91 Bytes
(99%)
tests_zemu/snapshots/st-1-tr-in-1-tr-out-1-spend-2-sh-out/00008.png
Oops, something went wrong.
Binary file modified
BIN
+82 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-out-1-spend-2-sh-out/00000.png
Oops, something went wrong.
Binary file modified
BIN
+206 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-out-1-spend-2-sh-out/00001.png
Oops, something went wrong.
Binary file modified
BIN
+634 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-out-1-spend-2-sh-out/00002.png
Oops, something went wrong.
Binary file modified
BIN
+336 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-out-1-spend-2-sh-out/00003.png
Oops, something went wrong.
Binary file modified
BIN
+100 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-out-1-spend-2-sh-out/00004.png
Oops, something went wrong.
Binary file modified
BIN
+706 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-out-1-spend-2-sh-out/00005.png
Oops, something went wrong.
Binary file modified
BIN
+298 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-out-1-spend-2-sh-out/00006.png
Oops, something went wrong.
Binary file modified
BIN
+60 Bytes
(100%)
tests_zemu/snapshots/st-1-tr-out-1-spend-2-sh-out/00007.png
Oops, something went wrong.
Binary file modified
BIN
-91 Bytes
(99%)
tests_zemu/snapshots/st-1-tr-out-1-spend-2-sh-out/00008.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+82 Bytes
(100%)
tests_zemu/snapshots/st-builder-addr-diff-to-inittx-addr/00000.png
Oops, something went wrong.
Binary file modified
BIN
+124 Bytes
(100%)
tests_zemu/snapshots/st-builder-addr-diff-to-inittx-addr/00001.png
Oops, something went wrong.
Binary file modified
BIN
+655 Bytes
(100%)
tests_zemu/snapshots/st-builder-addr-diff-to-inittx-addr/00002.png
Oops, something went wrong.
Binary file modified
BIN
+324 Bytes
(100%)
tests_zemu/snapshots/st-builder-addr-diff-to-inittx-addr/00003.png
Oops, something went wrong.
Binary file modified
BIN
+95 Bytes
(100%)
tests_zemu/snapshots/st-builder-addr-diff-to-inittx-addr/00004.png
Oops, something went wrong.
Binary file modified
BIN
+706 Bytes
(100%)
tests_zemu/snapshots/st-builder-addr-diff-to-inittx-addr/00005.png
Oops, something went wrong.
Binary file modified
BIN
+7.27 KB
(170%)
tests_zemu/snapshots/st-builder-addr-diff-to-inittx-addr/00006.png
Oops, something went wrong.
Binary file modified
BIN
+60 Bytes
(100%)
tests_zemu/snapshots/st-builder-addr-diff-to-inittx-addr/00007.png
Oops, something went wrong.
Binary file modified
BIN
-91 Bytes
(99%)
tests_zemu/snapshots/st-builder-addr-diff-to-inittx-addr/00008.png
Oops, something went wrong.
Binary file modified
BIN
+82 Bytes
(100%)
tests_zemu/snapshots/st-ext-data-after-tx-reject/00000.png
Oops, something went wrong.
Binary file modified
BIN
+615 Bytes
(100%)
tests_zemu/snapshots/st-ext-data-after-tx-reject/00001.png
Oops, something went wrong.
Binary file modified
BIN
+615 Bytes
(100%)
tests_zemu/snapshots/st-ext-data-after-tx-reject/00002.png
Oops, something went wrong.
Binary file modified
BIN
+336 Bytes
(100%)
tests_zemu/snapshots/st-ext-data-after-tx-reject/00003.png
Oops, something went wrong.
Binary file modified
BIN
+100 Bytes
(100%)
tests_zemu/snapshots/st-ext-data-after-tx-reject/00004.png
Oops, something went wrong.
Binary file modified
BIN
+686 Bytes
(100%)
tests_zemu/snapshots/st-ext-data-after-tx-reject/00005.png
Oops, something went wrong.
Binary file modified
BIN
+94 Bytes
(100%)
tests_zemu/snapshots/st-ext-data-after-tx-reject/00006.png
Oops, something went wrong.
Binary file modified
BIN
+60 Bytes
(100%)
tests_zemu/snapshots/st-ext-data-after-tx-reject/00007.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+82 Bytes
(100%)
tests_zemu/snapshots/st-ext-more-sigs-than-needed-for-tx/00000.png
Oops, something went wrong.
Binary file modified
BIN
+124 Bytes
(100%)
tests_zemu/snapshots/st-ext-more-sigs-than-needed-for-tx/00001.png
Oops, something went wrong.
Binary file modified
BIN
+655 Bytes
(100%)
tests_zemu/snapshots/st-ext-more-sigs-than-needed-for-tx/00002.png
Oops, something went wrong.
Binary file modified
BIN
+324 Bytes
(100%)
tests_zemu/snapshots/st-ext-more-sigs-than-needed-for-tx/00003.png
Oops, something went wrong.
Binary file modified
BIN
+95 Bytes
(100%)
tests_zemu/snapshots/st-ext-more-sigs-than-needed-for-tx/00004.png
Oops, something went wrong.
Binary file modified
BIN
+706 Bytes
(100%)
tests_zemu/snapshots/st-ext-more-sigs-than-needed-for-tx/00005.png
Oops, something went wrong.
Binary file modified
BIN
+7.27 KB
(170%)
tests_zemu/snapshots/st-ext-more-sigs-than-needed-for-tx/00006.png
Oops, something went wrong.
Binary file modified
BIN
+60 Bytes
(100%)
tests_zemu/snapshots/st-ext-more-sigs-than-needed-for-tx/00007.png
Oops, something went wrong.
Binary file modified
BIN
-91 Bytes
(99%)
tests_zemu/snapshots/st-ext-more-sigs-than-needed-for-tx/00008.png
Oops, something went wrong.
Binary file modified
BIN
+82 Bytes
(100%)
tests_zemu/snapshots/st-ext-output-without-ext-spend-data/00000.png
Oops, something went wrong.
Binary file modified
BIN
+615 Bytes
(100%)
tests_zemu/snapshots/st-ext-output-without-ext-spend-data/00001.png
Oops, something went wrong.
Binary file modified
BIN
+615 Bytes
(100%)
tests_zemu/snapshots/st-ext-output-without-ext-spend-data/00002.png
Oops, something went wrong.
Binary file modified
BIN
+336 Bytes
(100%)
tests_zemu/snapshots/st-ext-output-without-ext-spend-data/00003.png
Oops, something went wrong.
Binary file modified
BIN
+100 Bytes
(100%)
tests_zemu/snapshots/st-ext-output-without-ext-spend-data/00004.png
Oops, something went wrong.
Binary file modified
BIN
+686 Bytes
(100%)
tests_zemu/snapshots/st-ext-output-without-ext-spend-data/00005.png
Oops, something went wrong.
Binary file modified
BIN
+94 Bytes
(100%)
tests_zemu/snapshots/st-ext-output-without-ext-spend-data/00006.png
Oops, something went wrong.
Binary file modified
BIN
+60 Bytes
(100%)
tests_zemu/snapshots/st-ext-output-without-ext-spend-data/00007.png
Oops, something went wrong.
Binary file modified
BIN
-91 Bytes
(99%)
tests_zemu/snapshots/st-ext-output-without-ext-spend-data/00008.png
Oops, something went wrong.
Binary file modified
BIN
+82 Bytes
(100%)
tests_zemu/snapshots/st-ext-sig-without-checkandsign/00000.png
Oops, something went wrong.
Binary file modified
BIN
+615 Bytes
(100%)
tests_zemu/snapshots/st-ext-sig-without-checkandsign/00001.png
Oops, something went wrong.
Binary file modified
BIN
+615 Bytes
(100%)
tests_zemu/snapshots/st-ext-sig-without-checkandsign/00002.png
Oops, something went wrong.
Binary file modified
BIN
+336 Bytes
(100%)
tests_zemu/snapshots/st-ext-sig-without-checkandsign/00003.png
Oops, something went wrong.
Binary file modified
BIN
+100 Bytes
(100%)
tests_zemu/snapshots/st-ext-sig-without-checkandsign/00004.png
Oops, something went wrong.
Binary file modified
BIN
+686 Bytes
(100%)
tests_zemu/snapshots/st-ext-sig-without-checkandsign/00005.png
Oops, something went wrong.
Binary file modified
BIN
+94 Bytes
(100%)
tests_zemu/snapshots/st-ext-sig-without-checkandsign/00006.png
Oops, something went wrong.
Binary file modified
BIN
+60 Bytes
(100%)
tests_zemu/snapshots/st-ext-sig-without-checkandsign/00007.png
Oops, something went wrong.
Binary file modified
BIN
-91 Bytes
(99%)
tests_zemu/snapshots/st-ext-sig-without-checkandsign/00008.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+82 Bytes
(100%)
tests_zemu/snapshots/st-not-using-ledger-rnd-for-tx/00000.png
Oops, something went wrong.
Binary file modified
BIN
+124 Bytes
(100%)
tests_zemu/snapshots/st-not-using-ledger-rnd-for-tx/00001.png
Oops, something went wrong.
Binary file modified
BIN
+655 Bytes
(100%)
tests_zemu/snapshots/st-not-using-ledger-rnd-for-tx/00002.png
Oops, something went wrong.
Binary file modified
BIN
+324 Bytes
(100%)
tests_zemu/snapshots/st-not-using-ledger-rnd-for-tx/00003.png
Oops, something went wrong.
Binary file modified
BIN
+95 Bytes
(100%)
tests_zemu/snapshots/st-not-using-ledger-rnd-for-tx/00004.png
Oops, something went wrong.
Binary file modified
BIN
+706 Bytes
(100%)
tests_zemu/snapshots/st-not-using-ledger-rnd-for-tx/00005.png
Oops, something went wrong.
Binary file modified
BIN
+7.27 KB
(170%)
tests_zemu/snapshots/st-not-using-ledger-rnd-for-tx/00006.png
Oops, something went wrong.
Binary file modified
BIN
+60 Bytes
(100%)
tests_zemu/snapshots/st-not-using-ledger-rnd-for-tx/00007.png
Oops, something went wrong.
Binary file modified
BIN
-91 Bytes
(99%)
tests_zemu/snapshots/st-not-using-ledger-rnd-for-tx/00008.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+225 Bytes
(100%)
tests_zemu/snapshots/st-show_address_unshielded/00001.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+516 Bytes
(240%)
tests_zemu/snapshots/x-builder-addr-diff-to-inittx-addr/00017.png
Oops, something went wrong.
Binary file modified
BIN
+197 Bytes
(170%)
tests_zemu/snapshots/x-builder-addr-diff-to-inittx-addr/00018.png
Oops, something went wrong.
Binary file modified
BIN
-61 Bytes
(83%)
tests_zemu/snapshots/x-builder-addr-diff-to-inittx-addr/00019.png
Oops, something went wrong.
Binary file modified
BIN
-137 Bytes
(72%)
tests_zemu/snapshots/x-builder-addr-diff-to-inittx-addr/00020.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+516 Bytes
(240%)
tests_zemu/snapshots/x-ext-more-sigs-than-needed-for-tx/00017.png
Oops, something went wrong.
Binary file modified
BIN
+197 Bytes
(170%)
tests_zemu/snapshots/x-ext-more-sigs-than-needed-for-tx/00018.png
Oops, something went wrong.
Binary file modified
BIN
-61 Bytes
(83%)
tests_zemu/snapshots/x-ext-more-sigs-than-needed-for-tx/00019.png
Oops, something went wrong.
Binary file modified
BIN
-137 Bytes
(72%)
tests_zemu/snapshots/x-ext-more-sigs-than-needed-for-tx/00020.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+516 Bytes
(240%)
tests_zemu/snapshots/x-not-using-ledger-rnd-for-tx/00017.png
Oops, something went wrong.
Binary file modified
BIN
+197 Bytes
(170%)
tests_zemu/snapshots/x-not-using-ledger-rnd-for-tx/00018.png
Oops, something went wrong.
Binary file modified
BIN
-61 Bytes
(83%)
tests_zemu/snapshots/x-not-using-ledger-rnd-for-tx/00019.png
Oops, something went wrong.
Binary file modified
BIN
-137 Bytes
(72%)
tests_zemu/snapshots/x-not-using-ledger-rnd-for-tx/00020.png
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,178 @@ | ||
export type TIn = { | ||
path: number[], | ||
address: string, | ||
value: number | ||
} | ||
export type TOut = { | ||
address: string, | ||
value: number | ||
} | ||
export type SSpend = { | ||
path: number, | ||
address: string, | ||
value: number | ||
} | ||
export type SOut = { | ||
address: string, | ||
value: number, | ||
memo_type: number, | ||
ovk?: string | null | ||
} | ||
|
||
export type TxInputData = { | ||
t_in: TIn[], | ||
t_out: TOut[], | ||
s_spend: SSpend[], | ||
s_output: SOut[], | ||
} | ||
|
||
const zero: TxInputData = { | ||
t_in: [], | ||
t_out: [], | ||
s_spend: [{ | ||
path: 1000, | ||
address: 'c69e979c6763c1b09238dc6bd5dcbf35360df95dcadf8c0fa25dcbedaaf6057538b812d06656726ea27667', | ||
value: 50000, | ||
}, { | ||
path: 1000, | ||
address: 'c69e979c6763c1b09238dc6bd5dcbf35360df95dcadf8c0fa25dcbedaaf6057538b812d06656726ea27667', | ||
value: 50000, | ||
}], | ||
s_output: [{ | ||
address: '15eae700e01e24e2137d554d67bb0da64eee0bf1c2c392c5f1173a979baeb899663808cd22ed8df27566cc', | ||
value: 55000, | ||
memo_type: 0xf6, | ||
ovk: null | ||
}, | ||
{ | ||
address: 'c69e979c6763c1b09238dc6bd5dcbf35360df95dcadf8c0fa25dcbedaaf6057538b812d06656726ea27667', | ||
value: 100000 - 1000 - 55000, | ||
memo_type: 0xf6, | ||
ovk: '6fc01eaa665e03a53c1e033ed0d77b670cf075ede4ada769997a2ed2ec225fca', | ||
}] | ||
}; | ||
|
||
const one: TxInputData = { | ||
t_in: [{ | ||
path: [44 + 0x80000000, 133 + 0x80000000, 5 + 0x80000000, 0, 0], | ||
address: '1976a9140f71709c4b828df00f93d20aa2c34ae987195b3388ac', | ||
value: 60000, | ||
}], | ||
t_out: [], | ||
s_spend: [{ | ||
path: 1000, | ||
address: 'c69e979c6763c1b09238dc6bd5dcbf35360df95dcadf8c0fa25dcbedaaf6057538b812d06656726ea27667', | ||
value: 40000, | ||
}], | ||
s_output: [{ | ||
address: '15eae700e01e24e2137d554d67bb0da64eee0bf1c2c392c5f1173a979baeb899663808cd22ed8df27566cc', | ||
value: 65000, | ||
memo_type: 0xf6, | ||
ovk: null, | ||
}, { | ||
address: 'c69e979c6763c1b09238dc6bd5dcbf35360df95dcadf8c0fa25dcbedaaf6057538b812d06656726ea27667', | ||
value: 100000 - 1000 - 55000 - 10000, | ||
memo_type: 0xf6, | ||
ovk: '6fc01eaa665e03a53c1e033ed0d77b670cf075ede4ada769997a2ed2ec225fca', | ||
}] | ||
} | ||
|
||
const two: TxInputData = { | ||
t_in: [], | ||
t_out: [{ | ||
address: '1976a914000000000000000000000000000000000000000088ac', | ||
value: 10000, | ||
}], | ||
s_spend: [{ | ||
path: 1000, | ||
address: 'c69e979c6763c1b09238dc6bd5dcbf35360df95dcadf8c0fa25dcbedaaf6057538b812d06656726ea27667', | ||
value: 100000, | ||
}], | ||
s_output: [{ | ||
address: '15eae700e01e24e2137d554d67bb0da64eee0bf1c2c392c5f1173a979baeb899663808cd22ed8df27566cc', | ||
value: 55000, | ||
memo_type: 0xf6, | ||
ovk: null, | ||
}, { | ||
address: 'c69e979c6763c1b09238dc6bd5dcbf35360df95dcadf8c0fa25dcbedaaf6057538b812d06656726ea27667', | ||
value: 100000 - 1000 - 55000 - 10000, | ||
memo_type: 0xf6, | ||
ovk: '6fc01eaa665e03a53c1e033ed0d77b670cf075ede4ada769997a2ed2ec225fca', | ||
}] | ||
} | ||
|
||
const three: TxInputData = { | ||
t_in: [{ | ||
path: [44 + 0x80000000, 133 + 0x80000000, 5 + 0x80000000, 0, 0], | ||
address: '1976a9140f71709c4b828df00f93d20aa2c34ae987195b3388ac', | ||
value: 60000, | ||
}], | ||
t_out: [{ | ||
address: '1976a914000000000000000000000000000000000000000088ac', | ||
value: 10000, | ||
}], | ||
s_spend: [{ | ||
path: 1000, | ||
address: 'c69e979c6763c1b09238dc6bd5dcbf35360df95dcadf8c0fa25dcbedaaf6057538b812d06656726ea27667', | ||
value: 40000, | ||
}], | ||
s_output: [{ | ||
address: '15eae700e01e24e2137d554d67bb0da64eee0bf1c2c392c5f1173a979baeb899663808cd22ed8df27566cc', | ||
value: 55000, | ||
memo_type: 0xf6, | ||
ovk: null, | ||
}, { | ||
address: 'c69e979c6763c1b09238dc6bd5dcbf35360df95dcadf8c0fa25dcbedaaf6057538b812d06656726ea27667', | ||
value: 100000 - 1000 - 55000 - 10000, | ||
memo_type: 0xf6, | ||
ovk: '6fc01eaa665e03a53c1e033ed0d77b670cf075ede4ada769997a2ed2ec225fca', | ||
}] | ||
} | ||
|
||
const four: TxInputData = { | ||
t_in: [{ | ||
path: [44 + 0x80000000, 133 + 0x80000000, 5 + 0x80000000, 0, 0], | ||
address: '1976a9140f71709c4b828df00f93d20aa2c34ae987195b3388ac', | ||
value: 50000, | ||
}, { | ||
path: [44 + 0x80000000, 133 + 0x80000000, 5 + 0x80000000, 0, 0], | ||
address: '1976a9140f71709c4b828df00f93d20aa2c34ae987195b3388ac', | ||
value: 50000, | ||
}], | ||
t_out: [{ | ||
address: '1976a914000000000000000000000000000000000000000088ac', | ||
value: 10000, | ||
}, { | ||
address: '1976a9140f71709c4b828df00f93d20aa2c34ae987195b3388ac', | ||
value: 100000 - 1000 - 10000, | ||
}], | ||
s_spend: [], | ||
s_output: [] | ||
}; | ||
|
||
const five: TxInputData = { | ||
t_in: [], | ||
t_out: [], | ||
s_spend: [{ | ||
path: 1000, | ||
address: 'c69e979c6763c1b09238dc6bd5dcbf35360df95dcadf8c0fa25dcbedaaf6057538b812d06656726ea27667', | ||
value: 50000, | ||
}, { | ||
path: 1000, | ||
address: 'c69e979c6763c1b09238dc6bd5dcbf35360df95dcadf8c0fa25dcbedaaf6057538b812d06656726ea27667', | ||
value: 50000, | ||
}], | ||
s_output: [{ | ||
address: '15eae700e01e24e2137d554d67bb0da64eee0bf1c2c392c5f1173a979baeb899663808cd22ed8df27566cc', | ||
value: 55000, | ||
memo_type: 0xf6, | ||
ovk: null, | ||
}, { | ||
address: 'c69e979c6763c1b09238dc6bd5dcbf35360df95dcadf8c0fa25dcbedaaf6057538b812d06656726ea27667', | ||
value: 100000 - 1000 - 55000, | ||
memo_type: 0xf6, | ||
ovk: null, | ||
}] | ||
}; | ||
|
||
export const TX_INPUT_DATA: TxInputData[] = [zero, one, two, three, four, five]; |
Oops, something went wrong.