1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 20:38:10 +00:00

defs: add bip115 to coins

This commit is contained in:
Pavol Rusnak 2018-06-28 14:12:19 +02:00
parent 6e169d6f18
commit ef306159aa
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
37 changed files with 73 additions and 37 deletions

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": 0,
"force_bip143": true,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Low": 10,

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": 0,
"force_bip143": true,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 10

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": 79,
"force_bip143": true,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Low": 10,

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Low": 10,

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 10

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Low": 10

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": 42,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 10

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 10

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 10

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 10

View File

@ -23,6 +23,7 @@
"decred": true,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 10

View File

@ -23,6 +23,7 @@
"decred": true,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 10

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 10

View File

@ -24,6 +24,7 @@
"fork_id": null,
"force_bip143": false,
"version_group_id": null,
"bip115": false,
"default_fee_b": {
"Low": 10,
"Economy": 70,

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 100000

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 1000

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 0

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Low": 100000,

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 10

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 10

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": 48748912,
"default_fee_b": {
"Normal": 10

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 1000

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 10

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 100000

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 10

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Low": 10,

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 10

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 10

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Normal": 1000

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Low": 1000,

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": 63210096,
"default_fee_b": {
"Normal": 10

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": 63210096,
"default_fee_b": {
"Normal": 10

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Low": 1,

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"version_group_id": null,
"default_fee_b": {
"Low": 1,

View File

@ -23,6 +23,7 @@
"decred": false,
"fork_id": 0,
"force_bip143": false,
"bip115": true,
"version_group_id": null,
"default_fee_b": {
"Normal": 10

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -86,6 +86,7 @@ def validate_coin(coin):
assert check_type(coin['decred'], bool)
assert check_type(coin['fork_id'], int, nullable=True)
assert check_type(coin['force_bip143'], bool)
assert check_type(coin['bip115'], bool)
assert check_type(coin['version_group_id'], int, nullable=True)
assert check_type(coin['default_fee_b'], dict)
assert check_type(coin['dust_limit'], int)