wjblanke and GitHub
d473911454
revert to old bls no gil release until windows is sorted ( #11275 )
2022-04-22 11:37:17 -07:00
dustinface and GitHub
c0f3d4d231
daemon|util: Don't remove from list while iterating ( #11208 )
...
* daemon: Iterate over a copy of `websockets`
Currently when it fails to send the response to one websocket it skips
the next websocket in list becaue we remove from the list while
iterating.
* util: Iterate over a copy of `peers_with_peak`
Currently when a peer is closed it skips the check for the next peer in
the list becaue we remove from the list while iterating.
2022-04-22 10:55:57 -07:00
Arvid Norberg and GitHub
f9c4f1f96d
add tool to measure CPU utilization of a process tree ( #11264 )
...
* add tool to measure CPU utilization of a process tree and plot it over time
* make collecing thread counters optional
2022-04-22 10:53:53 -07:00
Chris Marslender and GitHub
7b838239a9
Additional metrics ( #11271 )
...
* Remove _set_state_changed_callback from harvester_api.py as its never actually called
In rpc/rpc_server.py:318, what is actually called is rpc_server.rpc_api.service._set_state_changed_callback, so the version of this in harvester.py is what is actually used
* Remove duplicate initial value for state_changed_callback in init
* _state_changed -> state_changed so it can be called from harvester_api as well
* Add farming info state_changed event from harvester
* Add time to farming_info event
* Add [pre_]validation_time to block event
* Remove unused set_state_changed_callback on full_node_api. This is actually called on full_node_rpc_api.service
* Remove unused set_state_changed_callback on crawler_api. This is actually called on crawler_rpc_api.service (crawler)
* Remove unused set_state_changed_callback on farmer_api. This is actually called on farmer_rpc_api.service (farmer), not the api itself
* Add state changed event for submitting a partial
* Lint fixes
2022-04-22 10:53:03 -07:00
dustinface and justinengland
3bff0764c9
harvester: Use a set instead of a list to speed up availability checks ( #11204 )
2022-04-22 09:29:45 -06:00
Kyle Altendorf and justinengland
ea8cc18a86
have pyinstaller check platlib for dll's, not ROOT ( #11120 )
2022-04-22 09:05:48 -06:00
Chris Marslender and justinengland
2e42233289
Testing postinst/prerm scripts with the UI .deb ( #11258 )
2022-04-22 09:05:39 -06:00
Chris Marslender and justinengland
b5a8ac3783
Add cli only rpm ( #11236 )
...
* Add cli only rpm
* Ensure rvm (fpm) is loaded before running fpm
* Use full path to fpm, since GHA seems to mess up the PATH in the container
* Add back source and add use ruby-3
* Call rpm script with bash, to see if the rvm script works
* Add --depends for libcrypt.so.1
2022-04-22 09:05:30 -06:00
Gene Hoffman and justinengland
547219b916
Remove 3.9.11 for Windows Installer ( #11226 )
...
And replace with just 3.9.x
2022-04-22 09:05:20 -06:00
068b68fb88
Bump actions/upload-artifact from 2 to 3 ( #11144 )
...
* Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Also update runner_templates
* Mark the github workspace as safe (#11159 )
* Mark the github workspace as safe
* Move the git config step after git is installed in the test containers
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com >
Co-authored-by: Chris Marslender <chrismarslender@gmail.com >
2022-04-22 09:05:10 -06:00
Kyle Altendorf and justinengland
e741fe14bf
remove setting of SCM_VERSION in install-version.py ( #11119 )
2022-04-22 09:04:59 -06:00
Kyle Altendorf and justinengland
ddab10c7d6
locate pyinstaller in dev deps rather than build scripts ( #11118 )
2022-04-22 09:04:45 -06:00
Kyle Altendorf and justinengland
6207da3278
Up Windows installer build timeout to 50 minutes ( #11107 )
...
Recent runs are mostly low 30s but some are close to 40 and one just timed out.
2022-04-22 09:04:33 -06:00
Florin Chirica and justinengland
dbedf1d8b6
Fix timelord closing. ( #10630 )
2022-04-22 09:04:20 -06:00
Kyle Altendorf and GitHub
48bb002d95
have pyinstaller check platlib for dll's, not ROOT ( #11120 )
2022-04-21 17:01:17 -07:00
Kyle Altendorf and GitHub
3c48224551
check dependency artifacts ( #11243 )
...
* check dependency artifacts
* remove commented out code
* find root path relative to script
* fixup stringy pathy mixup
* Update check_dependency_artifacts.py
2022-04-21 17:00:28 -07:00
dustinface and GitHub
7d11d54f89
plotting: Enable isort ( #11135 )
2022-04-21 17:00:00 -07:00
Chris Marslender and GitHub
077c8db1ff
Testing postinst/prerm scripts with the UI .deb ( #11258 )
2022-04-21 16:59:27 -07:00
Earle Lowe and GitHub
cb98258a8e
Check observer addresses ( #11259 )
2022-04-21 16:59:11 -07:00
dustinface and GitHub
2f477bb937
harvester: Tweak get_plots RPC ( #11246 )
2022-04-21 16:58:35 -07:00
Kyle Altendorf and GitHub
aaf3fbc160
generate file lists for workflows instead of wildcard patterns ( #11117 )
2022-04-21 16:58:07 -07:00
Chris Marslender and GitHub
527b30e917
Add cli only rpm ( #11236 )
...
* Add cli only rpm
* Ensure rvm (fpm) is loaded before running fpm
* Use full path to fpm, since GHA seems to mess up the PATH in the container
* Add back source and add use ruby-3
* Call rpm script with bash, to see if the rvm script works
* Add --depends for libcrypt.so.1
2022-04-20 21:39:51 -07:00
dustinface and GitHub
25ab0c90cb
github: Fix plot_sync workflows after #10940 merge ( #11241 )
2022-04-20 15:27:59 -07:00
William Blanke
ef3ac41f8b
updated bls and vdf to new releases
2022-04-20 11:52:23 -07:00
Adam Kelly and GitHub
8d510157d9
Improve detection of disconnected websocket between services ( #11069 )
2022-04-20 11:46:51 -07:00
Sebastjan Trepca and GitHub
fb6c537cfb
Use log formatter to avoid serialisation ( #11184 )
...
* avoid serialisation in logging
* avoid serialisation in logging
* Revert "avoid serialisation in logging"
This reverts commit 4a2b447396 .
2022-04-20 11:45:30 -07:00
Gene Hoffman and GitHub
797a2fb5fe
Remove 3.9.11 for Windows Installer ( #11226 )
...
And replace with just 3.9.x
2022-04-20 11:44:52 -07:00
dustinface and GitHub
21a968bec2
cmds: Only call is_running endpoint once in async_start ( #11221 )
2022-04-20 11:44:27 -07:00
dustinface and GitHub
553e46ab6d
harvester: Use a set instead of a list to speed up availability checks ( #11204 )
2022-04-20 11:43:31 -07:00
73cd386b87
optimize Program.curry() ( #11162 )
...
* optimize Program.curry()
* Add a comment for this curry implementation
* optimize Program.curry()
* Add comment
Co-authored-by: arty <art.yerkes@gmail.com >
2022-04-20 11:43:15 -07:00
dustinface and GitHub
cd9beaca0b
wallet: Some rollback fixes ( #11149 )
...
* Set `in_transaction` for `set_finished_sync_up_to`
* Call `clean_block_records` based on `in_transaction`
* Don't pop wallets in `reorg_rollback`, do it after it was commited
2022-04-20 11:42:58 -07:00
efbac6a05f
Bump actions/upload-artifact from 2 to 3 ( #11144 )
...
* Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Also update runner_templates
* Mark the github workspace as safe (#11159 )
* Mark the github workspace as safe
* Move the git config step after git is installed in the test containers
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com >
Co-authored-by: Chris Marslender <chrismarslender@gmail.com >
2022-04-20 11:40:51 -07:00
Adam Kelly and GitHub
b224e1dda6
Print MempoolInclusionStatus as string when reporting mempool inclusion status ( #11133 )
2022-04-20 11:39:38 -07:00
Adam Kelly and GitHub
d1f68daa0f
Correct "Older block not found" error message ( #11130 )
2022-04-20 11:38:29 -07:00
dustinface and GitHub
ee3bf4f866
farmer: Enable isort ( #11128 )
2022-04-20 11:37:46 -07:00
dustinface and GitHub
38cc36ca5f
harvester: Enable isort ( #11127 )
2022-04-20 11:37:05 -07:00
Kyle Altendorf and GitHub
1088801e73
Remove code related to no-longer-used websockets library ( #11123 )
...
* Remove logging tweak for no-longer-used websockets library
Follow up after https://github.com/Chia-Network/chia-blockchain/pull/10611 .
* Update pylintrc
* Update test_daemon.py
2022-04-20 11:18:42 -07:00
Kyle Altendorf and GitHub
6c8fa52daf
remove setting of SCM_VERSION in install-version.py ( #11119 )
2022-04-20 11:17:51 -07:00
Kyle Altendorf and GitHub
5b044ea497
locate pyinstaller in dev deps rather than build scripts ( #11118 )
2022-04-20 11:16:53 -07:00
dustinface and GitHub
ab282b5282
wallet: Drop unused WalletStateManager.get_derivation_index ( #11110 )
2022-04-20 11:14:48 -07:00
Kyle Altendorf and GitHub
93da3b727b
Up Windows installer build timeout to 50 minutes ( #11107 )
...
Recent runs are mostly low 30s but some are close to 40 and one just timed out.
2022-04-20 11:14:20 -07:00
f7e9e83e69
Optimize test_wallet_sync ( #11103 )
...
* Optimize test_wallet_sync
* Update tests/wallet/sync/test_wallet_sync.py
Co-authored-by: Kyle Altendorf <sda@fstab.net >
* Fix test
Co-authored-by: Kyle Altendorf <sda@fstab.net >
2022-04-20 11:13:55 -07:00
Earle Lowe and GitHub
a0c3c31125
Expose transaction sorting options to CLI ( #11090 )
2022-04-20 11:13:26 -07:00
dustinface and GitHub
f27cba07b0
farmer: Introduce UPDATE_POOL_INFO_FAILURE_RETRY_INTERVAL ( #11076 )
...
Retry to load the pool info with a 2 minutes interval if it failed.
2022-04-20 11:13:07 -07:00
Kyle Altendorf and GitHub
6287c83928
Correct wallet CLI sent/received indication ( #11006 )
...
* Correct wallet CLI sent/received indication
* extract dict to reusable global scope, plus a function
2022-04-20 11:12:32 -07:00
ca4881ff3e
Fix incorrect return in "rollback_to_block" ( #10954 )
...
* Add comments and fix a coin subscription bug
* Updated rollback test
* simplify test
* expand test
Co-authored-by: Mariano Sorgente <sorgente711@gmail.com >
2022-04-20 11:12:00 -07:00
Kyle Altendorf and GitHub
b9c9727b75
--module pytest ( #10940 )
2022-04-20 11:11:08 -07:00
dustinface and GitHub
cf1a328e03
wallet: Fix CATLineageStore creation in create_new_cat_wallet ( #10791 )
...
* Implement `test_cat_creation_unique_lineage_store()`
Make sure creating CAT wallets leads to unique lineage stores.
* Fix `CATLineageStore` creation in `create_new_cat_wallet`
We currently create the `CATLineageStore` before the new asset id exists
which leads to all CATs created by `create_new_cat_wallet` using the
same lineage store table:
`lineage_proofs_0000000000000000000000000000000000000000`.
* Create `CATLineageStore` in `generate_issuance_bundle`
2022-04-20 11:10:52 -07:00
Arvid Norberg and GitHub
743758c788
apply stricter mempool conditions (no garbage at the end of condition arguments). Fixup test ( #10737 )
2022-04-20 11:10:30 -07:00
Florin Chirica and GitHub
370ecd4f98
Fix timelord closing. ( #10630 )
2022-04-20 11:10:05 -07:00