Skip to content

Commit e86c221

Browse files
authored
Merge pull request #87 from guydavis/integration
v0.3.2 - update to include Chia v1.1.7
2 parents be24ba7 + 51538fb commit e86c221

File tree

6 files changed

+13
-6
lines changed

6 files changed

+13
-6
lines changed

.github/workflows/develop.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
platforms: linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6
4040
push: true
4141
build-args: |
42-
"CHIA_BRANCH=1.1.6"
42+
"CHIA_BRANCH=1.1.7"
4343
tags: |
4444
${{ secrets.DOCKERHUB_USERNAME }}/machinaris:develop
4545
ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris:develop

.github/workflows/main.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
platforms: linux/amd64
4141
push: true
4242
build-args: |
43-
"CHIA_BRANCH=1.1.6"
43+
"CHIA_BRANCH=1.1.7"
4444
"PATCH_CHIAPOS=true"
4545
tags: |
4646
${{ secrets.DOCKERHUB_USERNAME }}/machinaris:latest

.github/workflows/test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
platforms: linux/amd64
4141
push: true
4242
build-args: |
43-
"CHIA_BRANCH=1.1.6"
43+
"CHIA_BRANCH=1.1.7"
4444
"PATCH_CHIAPOS=true"
4545
tags: |
4646
${{ secrets.DOCKERHUB_USERNAME }}/machinaris:test

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5+
## [0.3.2] - 2021-06-06
6+
7+
- Include the just released Chia 1.1.7. For details, see their [changelog](https://github.com/Chia-Network/chia-blockchain/blob/1.1.7/CHANGELOG.md#117-chia-blockchain-2021-06-05).
8+
59
## [0.3.1] - 2021-06-04
610

711
- After testing showed between 15% to 30% speedup on plotting, adopting [Chiapos multithreaded library](https://github.com/guydavis/machinaris/wiki/Releases#chiapos).

app/commands/global_config.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from app.commands import global_config
2121

2222
# Hard-coded verson numbers for now
23-
MACHINARIS_VERSION = "0.3.1"
23+
MACHINARIS_VERSION = "0.3.2"
2424

2525
CHIA_BINARY = '/chia-blockchain/venv/bin/chia'
2626
PLOTMAN_SCRIPT = '/chia-blockchain/venv/bin/plotman'
@@ -118,10 +118,13 @@ def load_chia_version():
118118
last_chia_version = outs.decode('utf-8').strip()
119119
# Chia version with .dev is actually one # to high
120120
# See: https://github.com/Chia-Network/chia-blockchain/issues/5655
121-
if '.dev' in last_chia_version:
121+
if last_chia_version.endswith('dev0'):
122122
sem_ver = last_chia_version.split('.')
123123
last_chia_version = sem_ver[0] + '.' + \
124124
sem_ver[1] + '.' + str(int(sem_ver[2])-1)
125+
elif '.dev' in last_chia_version:
126+
sem_ver = last_chia_version.split('.')
127+
last_chia_version = sem_ver[0] + '.' + sem_ver[1] + '.' + sem_ver[2]
125128
last_chia_version_load_time = datetime.datetime.now()
126129
return last_chia_version
127130

dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ ENV farmer_pk="null"
9797
ENV pool_pk="null"
9898
# If mode=harvester, required for host and port the harvester will your farmer
9999
ENV farmer_address="null"
100-
ENV farmer_port="null"
100+
ENV farmer_port="8447"
101101
# Only set true if using Chia's old test for testing only, default uses mainnet
102102
ENV testnet="false"
103103

0 commit comments

Comments
 (0)