def __init__(self):
if not is_pyethereum16_available():
version = get_pyethereum_version()
if version is None:
raise pkg_resources.DistributionNotFound(
"The `ethereum` package is not available. The "
"`PyEthereum16Backend` requires a 1.6.x version of the "
"ethereum package to be installed."
)
elif version not in Spec('>=1.6.0,<1.7.0'):
raise pkg_resources.DistributionNotFound(
"The `PyEthereum16Backend` requires a 1.6.x version of the "
"`ethereum` package. Found {0}".format(version)
)
self.reset_to_genesis()
#
# Fork Rules
#
评论列表
文章目录