The official Rust implementation of Conflux protocol. https://doc.confluxnetwork.org
See the codeConflux-rust is a Rust-based implementation of the Conflux protocol. It is fast and reliable.
Please follow the Conflux Documentation to install and run Conflux.
For a general overview of the crates, see Project Layout.
Thank you for considering helping out with our source code. We appreciate any contributions, even the smallest fixes. Please read the guidelines on how to submit issues and pull requests. Note that if you want to propose significant changes to the Conflux protocol, please submit a CIP.
The Minimum Supported Rust Version (MSRV) of this project is 1.94
See the doc for detailed instructions on how to build from source.
If you have modified any Rust code, please run the cargo_fmt.sh script before committing to format the code and ensure consistent code style.
Unit tests come together with the Rust code. They can be invoked via cargo test --release --all. See the
Getting Started
page for more information.
Integration tests are Python test scripts with the _test.py suffix in the tests directory and in the integration_tests/tests directory.
To run these tests:
source ./dev-support/activate_new_venv.sh. This command will create a new one with Python 3.11 to .venv and activate it each time you run it. Or you can simply run .venv/bin/activate to activate the created one.bash ./dev-support/dep_pip3.sh in the root directory.cargo build --releaseconsensus_bench binary using cd tools/consensus_bench && cargo build --releasegit submodule update --remote --recursive --init.Then, you can run all integration tests using:
python3 tests/test_all.py for tests in the tests directorypytest ./integration_tests/tests -vv -n 6 --dist loadscope for tests in the integration_tests directoryAs for running tests with coverage, please refer to Coverage.
696 followers · starred Dec 2020
44 followers · starred Nov 2021
17 followers · starred Jul 2022
38 followers · starred Sep 2022
The official Rust implementation of Conflux protocol. https://doc.confluxnetwork.org
See the codeConflux-rust is a Rust-based implementation of the Conflux protocol. It is fast and reliable.
Please follow the Conflux Documentation to install and run Conflux.
For a general overview of the crates, see Project Layout.
Thank you for considering helping out with our source code. We appreciate any contributions, even the smallest fixes. Please read the guidelines on how to submit issues and pull requests. Note that if you want to propose significant changes to the Conflux protocol, please submit a CIP.
The Minimum Supported Rust Version (MSRV) of this project is 1.94
See the doc for detailed instructions on how to build from source.
If you have modified any Rust code, please run the cargo_fmt.sh script before committing to format the code and ensure consistent code style.
Unit tests come together with the Rust code. They can be invoked via cargo test --release --all. See the
Getting Started
page for more information.
Integration tests are Python test scripts with the _test.py suffix in the tests directory and in the integration_tests/tests directory.
To run these tests:
source ./dev-support/activate_new_venv.sh. This command will create a new one with Python 3.11 to .venv and activate it each time you run it. Or you can simply run .venv/bin/activate to activate the created one.bash ./dev-support/dep_pip3.sh in the root directory.cargo build --releaseconsensus_bench binary using cd tools/consensus_bench && cargo build --releasegit submodule update --remote --recursive --init.Then, you can run all integration tests using:
python3 tests/test_all.py for tests in the tests directorypytest ./integration_tests/tests -vv -n 6 --dist loadscope for tests in the integration_tests directoryAs for running tests with coverage, please refer to Coverage.
696 followers · starred Dec 2020
44 followers · starred Nov 2021
17 followers · starred Jul 2022
38 followers · starred Sep 2022