1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 01:48:17 +00:00
Commit Graph

413 Commits

Author SHA1 Message Date
Pavol Rusnak
615473409a add expected responses to test_msg_signtx test 2014-04-24 15:59:10 +02:00
Pavol Rusnak
3865d22c56 add expected responses to test_msg_signtx.test_one_one_fee unit test 2014-04-23 23:44:56 +02:00
slush0
99af68388d Added unittest test_attack_change_outputs
Removed obsolete tests, enabled test with 255 outputs
2014-04-18 18:57:00 +02:00
slush0
54bc7239ce Adde debug_processor to sign_tx() for unittest purposes 2014-04-18 18:56:12 +02:00
slush0
de1bef9533 Check if all signatures has been provided correctly 2014-04-18 18:10:00 +02:00
Pavol Rusnak
72753fa914 fix typo 2014-04-17 18:40:50 +02:00
Pavol Rusnak
35661161c9 simplify test_255_outputs 2014-04-17 18:33:26 +02:00
Pavol Rusnak
b91bd9d628 use simplesigntx tests for signtx 2014-04-17 16:37:09 +02:00
Pavol Rusnak
c642605ad2 modify simplesigntx to match signtx semantics 2014-04-17 16:30:19 +02:00
slush0
1d46bd70a9 Reworked TransactionType (again) 2014-04-17 14:05:45 +02:00
slush0
96966309d3 Compiled pb 2014-04-17 14:05:38 +02:00
slush0
48ad2f6785 Updates stream signing algo 2014-04-17 08:32:50 +02:00
slush0
994ff45a30 Updated TransactionType 2014-04-17 08:32:50 +02:00
Pavol Rusnak
7ae8894214 fix two more unit tests 2014-04-11 15:17:36 +02:00
slush0
2964cc4f9c Temporary disabled unit test 2014-04-10 15:23:36 +02:00
slush0
cbe8b42eed First unit test for streaming tx 2014-04-10 15:23:36 +02:00
slush0
d017ae2adf Fixed RequestTx structure 2014-04-10 15:23:36 +02:00
slush0
400f3e669f Reworked RequestTx 2014-04-10 15:23:35 +02:00
slush0
ff77261a61 Fixed bin_output 2014-04-10 15:23:35 +02:00
slush0
345f6d6814 Compiled pb 2014-04-10 15:23:35 +02:00
Pavol Rusnak
5dc0be857c update pb 2014-04-07 18:37:03 +02:00
slush0
2c5e663aa8 Fixed spacing 2014-04-02 20:07:08 +02:00
Pavol Rusnak
60df691bb2 make txapi class more universal 2014-04-02 19:31:47 +02:00
Pavol Rusnak
c3f74420a4 add OP_EQUAL to txapi parser 2014-04-02 19:18:14 +02:00
slush0
e9dbedfd33 Added unit test for PAYTOSCRIPTHASH 2014-04-02 18:54:19 +02:00
Pavol Rusnak
0ca0594077 parse sequence in txapi as well 2014-03-30 00:44:42 +01:00
Pavol Rusnak
49eec8b78e txapi cleanup 2014-03-29 21:31:17 +01:00
Pavol Rusnak
7a1e2827c8 check for known scriptPubKey asm 2014-03-28 21:48:48 +01:00
Pavol Rusnak
38ed16934f use bitcore for tx api 2014-03-28 21:34:15 +01:00
Pavol Rusnak
860aa753c9 put TXAPIs into one location 2014-03-28 19:51:56 +01:00
Pavol Rusnak
412528d522 fix PinMatrixRequest type enum 2014-03-28 16:26:48 +01:00
Pavol Rusnak
dc0d7fd1d6 initialize version/lock_time in TransactionType 2014-03-27 19:10:24 +01:00
Pavol Rusnak
51b9d4e177 recompile pb, adjust TransactionType constructors 2014-03-25 19:36:46 +01:00
Pavol Rusnak
8f870c54ed recompile pb 2014-03-23 20:01:19 +01:00
Pavol Rusnak
0a2e1b66c9 update pb 2014-03-14 21:10:02 +01:00
Pavol Rusnak
560e2a7038 rebuild pb 2014-03-13 15:01:50 +01:00
Pavol Rusnak
27070e84a9 support binary messages in sign/verify message 2014-03-11 18:06:38 +01:00
slush0
21f3481c61 Removed button presses for LoadDevice/ResetDevice/RecoveryDevice 2014-03-07 22:50:35 +01:00
slush0
d2a787821b Fixed reset device 2014-03-07 22:39:49 +01:00
Pavol Rusnak
25631221c5 fix test_word_fail in test_msg_recoverydevice 2014-03-07 22:38:16 +01:00
slush0
e0efe950c0 Fixed typos 2014-03-07 21:57:51 +01:00
slush0
40f8c56eb4 Updated tests to do 2014-03-07 21:57:50 +01:00
slush0
bf7fb7928b Numbered mnemonic 2014-03-07 21:57:50 +01:00
slush0
099cdd2578 Fixed load_device_by_xprv 2014-03-07 21:57:50 +01:00
Pavol Rusnak
da6ce3acb8 add test for failed word in recovery device 2014-03-07 21:51:01 +01:00
Pavol Rusnak
4fc8868589 rename word variables in DebugLinkState message 2014-03-07 17:38:38 +01:00
Pavol Rusnak
14007cc613 add test_verify_bitcoind to test_msg_verifymessage 2014-03-06 22:02:07 +01:00
Pavol Rusnak
2f498f63e2 don't request confirmation of change addresses 2014-03-06 20:54:50 +01:00
Pavol Rusnak
1e148a7b7b really query for internal entropy before sending external one
use strength to compute number of words
2014-03-05 16:16:45 +01:00
Pavol Rusnak
3cd07c4dea get public_node doesn't use coin param anymore 2014-03-03 15:56:32 +01:00