Skip to content

Commit

Permalink
Merge pull request #1001 from Chia-Network/develop
Browse files Browse the repository at this point in the history
Release 1.7.8
  • Loading branch information
TheLastCicada authored Feb 15, 2024
2 parents 2fbd24b + 68cecfd commit 1c82112
Show file tree
Hide file tree
Showing 34 changed files with 1,921 additions and 1,803 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
- runs-on: ubuntu-latest
artifact-name: cadt-linux-x64
build-command: npm run create-linux-x64-dist
sqlite-path: ./node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-x64/
sqlite-path: ./node_modules/sqlite3/build/Release/
- runs-on: macos-latest
artifact-name: cadt-macos-x64
build-command: npm run create-mac-x64-dist
sqlite-path: ./node_modules/sqlite3/lib/binding/napi-v6-darwin-unknown-x64/
sqlite-path: ./node_modules/sqlite3/build/Release/
- runs-on: windows-2019
artifact-name: cadt-windows-x64
build-command: npm run create-win-x64-dist
sqlite-path: .\node_modules\sqlite3\lib\binding\napi-v6-win32-unknown-x64\
sqlite-path: .\node_modules\sqlite3\build\Release\

steps:
- name: Clean workspace
Expand Down Expand Up @@ -184,8 +184,7 @@ jobs:
- name: Copy sqlite3
run: |
ls ./node_modules/sqlite3/lib/binding/
sudo cp ./node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-arm64/node_sqlite3.node ./dist/
sudo cp ./node_modules/sqlite3/build/Release/node_sqlite3.node ./dist/
- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down
16 changes: 1 addition & 15 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
Copyright 2022 Chia Network Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.



Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Expand Down Expand Up @@ -200,7 +186,7 @@ See the License for the specific language governing permissions and limitations
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2023 Chia Network Inc.
Copyright 2024 Chia Network Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
62 changes: 31 additions & 31 deletions README.md

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions build-scripts/deb/cadt@.service
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
[Unit]
Description=CADT

# Stop automatically restarting if 10 failures in 5 minutes
StartLimitIntervalSec=300
StartLimitBurst=10

[Service]
# Set Chia directory as an environment variable
Environment=CHIA_ROOT=/home/%i/.chia/mainnet
Expand All @@ -27,5 +31,9 @@ ExecStart=/opt/cadt/cadt
User=%i
Group=%i

# Auto-restart if process stopped outside of systemd
Restart=on-failure
RestartSec=10s

[Install]
WantedBy=multi-user.target
Loading

0 comments on commit 1c82112

Please sign in to comment.