1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 09:28:13 +00:00
Commit Graph

98 Commits

Author SHA1 Message Date
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
slush
6dc7763e6c coins_details: Split links to 'links' and 'wallet' 2018-06-22 14:44:30 +02:00
Pavol Rusnak
73d62b1dc4
tools: strip ethereum token names 2018-06-21 17:05:02 +02:00
Pavol Rusnak
a18de043b0
tools: small nitpicks, fix flake8 warnings 2018-06-21 16:36:29 +02:00
slush
1de038e3c0 Scripts moved to tools/ 2018-06-21 15:14:34 +02:00
Pavol Rusnak
73b9ffc36a
move tools/pb2py to trezor-core repo 2017-06-13 19:07:59 +02:00
Pavol Rusnak
53aa74092e
pb2py: add const import for micropython 2017-06-07 19:05:44 +02:00
slush0
b32ea69c6b Adde pb2py, generator for simplified python protobuf definitions
as used by TREZOR Core and python-trezor.
2016-12-04 19:23:45 +01:00