Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Farm crash fixes #512

Merged
merged 3 commits into from Nov 9, 2020
Merged

Farm crash fixes #512

merged 3 commits into from Nov 9, 2020

Conversation

hoffmang9
Copy link
Member

Fix various memory leaks and possible double frees in bls-library.

This resolves #477

hoffmang9 and others added 3 commits November 3, 2020 20:50
Incorporate @wjblanke's potential bls fix for farming crashes
@hoffmang9
Copy link
Member Author

This also resolves #500

@hoffmang9 hoffmang9 merged commit 155d952 into dev Nov 9, 2020
@hoffmang9 hoffmang9 deleted the farm-crash-test branch November 9, 2020 14:02
seeden pushed a commit that referenced this pull request Nov 9, 2020
* Bump blspy to 0.2.5

Incorporate @wjblanke's potential bls fix for farming crashes

* blspy to 0.2.6

* move to blspy 0.2.7
hoffmang9 added a commit that referenced this pull request Nov 25, 2020
* added farm cards

* updated farming page
updated card, accordion and table components

* updated formating

* added @chia/core and @chia/icons packages
small refactoring

* replaced brand with chia icon
removed modal dialog

* removed old pages
added WalletType into the constants

* added craco for local alias
fixed typos

* fixed app provdier and typos

* eslint format

* updated deps

* added minimum K=32 for mainnet
added precision = 3 for plot size and total net size
refactored plot page
added hooks for open and select directory via electron api
added react-form-hooks components for material-ui

* updated format of the code

* fix simulator

* black

* deps

* added plot list

* removed unused components
moved plot list from farmer into the plot page
removed unused console.logs
updated format for fee, reward and total number

* Bump colorlog to 4.5.0

* Bump colorlog to 4.6.2

