all: drop Capricoin support [NO BACKPORT]

This commit is contained in:
matejcik
2020-03-17 11:40:28 +01:00
committed by Tomas Susanka
parent adea7d6b35
commit ffdb299c61
15 changed files with 614 additions and 870 deletions

File diff suppressed because one or more lines are too long

View File

@@ -30,10 +30,6 @@ def is_zcash(coin):
return lcn.startswith("zcash") or lcn.startswith("komodo")
def is_capricoin(coin):
return coin["coin_name"].lower().startswith("capricoin")
def is_peercoin(coin):
return coin["coin_name"].lower().startswith("peercoin")
@@ -90,7 +86,7 @@ def json_to_tx(coin, data):
t.version = data["version"]
t.lock_time = data.get("locktime")
if is_capricoin(coin) or is_peercoin(coin):
if is_peercoin(coin):
t.timestamp = data["time"]
if coin["decred"]: