Digibyte switched to SegWit

This commit is contained in:
John L. Jegutanis 2017-06-10 19:26:06 +03:00
parent 74f899e544
commit fe30086795
3 changed files with 21 additions and 1 deletions

View File

@ -668,6 +668,7 @@ class DigiByte(Coin):
WIF_BYTE = bytes.fromhex("80")
GENESIS_HASH = ('7497ea1b465eb39f1c8f507bc877078f'
'e016d6fcb6dfad3a64c98dcc6e1e8496')
DESERIALIZER = DeserializerSegWit
TX_COUNT = 1046018
TX_COUNT_HEIGHT = 1435000
TX_PER_BLOCK = 1000

File diff suppressed because one or more lines are too long

View File

@ -47,7 +47,7 @@ for name in os.listdir(BLOCKS_DIR):
with open(os.path.join(BLOCKS_DIR, name)) as f:
blocks.append((coin, json.load(f)))
except Exception as e:
blocks.append(pytest.mark.skip(name))
blocks.append(pytest.fail(name))
@pytest.fixture(params=blocks)