* Fixed logging for fast bluebox timelord and added Visual Studio (.vs) to gitignore.
* Make black CI check happy
* Ran through another "black" reformat to pass CI
* preliminary setup with poetry
* don't worry about locking the poetry env for the exploration right now
* recover black config in pyproject.toml
* install.sh for linting workflow
* pull chiavdf version from poetry in install-timelord.sh
* activate etc in upload and lint workflow
* debug poetry show output on macos
* update to clvm-tools 0.4.4
* add back setproctitle
* catchup deps
* lock
* allow 3.10
* debug
* make Install.ps1 use poetry as well
* -ErrorAction Ignore
* more todo about python version selection
* make install-timelord.sh modifications more posix compliant
* gitignore .penv* and .venv* as well
* remove requirements.penv.txt
* get artifact check requirements from poetry
* fix .gitignore for venv symlink
* separate out poetry setup
* :
* comment out code to be worked on
* setup poetry for dependency check
* ignore new poetry symlink
* chia_rs==0.1.4
* a few updates
* some missed updates `:[`
* update some types libs
* fix extras
* activate
* just use `python` somewhere
* for windows
* less symlinking for windows
* oops
* s
* more
* # shellcheck disable=SC2086
* activate action
* more python version
* lock up
* include ipython (for python >=3.8)
* add miniupnpc extra
* add poetry-dynamic-versioning
* type it out
* better match dev versioning
* catch up and delete setup.py again
* lock
* add pytest-cov
* .penv/bin/poetry
* .venv for windows activation
* update pytest-xdist
* install upnp extra
* upnp
* quote
* maybe update some deps
* mandatory and string
* oops
* slighty tidy
* debug pip list
* debug
* pybind11 maybe instead?
* remove pip install debugging
* debug without upnp nor pypi.chia.net
* chiavdf==1.0.8
* bring back upnp
* re-enable upnp
* diagnostic exception reraise
* .exe?
* diagnostics
* .cmd...?
* light tidy
* more cleanup
* make dependency check script not cwd dependent for finding the poetry env
* correct sh substitution
* lock
* coverage 7
* todo cleanup
* poetry update
* interesting
* windows too
* support non-editable install via scripts again
* oops
* again
* sheesh
* fixup
* more
* more
* Update dependencies
* various pre-commit linter updates
* add pyupgrade to extras list
* use priority=supplemental instead of secondary
* Add in some missing deps
* update setuptools and pyinstaller to match main
* venv->.venv
* lint fixes
* update a few packages for 3.12 support
* get zstd from chia resource for python 3.12
* Adjustments to dynamic versioning
* experiments with versioning
* test fixes
Signed-off-by: Earle Lowe <e.lowe@chia.net>
* fixup last commit
* include upnp as extra when installing on windows
* include mozilla-ca as a package for the cacert.pem file
* some windows tweaks
* use SPECPATH as anchor path in pyinstaller.spec file
* Add lxml as dev dependency
* Fixup typo in lxml version
* Update some packages to resolve GH vuln reports
* Update more packages to resolve GH vulns
* Ignore pylint license in depedency checker
* match installation of the dynamic version plugin on windows
* Fix issues with setting windows environment and use pip to install plugin per poetry docs recommendation
* properly apply non-editable option with -i
* use -f with ln to remove existing file as needed
* use shell=true for subprocess to help windows run chia if it's a .cmd
* Update .coveragerc
* use shutil.which() to find chia executable in a cross platform way
* mypy fixes
* Address conflicts for numpy based on python version
* Update lock file
* Remove troublesome reference to pypi source
* Add TODOs for manual install of poetry-dynamic-versioning plugin
* Use poetry dynamic versioning to figure out the version rather than setuptools_scm
* Update .github/workflows/reflow-version.yml
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* Update .github/workflows/test-single.yml
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* Update urllib3
* Attempts to get dynamic versioning to output something semver
* more versioning finangling
* lint pyproject.toml
* Update certifi
---------
Signed-off-by: Earle Lowe <e.lowe@chia.net>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
* mypy: Build `mypy.ini` config with exclusions dynamically
* Apply suggestions from code review
* Revert suggested `check=True` because `mypy` is expected to fails here
* Only `read_text` once
* Fix exception message
* Don't `touch`
* More `joinpath`
* Revert `newline="\n"`, its python 3.10 only
See https://bugs.python.org/issue23706
* Apply suggestions
* Fail if new issues get introduced
* Print the newly introduces issues
* Handle error codes
* Add `write_file`
* Use `sys.executable`
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* `mypy_failures[:-1]`
* Add an example comment
* Improve failure check
* Drop exclusions after rebase
* Drop one more exclusion after another rebase
---------
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* add cache to speed up manage_clvm/clvm_hex pre-commit check
* Update tools/manage_clvm.py
* add version to cache along with handling of incorrect versions
* force skipping the cache in ci
* preliminary testing of in-directory n on ubuntu always
* Use more n chiaminejp (#9971)
* Added n as a local npm dependency
* Fixed an issue where `install.sh` always tried to run `sudo apt install bc -y` even if `bc` is installed already
* Added validations and useful outputs for `start-gui.sh`
* Fixed lint error and use shell functions for readability
* Replace tags with spaces
* Skip installing python39 on RH like OS if it is already installed
* Fixed an issue where start-gui.sh failed silently if venv is not activated
* Suppressed message from pacman
* Support CentOS7
* Fixed typo
* Reduced unnecessary install messages
* Fixed end of file
* Added npm_global/__init__.py to pass CI
* Fixed lint errors
* Install python/sqlite from source on AMZN2. Clear old venv when changing python version on install
* Suppress unnecessary command outputs
* Suppress outputs
* Added centos7/8 to install test
* A minor fix
* Fixed yaml syntax error
* Fixed an issue where test-install-scripts failed in CentOS
Co-authored-by: ChiaMineJP <admin@chiamine.jp>
* rebase DID off main
* fix indentation and imports
* lint fixes
* fix test_compilation paths for new puzzles
* added _init__.py for did_wallet
* mypy typing fixes
* included did_wallet in setup.py module list
* stored pubkey & puzhash so that recovery_spend can choose not take them
* black missing comma
* change to coin ID calculation
* Generator_for_single_coin uses coin info to generate coin IDs live
* update sha256tree of generator for single coin
* Update changelog for more stringent coin ID calculation
Co-authored-by: matt <matt@chia.net>
Co-authored-by: Adam Kelly <aqk@aqk.im>
* GUI to a separate repo
* correct repo name, codeql to just python
* fetch-depth: 0 is indeed needed
* remove debug ls's
* Switch to a submodule
* update blockchain gitignore
* Return omitted cd to install-gui.sh
* 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](https://github.com/agronholm/cbor2/compare/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](https://github.com/grantjenks/python-sortedcontainers/compare/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](https://github.com/Chia-Network/clvm_tools/compare/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](https://github.com/Preston-Landers/concurrent-log-handler/compare/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](https://github.com/actions/upload-artifact/compare/v2.2.0...726a6dcd0199f578459862705eed35cda05af50b)
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](https://github.com/jaraco/keyring/compare/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>
* dbus alternative for linux
* key migration
* reset mnemonics
* Fix tests, and start working on key selection
* Implement UI for changing keys
* Removing keys and mnemonic button
* Start making farmer and harvester RPCs
* routing, daemon, react
* Fix rpc shutdown
* Harvester and farmer websocket, and basic UI
* Plot display and deletion
* use proper config:
* don't crash on nondefined
* local test false
* launch daemon on start
* farmer clean
* get blocks
* header table
* Start with farmer callback, fix bug in getting latest blocks
* State changes from full node, harvester, farmer, and full node ui improvements
* split balances in react
* pending change balance
* plotter
* dev config
* gitignore fail..
* maintain connection / retry
* Fix tests
* Remove electron-ui, and style fixes
* Better farmer and full node control
* Remove electron ui references
* Uncomment out starting the dameon
* Add to changelog
* Remove timelord tab, and change full node style
* Clean up new wallet login
* Refactor RPCs
* Fix flake8 import issues in full_node_rpc_server.py
* add balance split to coloured coin wallet
* spendable balance fix
* Import private key from UI fix
* Various fixes to transaction sending, and UI tweaks
* Fix merge issues
Co-authored-by: Yostra <straya@chia.net>
Co-authored-by: Lipa Long <lipa@chia.net>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
* clean react
* add material ui
* add word list
* mnemonic v0
* jeepney backup
* keychain usage
* wallet api
* mnemonic ui
* mnemonics redux state
* handle exceptions correctly
* dashboard
* wallets
* get puzzle hash
* tx history
* sidebar
* start stop wallet node
* use existing mnemonics
* status info
* create cc wallet
* theme should be outside of switch
* create offer
* dbus alternative for linux
* key migration
* don't autocomplete, don't reset simulator db
* reset mnemonics
* Refactor keychain, and key migration
* Implement UI for changing keys
* Removing keys and mnemonic button
* Start making farmer and harvester RPCs
* start rpx for simulator
* Harvester and farmer websocket, and basic UI
* Plot display and deletion
* launch daemon on start
* State changes from full node, harvester, farmer, and full node ui improvements
* split balances in react
* pending change balance
* plotter
* dev config
* maintain connection / retry
* Remove electron-ui, and style fixes
* Better farmer and full node control
* Remove electron ui references
* Uncomment out starting the dameon
* Remove timelord tab, and change full node style
* Clean up new wallet login
* Refactor RPCs
* Now that the GH runner uses python 3.7.7 - use for windows installer
* add balance split to coloured coin wallet
* spendable balance fix
* Import private key from UI fix
* mac build/installer
Co-authored-by: Mariano Sorgente <sorgente711@gmail.com>
Co-authored-by: Lipa Long <lipa@chia.net>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
C PoT improvements, partly using modified code from Flint/Antic
On Mon, Jan 13, 2020 at 11:03 PM Bill Hart <goodwillhart[at sign]googlemail.com> wrote:
Dear Bram Cohen,
I cannot relicense all of Flint and Antic as I don't own the copyright for all files.
However, I wrote the files you mention and therefore you can also use them under BSD 2-Clause. In addition, I hereby license you to use these files under the MIT license for your project. Please ensure that my copyright is retained on the files, as per the MIT license.
Best Wishes,
William Hart.
On Tue, 14 Jan 2020 at 01:10, Bram Cohen <bram[at sign]chia.net> wrote:
Hello Dr. Hart. As you likely already know in Chia's VDF implementation competition Antic and Flint were able to produce meaningful
improvements in how fast our VDF runs. We're now working on integrating those changes and making further improvements which we'd like
to upstream but we're having some licensing issues.
On all of Chia's code we use MIT, Apache2 and public domain. If you're willing to relicense using one of those or even relicense just the
following files that would be very helpful
https://github.com/wbhart/antic/blob/trunk/qfb/nudupl.chttps://github.com/wbhart/antic/commits/trunk/qfb/nucomp.chttps://github.com/wbhart/flint2/blob/trunk/fmpz/xgcd_partial.c
Please let me know what you think.
Thank you,
-Bram
* Switches to sqlite and remove all mongo stuff
* Starts RPC server on port 8555
* UI is in new process, communicates to node through rpc
* JSON serialization for streamables
* Harvester periodically prints its plot names and sizes
* Process names are set to chia_full node, chia_harvester, etc
* CONTRIBUTING.md, and remove docs from git (put in wiki)
* Adds the SmallHeaderBlock type, it's header block without the PoT and PoSpace
* Fix harvester bug (allows two harvesters in the same machine)