* Farm crash fixes (#512)

* Bump blspy to 0.2.5

Incorporate @wjblanke's potential bls fix for farming crashes

* blspy to 0.2.6

* move to blspy 0.2.7

* added tooltip into the table cell
fixed list of the plots
added farming visualisation and hook for the farming state

* renamed back index to selectKey

* transaction type

* Bump cbor2 from 5.1.2 to 5.2.0

Bumps [cbor2](https://github.com/agronholm/cbor2) from 5.1.2 to 5.2.0.
- [Release notes](https://github.com/agronholm/cbor2/releases)
- [Changelog](https://github.com/agronholm/cbor2/blob/master/docs/versionhistory.rst)
- [Commits](agronholm/cbor2@5.1.2...5.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Add cbor 5.2.0 to install.sh

* Don't forget azure pipelines

* Bump sortedcontainers from 2.2.2 to 2.3.0

Bumps [sortedcontainers](https://github.com/grantjenks/python-sortedcontainers) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/grantjenks/python-sortedcontainers/releases)
- [Changelog](https://github.com/grantjenks/python-sortedcontainers/blob/master/HISTORY.rst)
- [Commits](grantjenks/python-sortedcontainers@v2.2.2...v2.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump clvm-tools from 0.1.6 to 0.1.7

Bumps [clvm-tools](https://github.com/Chia-Network/clvm_tools) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/Chia-Network/clvm_tools/releases)
- [Commits](Chia-Network/clvm_tools@0.1.6...0.1.7)

Signed-off-by: dependabot[bot] <support@github.com>

* Have Cbor2 version only rely on setup.py (#518)

* cbor2 version should only be in setup.py

* Build and install wheels in one step on Azure

* swapped standard puzzle to use aggsig_me

fixed bug in sign_coin_solutions where aggsig_me would not be signed 
correctly

* cc_wallet and trade_manager use aggsig_me

* fixed aggsig_me bug in wallet_tool

* appeased superlinter black requests

* added aggsig_me to cost_calculator, same as aggsig

* black fix cost calculator

* Bump chiapos to 0.12.35, catch up changelog

* Appease the markdown lint

* used new type enum from transaction
simplified modals and added new type of modals

* updated format of the UI files

* added failed and not found plots
fixed plot header
added delete action for plot

* typo

* fixed scroll bar in the wallets list

* removed unused code and fixed windows build

* fixed all known scroll bar issues

* added layout sidebar
simplified layout flexbox

* added radio button to chia/core
added box shadow for layout sidebar
showed plot in parallel (disabled until we add support)

* npm run buil

* removed additional fields from queue item

* first version of refactored trade part

* call get_plots after harvester
updated format
removed unused console.logs

* added plot queue

* upnp

* Bump pos/vdf/bip158/bls for python 3.9 wheels

* downgrade to last good chiavdf - no 3.9 ubuntu yet

* Build python 3.8 and 3.9 on MacOS - temporarily compile chiavdf on Mac

* Don't build vdf_client at first on Mac 3.9

* Modify typing for python 3.9 (#532)

* Give MacOS 3.9 more time to test

* try get_args

* 3.7

* sys

* tuple

* is not none

* pretty printer versus flake

* black

* Revert MacOS testing time to 60m max

Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
Co-authored-by: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com>

* Bump concurrent-log-handler from 0.9.17 to 0.9.19 (#530)

Bumps [concurrent-log-handler](https://github.com/Preston-Landers/concurrent-log-handler) from 0.9.17 to 0.9.19.
- [Release notes](https://github.com/Preston-Landers/concurrent-log-handler/releases)
- [Changelog](https://github.com/Preston-Landers/concurrent-log-handler/blob/master/CHANGELOG.md)
- [Commits](Preston-Landers/concurrent-log-handler@0.9.17...0.9.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/upload-artifact from v2.2.0 to v2.2.1 (#528)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.0 to v2.2.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v2.2.0...726a6dc)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump keyring from 21.4.0 to 21.5.0 (#529)

Bumps [keyring](https://github.com/jaraco/keyring) from 21.4.0 to 21.5.0.
- [Release notes](https://github.com/jaraco/keyring/releases)
- [Changelog](https://github.com/jaraco/keyring/blob/master/CHANGES.rst)
- [Commits](jaraco/keyring@v21.4.0...v21.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Try pyinstaller-4.1 (#533)

* Try aiohttp 3.7.3

* fixed mac build

* updated formating
fixed eslint
updated deps
compiled locales

* fixed locale file format

* removed unused code

* added "add plot directory" when plots are already there

* slovak translation correction

* use electron starter from dev branch

* updated router and fixed electron build

* used TXCH for testnet

* removed eslintcache from the git

* used correct translation (TXCH) for English locale

* added missing plurals library

* used same visualization for total size

* removed unused code

* update package-lock.json

* start harvester and farmer

* Bump blspy to 0.2.9 and brute force Python 3.9 timelord issue (#540)

* Is a bad chiavdf cached?

* Bump blspy

* Check the env

* rm unexpected vdf_client in python 3.9

* Remove debug echo

* Bump pos/vdf/bip158/bls for python 3.9 wheels

* downgrade to last good chiavdf - no 3.9 ubuntu yet

* Bump pos/vdf/bip158/bls for python 3.9 wheels

* downgrade to last good chiavdf - no 3.9 ubuntu yet

Co-authored-by: Yostra <straya@chia.net>
Co-authored-by: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthew Howard <matt@chia.net>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
Co-authored-by: Bill Blanke <wjb2002@flex.com>
Co-authored-by: wjblanke <wjb98672@gmail.com>
Yostra pushed a commit that referenced this pull request Jan 12, 2021
* Bump blspy to 0.2.5

Incorporate @wjblanke's potential bls fix for farming crashes

* blspy to 0.2.6

* move to blspy 0.2.7
Yostra added a commit that referenced this pull request Jan 12, 2021
* added farm cards

* updated farming page
updated card, accordion and table components

* updated formating

* added @chia/core and @chia/icons packages
small refactoring

* replaced brand with chia icon
removed modal dialog

* removed old pages
added WalletType into the constants

* added craco for local alias
fixed typos

* fixed app provdier and typos

* eslint format

* updated deps

* added minimum K=32 for mainnet
added precision = 3 for plot size and total net size
refactored plot page
added hooks for open and select directory via electron api
added react-form-hooks components for material-ui

* updated format of the code

* fix simulator

* black

* deps

* added plot list

* removed unused components
moved plot list from farmer into the plot page
removed unused console.logs
updated format for fee, reward and total number

* Bump colorlog to 4.5.0

* Bump colorlog to 4.6.2

* Farm crash fixes (#512)

* Bump blspy to 0.2.5

Incorporate @wjblanke's potential bls fix for farming crashes

* blspy to 0.2.6

* move to blspy 0.2.7

* added tooltip into the table cell
fixed list of the plots
added farming visualisation and hook for the farming state

* renamed back index to selectKey

* transaction type

* Bump cbor2 from 5.1.2 to 5.2.0

Bumps [cbor2](https://github.com/agronholm/cbor2) from 5.1.2 to 5.2.0.
- [Release notes](https://github.com/agronholm/cbor2/releases)
- [Changelog](https://github.com/agronholm/cbor2/blob/master/docs/versionhistory.rst)
- [Commits](agronholm/cbor2@5.1.2...5.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Add cbor 5.2.0 to install.sh

* Don't forget azure pipelines

* Bump sortedcontainers from 2.2.2 to 2.3.0

Bumps [sortedcontainers](https://github.com/grantjenks/python-sortedcontainers) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/grantjenks/python-sortedcontainers/releases)
- [Changelog](https://github.com/grantjenks/python-sortedcontainers/blob/master/HISTORY.rst)
- [Commits](grantjenks/python-sortedcontainers@v2.2.2...v2.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump clvm-tools from 0.1.6 to 0.1.7

Bumps [clvm-tools](https://github.com/Chia-Network/clvm_tools) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/Chia-Network/clvm_tools/releases)
- [Commits](Chia-Network/clvm_tools@0.1.6...0.1.7)

Signed-off-by: dependabot[bot] <support@github.com>

* Have Cbor2 version only rely on setup.py (#518)

* cbor2 version should only be in setup.py

* Build and install wheels in one step on Azure

* swapped standard puzzle to use aggsig_me

fixed bug in sign_coin_solutions where aggsig_me would not be signed 
correctly

* cc_wallet and trade_manager use aggsig_me

* fixed aggsig_me bug in wallet_tool

* appeased superlinter black requests

* added aggsig_me to cost_calculator, same as aggsig

* black fix cost calculator

* Bump chiapos to 0.12.35, catch up changelog

* Appease the markdown lint

* used new type enum from transaction
simplified modals and added new type of modals

* updated format of the UI files

* added failed and not found plots
fixed plot header
added delete action for plot

* typo

* fixed scroll bar in the wallets list

* removed unused code and fixed windows build

* fixed all known scroll bar issues

* added layout sidebar
simplified layout flexbox

* added radio button to chia/core
added box shadow for layout sidebar
showed plot in parallel (disabled until we add support)

* npm run buil

* removed additional fields from queue item

* first version of refactored trade part

* call get_plots after harvester
updated format
removed unused console.logs

* added plot queue

* upnp

* Bump pos/vdf/bip158/bls for python 3.9 wheels

* downgrade to last good chiavdf - no 3.9 ubuntu yet

* Build python 3.8 and 3.9 on MacOS - temporarily compile chiavdf on Mac

* Don't build vdf_client at first on Mac 3.9

* Modify typing for python 3.9 (#532)

* Give MacOS 3.9 more time to test

* try get_args

* 3.7

* sys

* tuple

* is not none

* pretty printer versus flake

* black

* Revert MacOS testing time to 60m max

Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
Co-authored-by: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com>

* Bump concurrent-log-handler from 0.9.17 to 0.9.19 (#530)

Bumps [concurrent-log-handler](https://github.com/Preston-Landers/concurrent-log-handler) from 0.9.17 to 0.9.19.
- [Release notes](https://github.com/Preston-Landers/concurrent-log-handler/releases)
- [Changelog](https://github.com/Preston-Landers/concurrent-log-handler/blob/master/CHANGELOG.md)
- [Commits](Preston-Landers/concurrent-log-handler@0.9.17...0.9.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/upload-artifact from v2.2.0 to v2.2.1 (#528)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.0 to v2.2.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v2.2.0...726a6dc)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump keyring from 21.4.0 to 21.5.0 (#529)

Bumps [keyring](https://github.com/jaraco/keyring) from 21.4.0 to 21.5.0.
- [Release notes](https://github.com/jaraco/keyring/releases)
- [Changelog](https://github.com/jaraco/keyring/blob/master/CHANGES.rst)
- [Commits](jaraco/keyring@v21.4.0...v21.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Try pyinstaller-4.1 (#533)

* Try aiohttp 3.7.3

* fixed mac build

* updated formating
fixed eslint
updated deps
compiled locales

* fixed locale file format

* removed unused code

* added "add plot directory" when plots are already there

* slovak translation correction

* use electron starter from dev branch

* updated router and fixed electron build

* used TXCH for testnet

* removed eslintcache from the git

* used correct translation (TXCH) for English locale

* added missing plurals library

* used same visualization for total size

* removed unused code

* update package-lock.json

* start harvester and farmer

* Bump blspy to 0.2.9 and brute force Python 3.9 timelord issue (#540)

* Is a bad chiavdf cached?

* Bump blspy

* Check the env

* rm unexpected vdf_client in python 3.9

* Remove debug echo

* Bump pos/vdf/bip158/bls for python 3.9 wheels

* downgrade to last good chiavdf - no 3.9 ubuntu yet

* Bump pos/vdf/bip158/bls for python 3.9 wheels

* downgrade to last good chiavdf - no 3.9 ubuntu yet

Co-authored-by: Yostra <straya@chia.net>
Co-authored-by: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthew Howard <matt@chia.net>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
Co-authored-by: Bill Blanke <wjb2002@flex.com>
Co-authored-by: wjblanke <wjb98672@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant