-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from Chia-Network/alpha-1.4
Alpha 1.4 1. Compiling and execution now detect AES-NI, or a lack of it, and fall back to a software AES implementation. This adds support for Raspberry Pi 4, related ARM processors and Celeron processors. 2. Added install instructions for CentOS/RHEL 8.1. Thanks to @A-Caccese for fixes to Windows WSL instructions. 3. Due to changes to the sqlite database that are not backwards compatible so re-synch will be required. Loading the blockchain only loads headers into memory instead of header blocks (header + proofs), speeds up the startup, and reduces normal operation memory usage by 80%. Memory access is now synchronous to reduce use of locks and speed up block processing. 4. Chia fullnode, farmer and harvester now default to logging to chia.log in the chia-blockchain directory. This is configured in config.yaml and due to config.yaml changes it is recommended to edit the new template config instead of using older config.yaml’s from previous versions. 5. Plotting working directory and final directory can both be specified in config.yaml 6. uvloop is now an optional add on. 7. Plotting now logs a timestamp at each major step. Thanks @dkackman who also fixed some compiler warnings. Additionally harvester/farmer will not try to farm plots that they don’t have the key for. 8. Added support for Python 3.8.
- Loading branch information
Showing
57 changed files
with
2,154 additions
and
1,151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,34 +9,40 @@ jobs: | |
strategy: | ||
max-parallel: 4 | ||
matrix: | ||
python-version: [3.7, 3.8] | ||
os: [ubuntu-latest, macOS-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Setup Python environment | ||
uses: actions/[email protected] | ||
with: | ||
python-version: 3.7 # optional, default is 3.x | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
env: | ||
CHIA_MACHINE_SSH_KEY: ${{ secrets.CHIA_MACHINE_SSH_KEY }} | ||
GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no" | ||
run: | | ||
eval "$(ssh-agent -s)" | ||
ssh-add - <<< "${CHIA_MACHINE_SSH_KEY}" | ||
git submodule update --init --recursive | ||
brew update && brew install gmp || echo "" | ||
python3 -m venv .venv | ||
brew update && brew install gmp boost || echo "" | ||
sh install.sh | ||
- name: Test proof of space | ||
run: | | ||
cd lib/chiapos | ||
mkdir -p build && cd build | ||
cmake ../ | ||
cmake --build . -- -j 6 | ||
./RunTests | ||
cd ../../../ | ||
- name: Test vdf | ||
run: | | ||
. .venv/bin/activate | ||
pip install -e . | ||
pip install -r requirements.txt | ||
- name: Lint with flake8 | ||
cd lib/chiavdf/fast_vdf | ||
python python_bindings/test_verifier.py | ||
cd ../../../ | ||
- name: Lint source with flake8 | ||
run: | | ||
./.venv/bin/flake8 src | ||
- name: Lint with mypy | ||
- name: Lint source with mypy | ||
run: | | ||
./.venv/bin/mypy src tests | ||
- name: Test with pytest | ||
- name: Test blockchain code with pytest | ||
run: | | ||
./.venv/bin/py.test tests -s -v | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ mongod.log* | |
fndb_test* | ||
blockchain_test* | ||
*.db | ||
*.db-journal | ||
|
||
# Logs | ||
*.log | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
git submodule update --init --recursive | ||
mkdir build -p | ||
cd build | ||
cmake ../ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.