* tests: Add missing result assertions in `test_farmer_harvester_rpc.py`
I forgot to add those in 0b0edd11a1.
* tests: Introduce `test_refresh_results`
This is just some refactoring to simplify the result checks.
* tests: Add comment with the reason for the unusual test behaviour
* end of day for a start into the set -> tree data layer transition
* data layer node first/rest split to left/right and key/value
* data layer can maybe insert into a tree
* Apply suggestions from code review
* add DataStore.get_tree_as_program(), and misc
* pass data store balanced 4KV build
* data store query parent -> tree from root hash
* DataStore.get_heritage() (and misc)
* DataStore.get_pairs()
* data store fail on insert of already present key
* Fixes cherry-picked from fix_keyring_tests.
* Logging for the failing test_using_legacy_cryptfilekeyring test
* See if reordering the tests makes a difference.
* Revert "See if reordering the tests makes a difference."
This reverts commit b53807880b.
* Log changes to the _configure_legacy_backend patch
* Fixed patching
* Checking if something isn't cleaned up properly
* Revert "Checking if something isn't cleaned up properly"
This reverts commit ce995ba773.
* Revert "Fixed patching"
This reverts commit 66a70a16ff.
* Revert "Log changes to the _configure_legacy_backend patch"
This reverts commit 26791a40b7.
* Revert "Logging for the failing test_using_legacy_cryptfilekeyring test"
This reverts commit 4fd4873565.
* Move test_keyring_wrapper.py into a standalone test
* Small refactorings/changes per feedback
* Before calling gethostbyname(), check to see if we already have an address.
That prevents an unnecessary call, and also allows for specifying IPv6
addresses which otherwise cause exceptions here.
* Also recognize addresses when passed to timelord spawn_process, so that
IPv6 addresses can be used.
* Missed importing PeerInfo
* Adjust style to match requirements and existing code
* Cast PeerInfo port to uint16
* Allow experimental use of clvm_tools_rs via env var
* Final version of load_clvm. handle module paths
* Fix some lint hopefully
* Opps
* lint
* More lint
* black format
* farmer|tests: Update cache more frequent for `test_get_harvesters`
* tests: Increase interval between harvester checks
To avoid spamming logs by excessive plot refreshing and cache updates.
* tests: Log error messages if `get_harvesters` returns unexpected data
* tests: Trigger plot refresh on the harvester in `test_get_harvesters`
* tests: Don't assert in `test_refresh_callback`
This lead to a crash of the plot refreshing thread and with this it
silently failed. With this change its at least possible to see which
value is incorrect.
* Fix to allow migration of keys on macOS
* Fixed file_keyring synchronization test failures on macOS.
Fixed sporadic test failures on macOS when fsevents are delivered for the keyring after deletion.
TempKeyring-based tests now patch supports_os_passphrase_storage() to return False.
* Fixed LGTM issues
* Re-added the cleaning up temp keychain statement. This is being removed in a separate PR.
* Windows keyring passphrase support
* Test tweaks for Windows (mostly to support my slow VM)
* Linter fixes
* Restored prompt_for_passphrase() function which was accidentally removed during a rebase.
* Added CHIA_PASSPHRASE_SUPPORT env variable to allow more testing
* Add points found 24h to CLI reporting
The points_found_24h seems to include more data than that so first it
gets filtered down to the past 24 hours. This additionally affects the
existing percent successful points 24 hours number. Which is actually
the percent of partials successful, not points. This could differ a bit
if the difficulty is changed during the relevant period.
* remove 24 hour data truncation
To be handled by #7906 or similar.
https://github.com/Chia-Network/chia-blockchain/pull/7906
* cleanup
* shorten lines for linting
* success_pct = 0.0 for mypy
* truncate points_found_24h to 24 hours at each signage point
* remove extra blank line
* truncate both points_found_24h and points_acknowledged_24h to 24 hours
* also strip pool_errors_24h down to 24 hours
* Revert "also strip pool_errors_24h down to 24 hours"
This reverts commit 69183c1938.
* move 24h truncation to after pool communication
* truncate 24h lists after notifying harvester of signage point
* add testing for 24h age-out
* actually query pool state through the API
* Add return hint for strip_old_entries()
* remove unused Sequence import
* tests: Use `time_out_assert` to wait for plot refreshing
* tests: Make `plot_manager` member of `BlockTools`
This also:
- Moves some code
related to refreshing into `BlockTools.refresh_plots`.
- Moves setting the public keys of `PlotManager` into `setup_keys.
* tests: Directly use the plot info, don't create a sorted list upfront
* tests: Refactor a loop to use `values` instead of `items`
* plotting: Return paths of created and existed plots in `create_plots`
* tests: Introduce `new_plot` in `BlockTools`
* tests: Use `BlockTools.new_plot` in `TestPoolWalletRpc`
* tests: Allow and fix `flake8` validation in `test_pool_rpc.py`
* tests: Introduce `BlockTools.delete_plot` and use it in pool tests
* tests: Cleanup plots potentially left from a failed run in pool tests
* Add a test to check that we don't reorg subslots unless there is a new peak.
* Adds an additional check to protect from a race condition when adding a block right after a subslot.
* Change comment to trigger re-run of CI
* Powershell scripts to support installation from source.
* Update Install-gui.ps1
* Update Install-gui.ps1
* Linter fixes
* Revert "Linter fixes"
This reverts commit 8c4e073671.
* Linter fixes
* Minor textual changes. Updated encoding/line-endings to UTF-8/LF. Git on Windows should autocrlf as necessary.