From 6701821fb9faeae739c9f3ccb3ddbd090c47acf1 Mon Sep 17 00:00:00 2001 From: Saleem Rashid Date: Tue, 31 Oct 2017 20:56:39 +0000 Subject: [PATCH] coins: Add force_bip143 --- coins.json | 10 ++++++++++ protob/types.proto | 1 + 2 files changed, 11 insertions(+) diff --git a/coins.json b/coins.json index c88806ca1f..db1e0aade7 100644 --- a/coins.json +++ b/coins.json @@ -16,6 +16,7 @@ "bip44": 0, "segwit": true, "forkid": null, + "force_bip143": false, "default_fee_b": { "Low": 10, "Economy": 70, @@ -50,6 +51,7 @@ "bip44": 1, "segwit": true, "forkid": null, + "force_bip143": false, "default_fee_b": { "Normal": 10 }, @@ -80,6 +82,7 @@ "bip44": 145, "segwit": false, "forkid": 0, + "force_bip143": true, "default_fee_b": { "Low": 10, "Economy": 70, @@ -112,6 +115,7 @@ "bip44": 1, "segwit": false, "forkid": 0, + "force_bip143": true, "default_fee_b": { "Normal": 10 }, @@ -139,6 +143,7 @@ "bip44": 7, "segwit": false, "forkid": null, + "force_bip143": false, "default_fee_b": { "Normal": 10 }, @@ -167,6 +172,7 @@ "bip44": 2, "segwit": true, "forkid": null, + "force_bip143": false, "default_fee_b": { "Normal": 1000 }, @@ -196,6 +202,7 @@ "bip44": 3, "segwit": false, "forkid": null, + "force_bip143": false, "default_fee_b": { "Normal": 10 }, @@ -223,6 +230,7 @@ "bip44": 5, "segwit": false, "forkid": null, + "force_bip143": false, "default_fee_b": { "Normal": 10 }, @@ -253,6 +261,7 @@ "bip44": 133, "segwit": false, "forkid": null, + "force_bip143": false, "default_fee_b": { "Normal": 10 }, @@ -282,6 +291,7 @@ "bip44": 1, "segwit": false, "forkid": null, + "force_bip143": false, "default_fee_b": { "Normal": 10 }, diff --git a/protob/types.proto b/protob/types.proto index 531125681a..a6aaeee5a0 100644 --- a/protob/types.proto +++ b/protob/types.proto @@ -170,6 +170,7 @@ message CoinType { optional uint32 xprv_magic = 10 [default=76066276]; // default=0x0488ade4 optional bool segwit = 11; optional uint32 forkid = 12; + optional bool force_bip143 = 13; } /**