From dd8ec3231fb5f7992360aff9bdfe30bb58130f4b Mon Sep 17 00:00:00 2001 From: Saleem Rashid Date: Tue, 25 Jul 2017 15:21:01 +0100 Subject: [PATCH] coins: Add forkid --- coins.json | 8 ++++++++ protob/types.proto | 1 + 2 files changed, 9 insertions(+) diff --git a/coins.json b/coins.json index 4d0d528c09..5238fa8e01 100644 --- a/coins.json +++ b/coins.json @@ -11,6 +11,7 @@ "xprv_magic": "0488ade4", "bip44": 0, "segwit": false, + "forkid": null, "default_fee_b": { "Low": 10, "Economy": 70, @@ -32,6 +33,7 @@ "xprv_magic": "04358394", "bip44": 1, "segwit": true, + "forkid": null, "default_fee_b": { "Normal": 10 }, @@ -50,6 +52,7 @@ "xprv_magic": "019d9cfe", "bip44": 7, "segwit": false, + "forkid": null, "default_fee_b": { "Normal": 10 }, @@ -68,6 +71,7 @@ "xprv_magic": "019d9cfe", "bip44": 2, "segwit": true, + "forkid": null, "default_fee_b": { "Normal": 1000 }, @@ -86,6 +90,7 @@ "xprv_magic": "02fac398", "bip44": 3, "segwit": false, + "forkid": null, "default_fee_b": { "Normal": 10 }, @@ -104,6 +109,7 @@ "xprv_magic": "02fe52f8", "bip44": 5, "segwit": false, + "forkid": null, "default_fee_b": { "Normal": 10 }, @@ -122,6 +128,7 @@ "xprv_magic": "0488ade4", "bip44": 133, "segwit": false, + "forkid": null, "default_fee_b": { "Normal": 10 }, @@ -140,6 +147,7 @@ "xprv_magic": "04358394", "bip44": 1, "segwit": false, + "forkid": null, "default_fee_b": { "Normal": 10 }, diff --git a/protob/types.proto b/protob/types.proto index 6264de6b50..ee15ab3d34 100644 --- a/protob/types.proto +++ b/protob/types.proto @@ -169,6 +169,7 @@ message CoinType { optional uint32 xpub_magic = 9 [default=76067358]; // default=0x0488b21e optional uint32 xprv_magic = 10 [default=76066276]; // default=0x0488ade4 optional bool segwit = 11; + optional uint32 forkid = 12; } /**