From a956b8859fe73787b32f03b8bf4ba0d06cb01fa6 Mon Sep 17 00:00:00 2001
From: Daniel Cousens <github@dcousens.com>
Date: Fri, 21 Oct 2016 12:29:42 +1100
Subject: [PATCH] networks: drop dogecoin and dustThreshold

---
 src/networks.js | 20 +++-----------------
 src/types.js    |  3 +--
 2 files changed, 4 insertions(+), 19 deletions(-)

diff --git a/src/networks.js b/src/networks.js
index 60690ff..b4ae5a9 100644
--- a/src/networks.js
+++ b/src/networks.js
@@ -10,8 +10,7 @@ module.exports = {
     },
     pubKeyHash: 0x00,
     scriptHash: 0x05,
-    wif: 0x80,
-    dustThreshold: 546 // https://github.com/bitcoin/bitcoin/blob/v0.9.2/src/core.h#L151-L162
+    wif: 0x80
   },
   testnet: {
     messagePrefix: '\x18Bitcoin Signed Message:\n',
@@ -21,8 +20,7 @@ module.exports = {
     },
     pubKeyHash: 0x6f,
     scriptHash: 0xc4,
-    wif: 0xef,
-    dustThreshold: 546
+    wif: 0xef
   },
   litecoin: {
     messagePrefix: '\x19Litecoin Signed Message:\n',
@@ -32,18 +30,6 @@ module.exports = {
     },
     pubKeyHash: 0x30,
     scriptHash: 0x05,
-    wif: 0xb0,
-    dustThreshold: 0 // https://github.com/litecoin-project/litecoin/blob/v0.8.7.2/src/main.cpp#L360-L365
-  },
-  dogecoin: {
-    messagePrefix: '\x19Dogecoin Signed Message:\n',
-    bip32: {
-      public: 0x02facafd,
-      private: 0x02fac398
-    },
-    pubKeyHash: 0x1e,
-    scriptHash: 0x16,
-    wif: 0x9e,
-    dustThreshold: 0 // https://github.com/dogecoin/dogecoin/blob/v1.7.1/src/core.h#L155-L160
+    wif: 0xb0
   }
 }
diff --git a/src/types.js b/src/types.js
index 51165a8..29e53c5 100644
--- a/src/types.js
+++ b/src/types.js
@@ -29,8 +29,7 @@ var Network = typeforce.compile({
   },
   pubKeyHash: typeforce.UInt8,
   scriptHash: typeforce.UInt8,
-  wif: typeforce.UInt8,
-  dustThreshold: Satoshi
+  wif: typeforce.UInt8
 })
 
 // extend typeforce types with ours