Digibyte switched to SegWit
This commit is contained in:
parent
74f899e544
commit
fe30086795
@ -668,6 +668,7 @@ class DigiByte(Coin):
|
|||||||
WIF_BYTE = bytes.fromhex("80")
|
WIF_BYTE = bytes.fromhex("80")
|
||||||
GENESIS_HASH = ('7497ea1b465eb39f1c8f507bc877078f'
|
GENESIS_HASH = ('7497ea1b465eb39f1c8f507bc877078f'
|
||||||
'e016d6fcb6dfad3a64c98dcc6e1e8496')
|
'e016d6fcb6dfad3a64c98dcc6e1e8496')
|
||||||
|
DESERIALIZER = DeserializerSegWit
|
||||||
TX_COUNT = 1046018
|
TX_COUNT = 1046018
|
||||||
TX_COUNT_HEIGHT = 1435000
|
TX_COUNT_HEIGHT = 1435000
|
||||||
TX_PER_BLOCK = 1000
|
TX_PER_BLOCK = 1000
|
||||||
|
|||||||
19
tests/blocks/digibyte_mainnet_4394891.json
Normal file
19
tests/blocks/digibyte_mainnet_4394891.json
Normal file
File diff suppressed because one or more lines are too long
@ -47,7 +47,7 @@ for name in os.listdir(BLOCKS_DIR):
|
|||||||
with open(os.path.join(BLOCKS_DIR, name)) as f:
|
with open(os.path.join(BLOCKS_DIR, name)) as f:
|
||||||
blocks.append((coin, json.load(f)))
|
blocks.append((coin, json.load(f)))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
blocks.append(pytest.mark.skip(name))
|
blocks.append(pytest.fail(name))
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(params=blocks)
|
@pytest.fixture(params=blocks)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user