Arvid Norberg and GitHub
09654aebd0
cache master SK to local SK and pool SK key derivations ( #20347 )
...
cache master SK to local SK and pool SK key derivations in BlockTools and plot manager cache. This speeds up some tests
2025-12-12 09:29:38 -08:00
Matt Hauff and GitHub
40db4635a8
[LABS-245] Enable PEP604 Ruff rules ( #20269 )
...
* Enable PEP604 Ruff rules
* Fix harcoded signature in test
* Hack CLVMStreamable test with note to fast follow
2025-11-18 12:34:00 -08:00
Arvid Norberg and GitHub
5664516dda
Bump chia rs 0.34.0 ( #20226 )
...
bump chia_rs to 0.34.0
2025-11-10 17:02:10 -07:00
Arvid Norberg and GitHub
18fd65d13b
pass along plot format version from ProverProtocol into ProofOfSpace ( #19930 )
...
pass along plot format version from ProverProtocol into ProofOfSpace objects
2025-08-14 12:31:07 -07:00
Almog De Paz and GitHub
19a8329cbe
Plotmanager v2 ( #19832 )
...
* prover protocol and v2Prover
* format name
* format
* refactor filename
* tests/raise unimplemented
* add get_filename_str to mock
* rename methods
* rename
* refactor
* improve coverage
* test from bytes
2025-07-30 11:05:52 -07:00
Kyle Altendorf and GitHub
7a26610e8f
less pre-inting for ints ( #19853 )
2025-07-23 13:18:04 -07:00
Kyle Altendorf and GitHub
d50b6e0883
use chia_rs directly for sized bytes ( #19326 )
2025-02-28 09:35:25 -08:00
Kyle Altendorf and GitHub
e446d6b726
use chia_rs directly for sized ints ( #19303 )
...
* use chia_rs directly for sized ints
* Update data_layer_rpc_api.py
2025-02-24 14:33:09 -08:00
Kyle Altendorf and GitHub
9c8557a1f8
Remove Python 3.8 support and update source to 3.9 standards ( #18687 )
...
* manual python 3.8 removals
* poetry
* pyupgrade
* black
* isort
* manually tidy imports
* work around shadowed type
* catch up build network protocol files for pyupgrade changes
* placate pylint
* re-enable 20.04
* placate flake8
2024-10-16 14:21:15 -07:00
Matt Hauff and GitHub
3637bd33c6
Delete chia.util.misc ( #18170 )
...
* Move VersionedBlob to chia.util.streamable
* Move format_bytes to chia.cmds.cmds_util
* Move format_minutes to chia.cmds.cmds_util
* Move prompt_yes_no to chia.cmds.cmds_util
* Move get_list_or_len to from chia.plot_sync.receiver
* Move validate_directory_writable to chia.cmds.cmds_util
* Move *termination_signals to test_services
* Move UInt*Range to chia.util.streamable
* Create chia.util.batches
* Create chia.server.signal_handlers
* Create chia._tests.util.split_managers
* Move ValuedEvent to chia.types.transaction_queue_entry
* Move available_logical_cores to chia.util.cpu
* Move caller_file_and_line to chia._tests.util.misc
* Move satisfies_hint to chia._tests.wallet.test_singleton_lifecycle_fast
2024-06-18 08:27:17 -05:00
neurosis69 and GitHub
ffc11cd79c
extend measured sizes for plot check with value for k39 ( #17239 )
...
added values for k39 plot size
2024-01-12 12:15:54 -06:00
wjblanke and GitHub
101f1aa9e4
add measured sizes for plot check ( #16830 )
2024-01-05 16:13:16 -08:00
Arvid Norberg and GitHub
95e5b97557
Use bls from chia rs ( #16715 )
...
* replace blspy imports with chia_rs imports for BLS types
* remove blspy-stubs, since we're dropping the blspy dependency. chia_rs has type stubs already
2023-11-07 09:06:52 -08:00
Kyle Altendorf and GitHub
90c1441af0
apply pyupgrade --py38-plus --keep-runtime-typing ( #14646 )
2023-10-24 12:01:23 -05:00
Izumi Hoshino and GitHub
85d14f561a
Added compression level and harvesting mode to harvester protocol/mes… ( #15776 )
...
* Added compression level and harvesting mode to harvester protocol/messages
* Added test
* Fixed lint error
2023-07-18 16:24:56 -05:00
Arvid Norberg and GitHub
27cbd08229
Factor out member functions of ProofOfSpace to be free functions ( #13930 )
2022-11-17 13:46:22 -06:00
Kyle Altendorf and GitHub
3b084a165b
configure isort to add the future annotations import ( #13327 )
...
* configure isort to add the future annotations import
* apply the new isort setting
* remove type ignores for new mypy (#13539 )
https://pypi.org/project/mypy/0.981/
* another
2022-09-30 03:40:22 -05:00
dustinface and GitHub
ec059e9a4f
harvester: Some log updates ( #13508 )
...
* Log the number of cache entries and the time it took to parse them
* Log `started` and `done` as `INFO` and `batch_processed` as `DEBUG`
* Log the plot found message with `DEBUG` level
* Some additional debug logs in `new_signage_point_harvester`
2022-09-29 14:53:06 -05:00
Kyle Altendorf and GitHub
bbd032e1c9
embrace click 8 ( #13559 )
...
* click==8.1.3, black==22.8.0
* black
* click option creator hinting
* ignores for to-be-resolved issue
* remove unused import
2022-09-29 11:24:36 -05:00
dustinface and GitHub
0df4d8cbe4
setup|plotting: chiapos==1.0.11 + drop invalid cache entries ( #13502 )
...
* Bump `chiapos` to `1.0.11`
* Drop invalid cache entries
2022-09-23 17:30:30 -05:00
Kyle Altendorf and GitHub
90516263aa
remove chia.util.path.mkdir() ( #10842 )
...
* remove chia.util.path.mkdir()
* remove submodule change
* less tmpdir, more tmp_path
2022-06-08 10:24:40 -05:00
dustinface and GitHub
15c51434f3
plotting|util: plotting.cache.DiskCache -> util.misc.VersionedBlob ( #11587 )
2022-05-24 16:20:38 -07:00
dustinface and GitHub
1e7703fe6a
plotting|tests|setup: Improve PlotManager cache ( #9903 )
...
* plotting|tests: Extend the lifetime of plot data cache entries
* plotting|tests: Add `prover` and `farmer_public_key` to the cache
* plotting: Missing type hints in `Cache` and `CacheEntry`
* setup: Bump `chiapos` to 1.0.10
* plotting: Move cache classes into `chia.plotting.cache`
* plotting: Introduce `CacheEntry.from_disk_prover`
* Make `Cache` a dataclass
* `staticmethod` -> `classmethod`
* Store cache data as `bytes` in `DiskCache`
2022-04-20 11:08:35 -07:00