Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename to FIRO #4

Merged
merged 2 commits into from
May 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions electrum_dash/coins.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def static_header_offset(cls, height):
raise Exception('Not implemented')


class Zcoin(Coin):
class Firo(Coin):
PRE_MTP_BLOCKS = 117564
PRE_MTP_HEADER_SIZE = 80
MTP_HEADER_SIZE = 180
Expand Down Expand Up @@ -36,5 +36,5 @@ def check_header_size(self, header: bytes):
return False


class ZcoinTestnet(Zcoin):
class FiroTestnet(Firo):
PRE_MTP_BLOCKS = 1
4 changes: 2 additions & 2 deletions electrum_dash/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class BitcoinMainnet(AbstractNet):
'p2wsh': 0x02aa7ed3, # Zpub
}
BIP44_COIN_TYPE = 136
COIN = coins.Zcoin()
COIN = coins.Firo()
XPUB_HEADERS_INV = inv_dict(XPUB_HEADERS)
DIP3_ACTIVATION_HEIGHT = 5000
# DRKV_HEADER = 0x02fe52f8 # drkv
Expand Down Expand Up @@ -146,7 +146,7 @@ class BitcoinTestnet(AbstractNet):
# DRKV_HEADER = 0x3a8061a0 # DRKV
# DRKP_HEADER = 0x3a805837 # DRKP
BIP44_COIN_TYPE = 1
COIN = coins.ZcoinTestnet()
COIN = coins.FiroTestnet()
DIP3_ACTIVATION_HEIGHT = 5000


Expand Down
2 changes: 1 addition & 1 deletion electrum_dash/plugins/trezor/trezor.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def get_client(self, keystore, force_pair=True, *,
return client

def get_coin_name(self):
return "Zcoin Testnet" if constants.net.TESTNET else "Zcoin"
return "Firo Testnet" if constants.net.TESTNET else "Firo"

def initialize_device(self, device_id, wizard, handler):
# Initialization method
Expand Down