Commit Graph
27 Commits
Author SHA1 Message Date
Izumi HoshinoandGitHub fcde4bd619 Added blocks_won and last_time_farmed to get_farmed_amount Wall… (#15778)
* Added `blocks_won` and `last_time_farmed` to `get_farmed_amount` Wallet RPC API

* Updated code according to the review

* Fixed performance degradation

* Fixed lint error
2023-07-17 10:23:20 -05:00
Izumi HoshinoandGitHub e1b17c61de Updated UI_ACTUAL_SPACE_CONSTANT_FACTOR to 0.78 (#15771) 2023-07-14 22:27:04 -05:00
Izumi HoshinoandGitHub 15fa5f3764 Added quality lookup time info to FarmingInfo (#15775) 2023-07-14 14:23:34 -05:00
ChiaMineJP e1e9e96c49 Fixed an issue where label-conflict action did not run when opening a PR 2022-12-07 20:59:30 +09:00
Izumi HoshinoandGitHub b37f2009bd Made it able to RAM plot with bladebit2 (#13833) 2022-11-30 12:09:30 -06:00
Izumi HoshinoandGitHub 7cff4532df Set GUI binary name to chia-blockchain in the Fedora rpm (#13915)
set gui binary name to chia-blockchain (rpm)
2022-11-15 18:38:51 -06:00
Izumi HoshinoandGitHub 0d8b5ab763 Fixed an issue where chia plotters command showed stack trace (#13734) 2022-10-28 11:22:20 -05:00
Izumi HoshinoandGitHub 6dfbc1ef7c Made error message of chia plotters version more traceable (#13704) 2022-10-26 15:48:24 -05:00
Izumi HoshinoandGitHub 0e93464521 Deprecate chia plotters install command (#13584)
* Deprecated `chia plotters install` command

* Fixed lint errors

* Made it able to recognize plotter executables in venv

* Added install-plotter.sh

* Removed strings for debug

* Added install-plotter.ps1

* Fixed an issue where madmax plotter under venv dir was not recognized by 'chia plotters' command

* Added exec permission to install-plotter.sh

* Fixed issues found in install-plotter.sh

* Fixed lint errors

* Added `-p` option to install.sh/install.ps1

* Fixed lint errors

* Added nice deprecated warning

* Fixed a lint error

* Slightly improved branching

* Made log messages look nice

* Fixed an issue where install.sh/ps1 -p failed if virtual env is not acivated
2022-10-17 12:35:58 -05:00
Izumi HoshinoandGitHub 9fa965bab2 Minimized a chance where sudo prompts users for password (#13219)
* Minimized a chance where `sudo xxx install ...` is executed and prompts users for password

* Fixed install issue on Ubuntu/Debian

* (Retry) Fixed install issue on Ubuntu/Debian

* Fixed an issue where `install.sh` exits unexpectedly on Ubuntu/Debian

* Added `set +e` and `set -e` to find_xxx functions

* Improve code structure

* Fixed an issue where `install.sh` fails if Python < 3.7 is already installed

* Added `-s` option and overwhaul entire construction

* `-d` and `-s` can be both specified at once
2022-10-04 11:19:15 -05:00
Izumi HoshinoandGitHub 42e67f049e Prevent a crash that happens when config["harvester"]["plot_directories"] is not a list (#13551) 2022-09-30 17:49:07 -05:00
Izumi HoshinoandGitHub e40772a0bf Added support for --no-t1-direct and --no-t2-direct (#13526) 2022-09-26 09:20:40 -05:00
Izumi HoshinoandGitHub a2b6a9b5f3 Cmj.bladebit (#11187)
* Making source code cleaner

* Cleaned up `install_plotter.py`

* Now `$CHIA_ROOT/plotters/bladebit` is searched first then bundled bladebit

* Fixed a lint error

* WIP: Implement bladebit update/checkout feature

* Enable to specify git branch/tag/commit on bladebit installation

* Modify arguments display order

* Added `chia plotters version` command

* Fixed lint errors

* Fixed lint error 2

* Implemented `chia plotters bladebit2` and handling for its options

* Fixed typo

* Fixed a lint error

* Added comment

* Added missing plotter arguments

* Fixed LGTM warning

* Fixed wrong typing

* Fixed a lint error

* Fixed an issue where `None` was evaluated as an empty string

* Support bladebit2 plotting from web request

* Updated response of `get_plotters` API for upcoming `bladebit2`

* Fixed bladebit2 argument handling

* Modified progress dict

* Added --no-cpu-affinity option to bladebit1

* Fixed a minor error

* Fixed an error where `chia plotters version` failed

* Fixed an issue where building bladebit2 failed

* Fixed an issue where bladebit2 stopped working if `--cache` option was set

* Updated branch for bladebit2

* Fixed an issue where plotting with madmax/bladebit failed for Python < 3.8 on Windows

* Now `chia plotters install madmax|bladebit2` should work on RedHat like OSes

* Fixed a wrong yum package name

* Added yum packages required for Bladebit2

* Changed the way to update bladebit

* Implemented option handling for madmax as well as bladebit

* Fixed a lint error

* Fixed a minor issue

* Fixed LGTM warning

* Applied changes for bladebit 2.0.0-alpha-2

* Fixed a lint error

* Trying to fix windows pre-commit error

* Fixed isort error
2022-09-23 19:42:37 -05:00
Izumi HoshinoandGitHub 190f8e1be2 Suppress debug log (#13476)
* Suppress debug log

* Delete the lines
2022-09-19 20:20:16 -05:00
Izumi HoshinoandGitHub 4e6fac243a Fix missing wallet state_changed events (#13200)
* Fixed an issue where some of the wallet state_changed events were not notified to subscribers

* Fixed a lint error
2022-08-29 22:19:25 -05:00
b3b56a64d1 Replace electron-packager with electron-builder (#12953)
* Install electron-builder

* Replaced electron-packager with electron-builder for windows

* Upgraded electron-builder version for mac

* Replaced electron-packager with electron-builder for Linux and integreated deb/rpm dir

* Updated mac installer job

* Fixed app.asar location

* Fixed dmg name for arm64 mac

* Updated installer-version.py

* Updated Linux(deb) installer CI job

* Updated Linux(rpm) installer CI job

* Fixed Linux(rpm) install CI issue

* Revert to use `electron-packager` instead of `electron-builder` for arm64 .deb installer

* Fixed lint errors

* Fixed rpm installer job issue

* Updated Windows installer CI job

* Fixed rpm installer CI job

* Simplified arm64 build

* Added -y option to `apt install` command

* Added `dmg-license` as npm build dependency for MacOS

* Attempt to set product name appropriately for each platform

* Specified productNames in commands

* Fixed arm64 installer issue

* Stopped to create link '/opt/chia/daemon'

* Updated desktop app name for linux installers

* Updated packageName for linux installers

* Abort build jobs when 'cd' fails

* Updated the GUI submodule ref (main:5e52b7f53478d4f39b4a0f0203f41e31dd53aee9)

Co-authored-by: Jeff Cruikshank <jeff@chia.net>
2022-08-24 20:13:40 -05:00
Izumi HoshinoandGitHub 48a8347c83 Fixed an issue where it sometimes tried to remove a non-existent win cert file (#12797) 2022-08-05 13:25:09 -05:00
Izumi HoshinoandGitHub 4c87c99d15 Improve CI performance (#12523)
* Optimized CI execution times

* Fixed a lint error

* Update GUI cache keys for linux

* Added `git status` and `git submodule` to build_xxx-installer.sh
2022-08-04 12:03:50 -05:00
Izumi HoshinoandGitHub 339fd05d12 Fixed an issue where mint_nft function in rpc client did not send correct request parameters to wallet rpc API (#12727) 2022-08-01 18:17:07 -05:00
ChiaMineJPandGitHub 42fff8e773 Issues found in RPC API review (#10702)
* Removed unnecessary substitution

* Recovered  property which was accidentally removed in full node RPC API

* Added backward compatibility to `get_additions_and_removals` full_node RPC API

* Fixed full_node rpc client
2022-03-17 09:03:30 -07:00
ChiaMineJPandGitHub 816251ec0d Fix install-gui.sh (#10460)
* Fixed an issue where running  with gui git branch specified failed

* Fixed an issue where install-gui.sh failed if npm>=7 and NodeJS < 16 were installed

* Fixed inconsistent npm path issue

* Fixed typo
2022-03-04 14:06:13 -08:00
ChiaMineJPandGitHub ae61ed75a3 Stop assuming True == 1 (#10396)
* Stop assuming `True == 1`

* Removed unnecessary lines which confuses code readers
2022-02-25 08:08:50 -08:00
ChiaMineJPandGitHub 4494c66cf3 Update version prop in package.json of gui (#10192)
* Update version prop in package.json of gui

* Added type hints

* Fixed a lint error
2022-02-11 13:04:45 -08:00
ChiaMineJPandGitHub ab74bd0d1c Fixed an issue where LGTM on chia-blockchain-gui did not work (#9750)
* Fixed an issue where LGTM on chia-blockchain-gui did not work

* Added newline at end of the file

* Changed newline character to LF from CRLF
2022-01-10 20:56:46 -08:00
ChiaMineJPandGitHub 2bdc23c7c4 Fixed type annotation (#7445) 2021-07-13 10:40:17 -07:00
ChiaMineJPandGitHub 0fffed06f9 Support -f and -p options for plot creation via daemon API (#5209)
* Support -f and -p options for plot creation via daemon API

* use request.get for -f/-p options

* Added -c option handling

* Fixed lint error
2021-05-24 21:59:39 -07:00
ChiaMineJPandGitHub bc439fea7c Removed dead code (#5244) 2021-05-24 11:55:19 -07:00