* optimize get_block_generator()
* add a v1 compatible get_generator() to speed up get_block_generator() with v1 databases. Add test. Add error log in case generator_from_block() fails.
* speed up test_full_block_utils
* Daemon RPCs `start_service` and `is_running` will additionally check
self.connections to determine if the service is running. When launching
services manually (e.g. when debugging), the GUI was attempting to have
the daemon relaunch an already-running service.
* Update chia/daemon/server.py
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* Updates per feedback
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* Announcement hash should never be None
* Allow origin ID to be anywhere in the coin set
* mypy
* Change to for/else format
* Fix comment
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* Style change to loop
* tiny bad merge
* Add test
* Lint
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* shutdown the weight proof process pool
* use a context manager for the weight proof process pool executor
* record of the debug code
* mostly cleaned up
* suppress sync task cancellation propagation when awaited while closing
* breakup multi-second WeightProofHandler.validate_weight_proof with async sleeps
* move awaiting of sync task until after existing cancellation
* properly handle shutdown file with a new instance each time and a context manager
* cleanup
* pre-commit: Add a new hook to run `isort`
* contributing: Add hint about `isort`
* add isort to dev deps, ignore existing .py files, use black profile
* long list to lines not comma delimited
* isort: Update and sort ignore list to match latest `main`
* add bash command line to generate isort extend skip list (#3)
* add bash command line to generate extend skip list
* tidy
* isort: More files to ignore after rebase
* tests: Fix `test_wallet_user_store.py` after rebase
* Some fixes after rebase
Co-authored-by: Kyle Altendorf <sda@fstab.net>
* Adding build-linux-arm64-installer changes
* Adding changes to build installers to include short hash in dev artifact
* Fixing s3 dmg path for azure pipelines dev build
* Testing shell: bash for win workflow
* flipping slashes for bash env
* Formatting build windows installer workflow
* Reformatting build windows installer workflow
* Test CLI installer on Rocky
* Add Rocky support to install.sh
* Update test-install-scripts.yml
* oops
* also sudo for rocky install.sh testing
* fix indentation
* oops
* This patch enables fees for the plotnft commands - create, claim, join, and leave.
It also corrects a mismatch in the wallet code that appeared to expect Announcement objects, but actually required bytes.
* Update to using Announcement class. Publish both claim tx and fee tx for correct wallet accounting.
* Update keysearch for new wallet
* Update test for fee, and update wallet_id invariant
* Rename variable tracking coin in absorb SpendBundle
* Update RPC failure cmdline diagnostic
* Remove fee parameter in sign method. Add publish transaction method. Add entry in RPC API replies.
* Fix fee tx in absorb. Update absorb tests to test for fees
* conflict
* lint
Co-authored-by: William Blanke <wjb98672@gmail.com>
231ef6faf2/CHANGELOG.md
> Fixed issues where the wallet code would not generate enough addresses when looking for coins, which can result in missed coins due to the address not being checked. Deprecated the config setting initial_num_public_keys_new_wallet. The config setting initial_num_public_keys is now used in all cases.
* Add crawler RPC server
* Generate private keypair for crawler
* Bring over cleanup changes from the last closed PR
* Update the crawler RPC information to be its own subsection within seeder
* Add sleep before crawling to let the daemon connection get set up
* Wait for the actual callback to not be None, instead of just a random sleep interval
* Rework crawler/dns seeder to use the daemon + normal chia start process rather than the old system intended for the standalone repo
* Update configure testnet to work with seeder config
* Add back the crawler/seeder options from the standalone version
* Remove the check for none/sleep. Not needed when this is started by the daemon
* Add real data to the get_peer_counts endpoint
* Lint
* Fix calls to configure from init
* Turns out we still might sometimes move too quick before daemon/state changed callback is ready
* Add peer counts in the state_changed callback method
* Add a setting for peer_connect_timeout in the seeder: section so we can control it just for crawler
* start_seeder
* Pass config/root_path to the DNSServer so it can also use the configured crawler DB Path
* change in () instead of if/or
* Remove unnecessary return
* wallet fixes
* Don't show false positive synched
* Code cleanup and lint
* Fixes
* Revert issue
* Fix reorg issue
* WIP wallet node
* More wallet refactor
* More wallet changes
* More
* Fix subscription bugs
* Fix some tests
* Fix pool tests
* More tweaks
* Lint and small issues
* call update_ui at the correct points
* Small changes
* new peak queue
* Fix peer height issue
* Rollback more for safety, and tweak logging
* Small WSM style fixes
* Change fork point in long_sync
* More fixes with real world testing
* Fix reversed filter
* Fix function name
* Fix coin store bug properly
* Raise CancelledError
* Fix rollback issue
* Lint
* Small fix
* Fix CAT issue
* Fix test trades race condition
* Fix test trades race condition
* Try to reduce flakiness
* Test coin store and fix additional method
* Improve flakiness
* update db-upgrade test to run faster, and also parameterized on whether the hints table is present
* tolerate missing hints table in db conversion function
* 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>
state changes may be needed in the future, but for now the GUI will be
able to refresh wallet balances in response to offer soft-cancellation
and addition.