ethereum / sharding

Sharding manager contract, and related software and tests
480 stars 105 forks source link

[WIP] Shard Chain v2 #4

Closed hwwhww closed 7 years ago

hwwhww commented 7 years ago

Shard Chain implementation of the current EIP docs. (Please ignore the previous version)

Description

1. sharding/main_chain.py

2. sharding/shard_chain.py

3. sharding/collator.py

4. sharding/state_transition.py

This module contains the rewritten functions related to state transition from ethereum.commom, ethereum.meta andethereum.pow.consensus modules for sharding.

5. Other TODO

Installation

For more details of environment, please refer to pyethereum.

sudo apt-get install libssl-dev build-essential automake pkg-config libtool libffi-dev libgmp-dev

git clone https://github.com/ethereum/sharding/

cd sharding

pip install -r requirements.txt

To install the dependencies necessary for development (testing, ...), run:

pip install -r dev_requirements.txt

How to run the tests

pytest sharding/tests/