Initial Vexta Core v0.1.0 release
This commit is contained in:
commit
25c454329d
2481 changed files with 689289 additions and 0 deletions
12
test/functional/test_framework/blockversion.py
Normal file
12
test/functional/test_framework/blockversion.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env python3
|
||||
# Copyright (c) 2022 The DigiByte Core developers
|
||||
# Distributed under the MIT software license, see the accompanying
|
||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
"""DigiByte Block Version for Regtest"""
|
||||
|
||||
VERSIONBITS_TOP_BITS = 0x20000000
|
||||
BLOCK_VERSION = 2
|
||||
VERSIONBITS_LAST_OLD_BLOCK_VERSION = BLOCK_VERSION | VERSIONBITS_TOP_BITS
|
||||
|
||||
def calc_block_version(v):
|
||||
return v | VERSIONBITS_TOP_BITS
|
||||
Loading…
Reference in a new issue