Pavol Rusnak
792a4eddb5
defs: fix segwit related fields
2019-03-26 12:23:50 +01:00
Pavol Rusnak
aa64119b96
tools/cointool: add check for segwit fields
2019-02-12 10:56:54 +01:00
matejcik
6fb0c34fab
coins_details: round market cap numbers for tokens
2019-02-05 14:40:44 +01:00
matejcik
1ecd56f33b
coins_details: fetch CMC metadata, match tokens by contract address
2019-02-05 14:18:39 +01:00
matejcik
6bda1e351f
cointool: fix filtering on non-string fields
2019-02-01 12:58:20 +01:00
matejcik
ad1bc863cb
cointool: add genesis block collision check
2019-01-16 13:53:30 +01:00
Pavol Rusnak
5b31341c6d
tools/cointool: collisions in SLIP44 should be fatal (if not testnet)
2018-12-17 23:12:03 +01:00
matejcik
8906ebf92c
coin_info: sort keys after deduplication
...
this ensures that key order is stable in cases where some ERC20 tokens
are sorted with identical keys which change later
i.e.: Two tokens with erc20:eth:REP keys are sorted based on the order
of reading them from disk. Previously, at most one such key would be
left in data so their mutual order wouldn't matter. Now, one of them can
be deprecated and get a ":deprecated" suffix. Depending on the load
order, this could be the first or the second of them, so the resulting
sort would not be stable.
To fix that, we do key deduplication first and sorting second.
To prevent further problems like this, we also sort glob results.
2018-12-03 16:47:13 +01:00
matejcik
2f198f0b46
coins_details: hide testnet and deprecated tokens
2018-11-29 16:39:31 +01:00
matejcik
91923097de
support: change handling of "soon" coins
...
"soon" coins that are not tokens will not be included in build
2018-11-29 15:59:18 +01:00
matejcik
e51aa9b3cd
tools: new rules for ERC20 duplicates
...
We now allow duplicates if they're their own testnets, or if they're
deprecated. Also some checks are smarter.
2018-11-29 15:42:49 +01:00
matejcik
a1265b48d1
support: add ETH and ETC as supported in webwallet
...
also use this information when generating coins_details.json
2018-11-20 18:00:38 +01:00
matejcik
88fa3c7381
cointool: fix uniformity check
...
also uniformize misc.json
2018-11-20 17:59:15 +01:00
matejcik
56fbd816c9
improve wallet lists
...
- move bitcoin wallet links from coins_details.override.json to a separate
wallets.json file
- drop NanoWallet links from nem nem_mosaics.json, auto-add them in
coins_details.py instead
- move misc wallet links to misc.json
- clean out override file
- change wallet format in coins_details.json:
- they're now list instead of dict, so that we can specify ordering
- add Trezor Beta wallet link to ETH/ETC and their tokens
- somewhat stricter checking of trezor.io wallet data
2018-11-20 17:27:12 +01:00
matejcik
491f1c1ad2
tools/support.py: set --ignore-tokens as default when running the checks
2018-11-12 12:08:33 +01:00
matejcik
0fd94f6bee
tools/support.py: fix bug when token collides with coin
2018-11-12 12:08:33 +01:00
Pavol Rusnak
8d060a93f1
update defs/coins_details.json
2018-11-01 15:41:00 +01:00
matejcik
7d618036ab
coins_details: drop hidden coins from listing, regenerate
...
also precalculate percent market cap supported
2018-10-29 18:42:46 +01:00
matejcik
9a8d01a891
coin_info: use beta wallet for list of latest releases
2018-10-29 18:39:18 +01:00
Pavol Rusnak
efba885f6e
defs: check that backend URIs use https
2018-10-27 01:23:49 +02:00
Pavol Rusnak
fba7ae05c9
require https for coin website
2018-10-26 15:23:03 +02:00
Pavol Rusnak
681772e8bb
remove version_group_id from coin definitions
2018-10-15 17:55:09 +02:00
matejcik
8341251064
tools: fix cointool.py dump that relied on a Click bug
2018-10-08 13:57:42 +02:00
matejcik
8065966e57
tools: take coin_label for human readable name instead of coin_name
2018-10-01 13:32:39 +02:00
matejcik
265935811e
tools: add filtering capabilities to cointool.py dump
2018-10-01 13:32:39 +02:00
Pavol Rusnak
f60b722638
tools: we need to keep cointool py3.5 compatible
...
for T1 deterministic build (which happens in Debian 9 docker container)
2018-09-19 20:13:44 +02:00
Pavol Rusnak
23b07f975d
tools: drop binascii usage
2018-09-13 00:15:08 +02:00
matejcik
67ca76ab16
cointool: add options controlling size of coins.json output
2018-09-12 18:09:01 +02:00
matejcik
cfbe5a5dd1
defs: add 'chain' key to Ethereum networks, tooling support
...
'chain' is a "slug"-like string that matches the 'chain' field in token
definitions. It is also unique so it can be used as a URL slug in
Connect / webwallet
2018-09-07 13:19:04 +02:00
Pavol Rusnak
22b18046c1
use implicit encoding in encode/decode
2018-09-06 16:16:52 +02:00
matejcik
9342b52c6b
cointool: replace 'coins_json' with 'dump'
...
`cointool.py coins_json` generated an old-style `coins.json` file with
entries on bitcoin-like coins. This is no longe really doing what we
need.
Instead, the new command `dump` will output _all available data_ in the
same format as Python sees it. Much more useful for other kinds of
consumers.
2018-09-04 15:30:48 +02:00
matejcik
50a619e12d
coin_info: do not use f-strings in the library
...
to make it python3.3 compatible
2018-09-04 15:30:48 +02:00
matejcik
297c05c48d
tools: another fix to cache handling (set default to auto)
2018-08-30 18:38:57 +02:00
matejcik
d54978bd28
new README for tools, improved README for defs
2018-08-30 18:21:24 +02:00
matejcik
9f51d58f30
tools: finish release flow
2018-08-30 17:02:00 +02:00
leoreinaux
31b8e872ba
change smartcash curve ( #202 )
2018-08-30 12:04:06 +02:00
matejcik
0a2f9bb10c
tools: add a simple tool to compare live t.io/coins with current json
2018-08-28 16:36:13 +02:00
matejcik
5afe3500d4
coins_details: hide coins that are not supported on either device
...
also better logging and fixed a cache handling bug
2018-08-28 16:36:13 +02:00
matejcik
bc5530e503
coin_info: when support status is unknown, only presume "soon" for tokens
2018-08-28 16:36:13 +02:00
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