1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 14:28:07 +00:00
Commit Graph

57 Commits

Author SHA1 Message Date
matejcik
4c36e33425 tools: make duplicate detection case-insensitive 2018-08-27 20:07:35 +02:00
matejcik
334c5eed32 support: fix duplicate checking bug, update data after merge 2018-08-24 17:11:00 +02:00
matejcik
a80a3ac6f2 coins_details: update to new CMC API, improve script, refresh data 2018-08-24 17:01:54 +02:00
matejcik
467b41efda defs/tools: rename "coins" to "bitcoin" 2018-08-24 17:01:44 +02:00
matejcik
a903b996c8 support: fix bug in support.py show 2018-08-24 15:29:48 +02:00
matejcik
15a971764a support: finish support.py release flow 2018-08-24 15:21:11 +02:00
matejcik
0abfb6cd91 coin_info: tweak API for less repetition 2018-08-24 15:20:25 +02:00
matejcik
98c2fdc6df cointool: improve and document some more intricate parts of checks 2018-08-23 19:32:28 +02:00
matejcik
f152ca9b79 cointool: check non-uniform keys (e.g. someone adding a "description"
field to the defs json)
2018-08-23 19:09:54 +02:00
matejcik
4dbfc220b4 cointool: explain and improve address collision check 2018-08-23 19:09:35 +02:00
matejcik
70d1ae268d support: move some responsibility away from support.py check 2018-08-23 18:10:06 +02:00
matejcik
e070b22aa3 coins_details: update tool, overrides, generated files and upstream
token source
2018-08-23 17:54:27 +02:00
matejcik
a3240380c6 tools: ERC20 duplicate management 2018-08-23 17:32:50 +02:00
matejcik
5ad2eb74a0 coin_info: shuffle knowledge about duplicates, validation
and support information
2018-08-23 13:05:41 +02:00
matejcik
1f6a15430c Merge branch 'master' into matejcik/coin-defs 2018-08-15 19:28:52 +02:00
matejcik
4726d3259e tools: update coin_info to new support method and duplicate checking 2018-08-15 19:24:23 +02:00
matejcik
6cbc2a94ee tools: add better duplicate checking 2018-08-15 19:20:15 +02:00
matejcik
81513f47b6 tools: rewrite support.py 2018-08-15 19:00:42 +02:00
matejcik
a090388c5f tools: rename coin_gen.py to cointool.py 2018-08-15 18:46:00 +02:00
matejcik
962178fbeb tools/coin_info.py: use f-strings where appropriate 2018-08-15 17:36:24 +02:00
matejcik
f64a090517 tools: update coin_gen.py to new support format 2018-08-15 17:34:20 +02:00
matejcik
3cfca58c6a tools: drop support check from coin_gen, moved to support.py 2018-08-15 17:34:04 +02:00
matejcik
7ab69b18cd tools: support Black-compatible repr format 2018-08-15 17:33:33 +02:00
matejcik
25a706f042 tools: coin_gen can render into a given filename
before, it could only render from `foo.bar.mako` to `foo.bar`
2018-08-07 13:00:30 +02:00
matejcik
11a386fed4 tools: require python 3.6 2018-07-30 18:10:00 +02:00
matejcik
36469fc898 tools: better filtering by support for mako code generators 2018-07-30 17:30:59 +02:00
matejcik
d608294a14 tools: don't be noisy when support info is missing
because we have other tools for that
2018-07-30 16:38:39 +02:00
matejcik
eed6c0fa43 tools: add README 2018-07-30 15:59:14 +02:00
matejcik
e4d99939de tools: drop obsolete tools
`build_coins.py` is replaced by `coin_gen.py coins_json`
`gen_ethereum_tokens.py` is replaced by Mako generators in core/mcu
2018-07-30 15:06:38 +02:00
matejcik
1680eb1cfa tools: improve logging in coins_details.py 2018-07-30 15:05:19 +02:00
matejcik
7cb9bd9c78 tools: clean up imports in coin_gen 2018-07-30 14:45:01 +02:00
matejcik
b5443af4c5 tools: coin_defs renamed to coin_info and interface
improved a little
2018-07-30 14:25:53 +02:00
Pavol Rusnak
b6549f22cf
defs: fix coindef.py 2018-07-30 12:09:27 +02:00
matejcik
1e032d4da5 tools: clean up and update coins_details.py, regenerate json 2018-07-27 14:53:49 +02:00
matejcik
44240c9503 tools: add support tool and coin_gen tool
support.py - query and modify info in support.json
coin_gen.py - generate coins_json, render mako templates, run checks
2018-07-27 14:53:49 +02:00
matejcik
3630571a0a tools: add support data and validation to coin_defs
also add checks that were not brought over from build_coins.py
2018-07-27 12:33:00 +02:00
matejcik
9e6b3dba5f tools: coin_defs cleanup
* btc-like coins are now called `coins`, with key type `coin`,
  for consistency with names in other tools
* `others` are renamed to `misc` and placed in a separate subdir
* added many docstrings that explain the behavior
* renamed and privatized many functions
2018-07-27 12:33:00 +02:00
matejcik
288445cecc tools: unified retrieval of coin data, regenerated coins_details 2018-07-27 12:33:00 +02:00
matejcik
57021f9080 defs: regenerate coins_details with new tokens
also make slight tweaks to existing coins_details.py, so that the
following diff is prettier
2018-07-27 12:33:00 +02:00
Pavol Rusnak
0cea64b52b
defs: fix build_coins test-backend options 2018-07-26 17:43:42 +02:00
Pavol Rusnak
2bf5382e28
tools: update coindef.py to reflect the field rename 2018-07-16 14:48:47 +02:00
Pavol Rusnak
c5045f0667
defs: rename address_prefix to uri_prefix, drop ':', add more regexes 2018-07-16 14:20:29 +02:00
slush
6645bd5e00 coins_details: Mark as 'soon' all bitcoin-like coins going to be released in next firmware. 2018-07-13 16:30:42 +02:00
Akira Takizawa
981b9d1a9e Fix typo for Ethereum Social [ETSC] (#160) 2018-07-04 15:35:17 +02:00
Pavol Rusnak
d522f211fd
defs: update backend urls, add backend check to build_coins.py 2018-07-03 12:59:48 +02:00
Pavol Rusnak
e7b36ec860
defs: add bip115 to coindef 2018-06-28 14:52:53 +02:00
Pavol Rusnak
ef306159aa
defs: add bip115 to coins 2018-06-28 14:12:19 +02:00
Pavol Rusnak
9491cd4b9e
defs: add blockbook field to build_coins script 2018-06-26 21:30:54 +02:00
slush
b3276879db Updated coin support for FW 1.6.2/2.0.7 2018-06-25 20:20:28 +02:00
Pavol Rusnak
a01314de1a
travis: update script 2018-06-23 12:34:45 +02:00