1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 21:48:13 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
matejcik
19a0f4cc7b tx_api: support blockbook, allow url-less operation
Bitcoin Testnet backends were removed.
This broke our tests that work purely on local data but nevertheless
need to know backend URLs. Because the design is less than ideal.

Here, we do a little cleanup:
* blockbook URLs are respected
* Dogecoin is now supported by our blockbook backend so we don't need
  a special tx-api implementation
* it's possible to instantiate a TxApi that is backed by the cache,
  without a known URL
* relevant tests now make use of this feature
2018-07-09 13:46:18 +02:00
matejcik
54f1599a5a regenerate license headers
This clarifies the intent: the project is licenced under terms
of LGPL version 3 only, but the standard headers cover only "3 or later",
so we had to rewrite them.

In the same step, we removed author information from individual files
in favor of "SatoshiLabs and contributors", and include an AUTHORS
file that lists the contributors.

Apologies to those whose names are missing; please contact us if you wish
to add your info to the AUTHORS file.
2018-06-21 16:49:13 +02:00
matejcik
9982ef98f9 Merge branch 'master' into matejcik/refactor 2018-05-24 19:18:26 +02:00
matejcik
f8f0be9c86 device_tests: fix T1 test differences in wording 2018-05-23 16:54:24 +02:00
matejcik
013e0f6d66 device_tests: get nicer tracebacks by using pytest.raises instead of custom exception code 2018-05-22 20:12:51 +02:00
matejcik
579adb1871 tests: update to use parse_path 2018-05-11 15:29:38 +02:00
matejcik
bd43363b1c coins: refactor, use data from coins.json instead of hardcoded lists 2018-04-10 15:58:34 +02:00
Tomas Susanka
55da3d9a9a tests/device/signtx: assert exception type and message 2018-02-27 11:50:10 +01:00
Tomas Susanka
617ccc21d9 tests: deepcopy is required when debug_processor is invoked 2018-02-23 16:03:43 +01:00
Tomas Susanka
cbd3751bdb tests/device: allow multiple output changes (treat second as a normal output)
based upon e716f7e84e
2018-02-23 13:14:10 +01:00
Tomas Susanka
0e2d5c8155 tests/device: change on main chain IS allowed
based upon e716f7e84e
2018-02-23 13:10:55 +01:00
Tomas Susanka
1e8f2d1e72 tests/device: change on main chain not allowed 2018-02-23 13:09:49 +01:00
Tomas Susanka
bc036bc857 tests/device: two output changes yield error
this test should fail on T1 after e716f7e84ecdb4732ad97b56e78d7407ec0b321e
2018-02-22 14:20:53 +01:00
Pavol Rusnak
70e6d13c23
device tests: simplify, drop unittest dependency 2017-12-23 22:03:24 +01:00
Pavol Rusnak
41b75c5655
device_tests: use skip_t1 and skip_t2 markers 2017-12-19 19:24:40 +01:00
Saleem Rashid
1c8f03968c tests: Move to trezorlib.tests 2017-12-19 13:16:22 +01:00