1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 01:48:17 +00:00

coins: Add force_bip143

This commit is contained in:
Saleem Rashid 2017-10-31 20:56:39 +00:00 committed by Pavol Rusnak
parent 9c1e61e460
commit 6701821fb9
2 changed files with 11 additions and 0 deletions

View File

@ -16,6 +16,7 @@
"bip44": 0, "bip44": 0,
"segwit": true, "segwit": true,
"forkid": null, "forkid": null,
"force_bip143": false,
"default_fee_b": { "default_fee_b": {
"Low": 10, "Low": 10,
"Economy": 70, "Economy": 70,
@ -50,6 +51,7 @@
"bip44": 1, "bip44": 1,
"segwit": true, "segwit": true,
"forkid": null, "forkid": null,
"force_bip143": false,
"default_fee_b": { "default_fee_b": {
"Normal": 10 "Normal": 10
}, },
@ -80,6 +82,7 @@
"bip44": 145, "bip44": 145,
"segwit": false, "segwit": false,
"forkid": 0, "forkid": 0,
"force_bip143": true,
"default_fee_b": { "default_fee_b": {
"Low": 10, "Low": 10,
"Economy": 70, "Economy": 70,
@ -112,6 +115,7 @@
"bip44": 1, "bip44": 1,
"segwit": false, "segwit": false,
"forkid": 0, "forkid": 0,
"force_bip143": true,
"default_fee_b": { "default_fee_b": {
"Normal": 10 "Normal": 10
}, },
@ -139,6 +143,7 @@
"bip44": 7, "bip44": 7,
"segwit": false, "segwit": false,
"forkid": null, "forkid": null,
"force_bip143": false,
"default_fee_b": { "default_fee_b": {
"Normal": 10 "Normal": 10
}, },
@ -167,6 +172,7 @@
"bip44": 2, "bip44": 2,
"segwit": true, "segwit": true,
"forkid": null, "forkid": null,
"force_bip143": false,
"default_fee_b": { "default_fee_b": {
"Normal": 1000 "Normal": 1000
}, },
@ -196,6 +202,7 @@
"bip44": 3, "bip44": 3,
"segwit": false, "segwit": false,
"forkid": null, "forkid": null,
"force_bip143": false,
"default_fee_b": { "default_fee_b": {
"Normal": 10 "Normal": 10
}, },
@ -223,6 +230,7 @@
"bip44": 5, "bip44": 5,
"segwit": false, "segwit": false,
"forkid": null, "forkid": null,
"force_bip143": false,
"default_fee_b": { "default_fee_b": {
"Normal": 10 "Normal": 10
}, },
@ -253,6 +261,7 @@
"bip44": 133, "bip44": 133,
"segwit": false, "segwit": false,
"forkid": null, "forkid": null,
"force_bip143": false,
"default_fee_b": { "default_fee_b": {
"Normal": 10 "Normal": 10
}, },
@ -282,6 +291,7 @@
"bip44": 1, "bip44": 1,
"segwit": false, "segwit": false,
"forkid": null, "forkid": null,
"force_bip143": false,
"default_fee_b": { "default_fee_b": {
"Normal": 10 "Normal": 10
}, },

View File

@ -170,6 +170,7 @@ message CoinType {
optional uint32 xprv_magic = 10 [default=76066276]; // default=0x0488ade4 optional uint32 xprv_magic = 10 [default=76066276]; // default=0x0488ade4
optional bool segwit = 11; optional bool segwit = 11;
optional uint32 forkid = 12; optional uint32 forkid = 12;
optional bool force_bip143 = 13;
} }
/** /**