Commit Graph
14659 Commits
Author SHA1 Message Date
07ccc77676 Add ContextManager to FullNodePeers (#19427)
* convert AddressManager to dataclass

* type annotations for default factory code

* convert FullNodePeers and FullNodeDiscovery into dataclasses

* make WalletPeers also a dataclass

* typing fixes

* fix type parameters for generic type "Queue"

* context manage FullNodePeers

* Update chia/full_node/full_node.py

Co-authored-by: Kyle Altendorf <sda@fstab.net>

* remove init=false

* add coverage for node_discovery

* refactor full_node_peers entering context

* clear() uses same code as init() for matrices

* Update chia/server/address_manager.py

Co-authored-by: Kyle Altendorf <sda@fstab.net>

* Add functools import to address_manager.py

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2025-04-04 11:34:59 -05:00
Kyle AltendorfandGitHub bdcac366df use chia_rs directly for slots (#19468) 2025-04-04 07:35:06 -05:00
Matt HauffandGitHub 85a44bb4ab [CHIA-2636] Remove direct secret key access from pool wallet (#19446)
* Remove direct secret key access from pool wallet

* Remove now unusued cache

* Some hardcoded test fixes

* More test fixes

* Add comment
2025-04-03 15:34:14 -05:00
Matt HauffandGitHub a6a5a35c7d [CHIA-1251] Add puzzle hash generation to action scopes (#19283)
* (squash) Add puzzle hash generation to action scopes

* Add comment for unused/last_index
2025-04-03 15:34:07 -05:00
Amine KhaldiandGitHub 5d19675405 CHIA-2645 Remove no longer needed TestNodeLoad class (#19448)
Remove no longer needed TestNodeLoad class.
2025-04-03 09:34:13 -05:00
Arvid NorbergandGitHub e82987ab72 bump clvm to version 0.9.12 (#19464) 2025-04-03 08:55:34 -05:00
Amine KhaldiandGitHub a3c50ddc2e CHIA-2644 Annotate test_full_sync.py (#19447)
Annotate test_full_sync.py.
2025-04-02 12:17:47 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
45f85c25b5 build(deps): bump coverage from 7.6.12 to 7.8.0 (#19460)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.12 to 7.8.0.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.6.12...7.8.0)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-02 11:43:03 -05:00
Kyle AltendorfandGitHub e9df93197c correct proxy url hinting for datalayer downloads (#19461) 2025-04-02 09:38:24 -05:00
Arvid NorbergandGitHub 7aa76bc116 [CHIA-2540] Compute block cost (#19397)
* predict exact block cost, instead of re-running the generator

* fixup workflow for test-bundles

* fixup

* review comments
2025-04-02 09:37:45 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a073df2893 build(deps): bump psutil from 6.1.1 to 7.0.0 (#19452)
Bumps [psutil](https://github.com/giampaolo/psutil) from 6.1.1 to 7.0.0.
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst)
- [Commits](https://github.com/giampaolo/psutil/compare/release-6.1.1...release-7.0.0)

---
updated-dependencies:
- dependency-name: psutil
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 18:03:41 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f0825354f2 build(deps): bump boto3 from 1.37.1 to 1.37.25 (#19456)
Bumps [boto3](https://github.com/boto/boto3) from 1.37.1 to 1.37.25.
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](https://github.com/boto/boto3/compare/1.37.1...1.37.25)

---
updated-dependencies:
- dependency-name: boto3
  dependency-version: 1.37.25
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 18:03:30 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
435c17b57f build(deps): bump clvm-tools-rs from 0.1.45 to 0.1.48 (#19458)
Bumps [clvm-tools-rs](https://github.com/Chia-Network/clvm_tools_rs) from 0.1.45 to 0.1.48.
- [Release notes](https://github.com/Chia-Network/clvm_tools_rs/releases)
- [Changelog](https://github.com/Chia-Network/clvm_tools_rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Chia-Network/clvm_tools_rs/compare/0.1.45...0.1.48)

---
updated-dependencies:
- dependency-name: clvm-tools-rs
  dependency-version: 0.1.48
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 18:03:23 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d39a3ec422 build(deps): bump pytest-cov from 6.0.0 to 6.1.0 (#19459)
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 6.0.0 to 6.1.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v6.0.0...v6.1.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 18:03:15 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c8c2df34c7 build(deps): bump aiohttp from 3.11.11 to 3.11.15 (#19457)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.11.11 to 3.11.15.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.11.11...v3.11.15)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-version: 3.11.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 17:09:35 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7ac09cff87 build(deps): bump filelock from 3.17.0 to 3.18.0 (#19454)
Bumps [filelock](https://github.com/tox-dev/py-filelock) from 3.17.0 to 3.18.0.
- [Release notes](https://github.com/tox-dev/py-filelock/releases)
- [Changelog](https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.17.0...3.18.0)

---
updated-dependencies:
- dependency-name: filelock
  dependency-version: 3.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 17:07:53 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ba386c3502 build(deps): bump clvm from 0.9.11 to 0.9.12 (#19451)
Bumps [clvm](https://github.com/Chia-Network/clvm) from 0.9.11 to 0.9.12.
- [Release notes](https://github.com/Chia-Network/clvm/releases)
- [Changelog](https://github.com/Chia-Network/clvm/blob/main/HISTORY.org)
- [Commits](https://github.com/Chia-Network/clvm/compare/0.9.11...0.9.12)

---
updated-dependencies:
- dependency-name: clvm
  dependency-version: 0.9.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 17:07:42 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e16ddd614d build(deps): bump types-setuptools from 75.8.0.20250225 to 76.0.0.20250313 (#19403)
build(deps): bump types-setuptools

Bumps [types-setuptools](https://github.com/python/typeshed) from 75.8.0.20250225 to 76.0.0.20250313.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-setuptools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 13:37:58 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e496b82ec1 build(deps): bump pytest from 8.3.4 to 8.3.5 (#19346)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.4 to 8.3.5.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.4...8.3.5)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 11:56:35 -05:00
Chris MarslenderandGitHub b7f029e3f5 Fix double slashes in s3 urls (#19443) 2025-04-01 09:42:08 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
240ab0185f build(deps): bump dnslib from 0.9.25 to 0.9.26 (#19343)
Bumps [dnslib](https://github.com/paulc/dnslib) from 0.9.25 to 0.9.26.
- [Release notes](https://github.com/paulc/dnslib/releases)
- [Commits](https://github.com/paulc/dnslib/compare/0.9.25...0.9.26)

---
updated-dependencies:
- dependency-name: dnslib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 09:04:33 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
0109e00ff0 build(deps): bump aiosqlite from 0.20.0 to 0.21.0 (#19344)
Bumps [aiosqlite](https://github.com/omnilib/aiosqlite) from 0.20.0 to 0.21.0.
- [Changelog](https://github.com/omnilib/aiosqlite/blob/main/CHANGELOG.md)
- [Commits](https://github.com/omnilib/aiosqlite/compare/v0.20.0...v0.21.0)

---
updated-dependencies:
- dependency-name: aiosqlite
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 09:04:20 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4a4d6a4bce build(deps): bump chiavdf from 1.1.10 to 1.1.11 (#19348)
Bumps [chiavdf](https://github.com/Chia-Network/chiavdf) from 1.1.10 to 1.1.11.
- [Release notes](https://github.com/Chia-Network/chiavdf/releases)
- [Commits](https://github.com/Chia-Network/chiavdf/compare/1.1.10...1.1.11)

---
updated-dependencies:
- dependency-name: chiavdf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 09:03:02 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
eb96eeb2f5 build(deps): bump lxml from 5.3.0 to 5.3.1 (#19349)
Bumps [lxml](https://github.com/lxml/lxml) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-5.3.0...lxml-5.3.1)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 09:01:06 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
608bc77b2f build(deps): bump setproctitle from 1.3.4 to 1.3.5 (#19350)
Bumps [setproctitle](https://github.com/dvarrazzo/py-setproctitle) from 1.3.4 to 1.3.5.
- [Changelog](https://github.com/dvarrazzo/py-setproctitle/blob/master/HISTORY.rst)
- [Commits](https://github.com/dvarrazzo/py-setproctitle/compare/version-1.3.4...version-1.3.5)

---
updated-dependencies:
- dependency-name: setproctitle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 09:00:55 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30bbc80399 build(deps): bump jinja2 from 3.1.5 to 3.1.6 (#19358)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.5...3.1.6)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 09:00:13 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6f074590b7 build(deps): bump setuptools from 75.8.0 to 78.0.2 (#19432)
Bumps [setuptools](https://github.com/pypa/setuptools) from 75.8.0 to 78.0.2.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v75.8.0...v78.0.2)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 08:59:57 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Kyle Altendorf
bc2723e75d build(deps): bump poetry from 1.8.5 to 2.1.1 (#19321)
* build(deps): bump poetry from 1.8.5 to 2.1.1

Bumps [poetry](https://github.com/python-poetry/poetry) from 1.8.5 to 2.1.1.
- [Release notes](https://github.com/python-poetry/poetry/releases)
- [Changelog](https://github.com/python-poetry/poetry/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python-poetry/poetry/compare/1.8.5...2.1.1)

---
updated-dependencies:
- dependency-name: poetry
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* update poetry.lock

* install poetry-plugin-export per the poetry change

* undo subproject change

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2025-03-31 10:58:14 -05:00
Kyle AltendorfandGitHub 27d43831a9 add CHIA_DATA_LAYER_STOP_AFTER_GENERATION env var for timing tests (#19417) (#19436)
(cherry picked from commit 0c40219a57)
2025-03-31 09:19:25 -05:00
Kyle AltendorfandGitHub 4cdf86f2c0 ensure poetry version via install scripts (#19369)
* ensure poetry version via install scripts

* Update Setup-poetry.ps1
2025-03-31 09:18:59 -05:00
Kyle AltendorfandGitHub efe797e6bb use locked electron-builder for deb arm and windows builds (#19440) 2025-03-28 09:49:22 -05:00
Arvid NorbergandGitHub cf17f20ccf [CHIA-2052] Compressed blocks (#19270)
* introduce create_block_generator2() to mempool, which picks transactions and compresses them incrementally, allowing us to fill blocks even when compressing

* improve test, comment and pragma no cover

* fix mempool test

* simplify item selection logic in create_block_generator2()

* add test coverage of timeout in create_block_generator2()

* address review comments

* fixup
2025-03-27 12:42:46 -05:00
Arvid NorbergandGitHub 0c08b5050d bump chia_rs to 0.21.2 (#19434) 2025-03-27 12:42:26 -05:00
Zachary BrownandGitHub 950329682d checkpoint: into main from release/2.5.3 @ 51fff62b1e (#19438)
Source hash: 51fff62b1e
Remaining commits: 0
2025-03-26 15:35:12 -07:00
Amine Khaldi e96f2df670 Merge commit '51fff62b1ea26786aaf34c2084a5ff80b116a5b9' into checkpoint/main_from_release_2.5.3_51fff62b1ea26786aaf34c2084a5ff80b116a5b9 2025-03-26 21:46:13 +01:00
Zachary BrownandGitHub 9a677b118d checkpoint: into main from release/2.5.3 @ 5b3ec0224a (#19431)
Source hash: 5b3ec0224a
Remaining commits: 1
2025-03-26 13:13:05 -07:00
Amine KhaldiandGitHub 5121204c59 CHIA-2596 Simplify latest_singleton_coin checking in invariant_check_mempool (#19435)
Simplify latest_singleton_coin checking in invariant_check_mempool.
2025-03-26 13:11:29 -07:00
Amine KhaldiandGitHub 33567e3ffd CHIA-2577 Remove no longer needed TestFullSync class (#19412)
Remove no longer needed TestFullSync class.
2025-03-26 13:10:59 -07:00
Amine KhaldiandGitHub bcead290c4 CHIA-2545 Annotate test_wallet_rpc.py (#19375)
Annotate test_wallet_rpc.py.
2025-03-26 13:08:38 -07:00
Matt HauffandGitHub ad46ee2301 [CHIA-2546] Refactor and add test for WSM puzzle hash endpoints (#19385)
refactor puzzle hash requests
2025-03-26 13:08:00 -07:00
Amine Khaldi 7d90fd2d8c Merge commit '5b3ec0224a578318717696cbb8745b6d85e3c76c' into checkpoint/main_from_release_2.5.3_5b3ec0224a578318717696cbb8745b6d85e3c76c 2025-03-25 20:21:45 +01:00
Earle LoweandGitHub 51fff62b1e Fix changelog typo (#19429) 2.5.3 2025-03-25 10:14:23 -07:00
Earle LoweandGitHub 5b3ec0224a 2.5.3 changelog (#19424)
* 2.5.3 changelog

* Fix date of 2.5.2
2025-03-25 09:40:11 -07:00
Kyle AltendorfandGitHub 02f0a512a4 catchup: into long_lived/datalayer_merkle_blob from main @ 99448387ad (#19426)
Source hash: 99448387ad
Remaining commits: 0
2025-03-25 08:36:23 -04:00
Kyle Altendorf ed20dd60ed Merge commit '99448387ada5dd492d06261ab823c59c2a55b231' into catchup/long_lived_datalayer_merkle_blob_from_main_99448387ada5dd492d06261ab823c59c2a55b231 2025-03-24 17:44:35 -04:00
Kyle AltendorfandGitHub 99448387ad add the keys root path to ChiaCliContext (#19420)
* add the keys root path to `ChiaCliContext`

* tidy
2025-03-24 14:41:06 -07:00
Amine KhaldiandGitHub b900985ddf CHIA-2580 Significantly speedup mempool manager tests by not forcing them to request unneeded fixtures (#19414)
Don't force all mempool manager tests to request test_wallet and transactions_1000 fixtures.
2025-03-24 14:40:45 -07:00
Kyle AltendorfandGitHub e647f5ea82 avoid unneeded conversion to bytearray (#19422) 2025-03-23 15:48:35 -04:00
Kyle AltendorfandGitHub e8ed86d0fd datalayer compress for db (#19421)
compress the merkle blobs in the db
2025-03-22 11:41:51 -04:00
Kyle AltendorfandGitHub 26fcbe70e6 subdirectory for chia dev commands (#19418)
* move `chia dev` to its own subdirectory

* rename `dev.py` to `main.py`

* fixup

* more
2025-03-21 14:31:13 -07:00