Commit Graph
13645 Commits
Author SHA1 Message Date
dependabot[bot] 438fbef26d build(deps): bump pip from 25.0.1 to 25.1.1 (#19581)
Bumps [pip](https://github.com/pypa/pip) from 25.0.1 to 25.1.1.
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/pip/compare/25.0.1...25.1.1)

---
updated-dependencies:
- dependency-name: pip
  dependency-version: 25.1.1
  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-05-23 11:09:02 -05:00
dependabot[bot] 0ad2baf33b build(deps): bump packaging from 24.2 to 25.0 (#19533)
Bumps [packaging](https://github.com/pypa/packaging) from 24.2 to 25.0.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/packaging/compare/24.2...25.0)

---
updated-dependencies:
- dependency-name: packaging
  dependency-version: '25.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-05-23 11:08:49 -05:00
dependabot[bot] 6a8a19dc69 build(deps): bump aiohttp from 3.11.16 to 3.11.18 (#19529)
---
updated-dependencies:
- dependency-name: aiohttp
  dependency-version: 3.11.18
  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-05-23 11:08:40 -05:00
Kyle Altendorf 90037473ac CHIA-364 use upstream miniupnpc (#18013)
* use upstream miniupnpc

* >=
2025-05-23 11:08:30 -05:00
Richard Kiss e4ccb8024f Fix chia.util <= chia.server dependency (#19629)
Move `get_unresolved_peer_infos` and `set_peer_info` from
`chia.util.config` to `chia.server.resolve_peer_info.py` so that
`chia.util` no longer depends upon `chia.server`.
2025-05-23 09:06:11 -05:00
dependabot[bot] b23c3c22d6 build(deps): bump ruff from 0.11.5 to 0.11.10 (#19621)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.11.5 to 0.11.10.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.11.5...0.11.10)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.11.10
  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-05-22 17:58:37 -05:00
dependabot[bot] ae0215c651 build(deps): bump types-setuptools from 78.1.0.20250329 to 80.7.0.20250516 (#19623)
build(deps): bump types-setuptools

Bumps [types-setuptools](https://github.com/typeshed-internal/stub_uploader) from 78.1.0.20250329 to 80.7.0.20250516.
- [Commits](https://github.com/typeshed-internal/stub_uploader/commits)

---
updated-dependencies:
- dependency-name: types-setuptools
  dependency-version: 80.7.0.20250516
  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-05-22 17:58:27 -05:00
Almog De Paz 434cb8136c dont skip same peak if in unfinished cache (#19626)
* dont skip same peak if in unfinished cache

* lint

* fix same block in test

* lint
2025-05-22 11:30:03 -05:00
dependabot[bot] d1debfa0ed build(deps): bump setuptools from 78.1.0 to 80.8.0 (#19622)
Bumps [setuptools](https://github.com/pypa/setuptools) from 78.1.0 to 80.8.0.
- [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/v78.1.0...v80.8.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 80.8.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-05-22 11:29:43 -05:00
dependabot[bot] 95df444407 build(deps): bump pyinstaller from 6.12.0 to 6.13.0 (#19514)
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller) from 6.12.0 to 6.13.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.12.0...v6.13.0)

---
updated-dependencies:
- dependency-name: pyinstaller
  dependency-version: 6.13.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-05-22 11:29:35 -05:00
Richard Kiss 386787fb51 Move dump_keyring.py to remove dep chia.util => chia.cmds (#19600) 2025-05-22 10:17:54 -05:00
Kyle Altendorf e81b213b9a tweak chia dev data sync-time (#19548) 2025-05-16 10:13:14 -04:00
Richard Kiss 6b88ae31a1 More significant digits in block_rate (#19608) 2025-05-16 10:12:41 -04:00
Kyle Altendorf f3d5dae4a9 poetry lock (#19610) 2025-05-16 10:12:24 -04:00
Chris Marslender c5c654000b checkpoint: into main from release/2.5.4 @ 78ccd69885 (#19601)
Source hash: 78ccd69885
Remaining commits: 2
2025-05-14 15:12:45 -05:00
Amine Khaldi 1439d1d485 Merge commit '78ccd6988581a387e943e67e88dea68e471838bf' into checkpoint/main_from_release_2.5.4_78ccd6988581a387e943e67e88dea68e471838bf 2025-05-13 15:49:59 +01:00
Amine Khaldi e66dc62e08 CHIA-2862 Adapt test_check_removals_with_block_creation to cover both block generator creation versions (#19585)
Adapt test_check_removals_with_block_creation to cover both block generator creation versions.
2025-05-13 08:14:23 -04:00
Earle Lowe d64bff18bf Tighten chia_rs version spec to >=0.22, <0.23 (#19593)
* Tighten chia_rs version spec

* avoid ^ due to poetry docs and be explicit
2025-05-13 08:13:40 -04:00
Chris Marslender 18dfa2cefe checkpoint: into main from release/2.5.4 @ baceeb8417 (#19598)
Source hash: baceeb8417
Remaining commits: 3
2025-05-13 07:13:22 -05:00
Amine Khaldi 8342362583 Merge commit 'baceeb841754e5079df58257c2b3d1ba25c4d4c0' into checkpoint/main_from_release_2.5.4_baceeb841754e5079df58257c2b3d1ba25c4d4c0 2025-05-12 13:54:37 +01:00
Richard Kiss 20a0d934cb Move ssl_check.py to chia/ssl (#19596) 2025-05-12 08:53:18 -04:00
Richard Kiss c800e06ac4 Remove the dependency of chia.consensus on the module chia.types (#19590)
* Move `chia/types/spend_bundle.py` to wallet.

* Move `compute_additions` functions into wallet.

* Move `chia/types/eligible_coin_spends.py` to `chia/full_node`.
2025-05-09 13:56:01 -05:00
dependabot[bot] 041e392508 build(deps): bump lxml from 5.3.2 to 5.4.0 (#19553)
Bumps [lxml](https://github.com/lxml/lxml) from 5.3.2 to 5.4.0.
- [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.2...lxml-5.4.0)

---
updated-dependencies:
- dependency-name: lxml
  dependency-version: 5.4.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-05-09 13:50:45 -05:00
Arvid Norberg 1a272368c6 additional test for is_clvm_canonical() (#19595) 2025-05-09 11:38:25 -05:00
Kyle Altendorf 49e043e073 Update CODEOWNERS (#19592)
<!-- Merging Requirements:
- Please give your PR a title that is release-note friendly
- In order to be merged, you must add the most appropriate category
Label (Added, Changed, Fixed) to your PR
-->
<!-- Explain why this is an improvement (Does this add missing
functionality, improve performance, or reduce complexity?) -->

### Purpose:

<!-- Does this PR introduce a breaking change? -->

### Current Behavior:

### New Behavior:

<!-- As we aim for complete code coverage, please include details
regarding unit, and regression tests -->

### Testing Notes:

<!-- Attach any visual examples, or supporting evidence (attach any
.gif/video/console output below) -->
2025-05-09 11:38:04 -05:00
Chris MarslenderandEarle Lowe f6f581d4cb checkpoint: into main from release/2.5.4 @ 0fb511b2f6 (#19589)
Enable Keccak for 2.5.4 (#19563)

* Backport enabling Keccak by default for wallet

* Keep ENABLE_KECCAK when not using mempool_mode

Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
2025-05-09 11:37:49 -05:00
Amine Khaldi 4ec5a84034 Merge commit '0fb511b2f67d40a9499adce4eec2fda5d6464cea' into checkpoint/main_from_release_2.5.4_0fb511b2f67d40a9499adce4eec2fda5d6464cea 2025-05-08 21:56:07 +01:00
Richard Kiss 44643084b0 Move augmented_chain.py and prev_transaction_block.py to chia/consensus (#19587) 2025-05-08 15:11:31 -05:00
Chris MarslenderandArvid Norberg 480b2d632d checkpoint: into main from release/2.5.4 @ 5e0a0df94a (#19586)
Improve dedup (#19565)

* improve dedup

* address review comments

Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
2025-05-08 15:11:03 -05:00
Amine Khaldi 02a89cd356 Merge commit '5e0a0df94a261b84b6b940fd661c7be4b49f01a6' into checkpoint/main_from_release_2.5.4_5e0a0df94a261b84b6b940fd661c7be4b49f01a6 2025-05-07 21:35:22 +01:00
Almog De Paz 8df25ca376 CHIA-1655: add test_add_unfinished_block_with_generator_refs (#19570)
<!-- Merging Requirements:
- Please give your PR a title that is release-note friendly
- In order to be merged, you must add the most appropriate category
Label (Added, Changed, Fixed) to your PR
-->
<!-- Explain why this is an improvement (Does this add missing
functionality, improve performance, or reduce complexity?) -->

### Purpose:

<!-- Does this PR introduce a breaking change? -->

### Current Behavior:

### New Behavior:

<!-- As we aim for complete code coverage, please include details
regarding unit, and regression tests -->

### Testing Notes:

<!-- Attach any visual examples, or supporting evidence (attach any
.gif/video/console output below) -->
2025-05-07 09:26:32 -05:00
Chris Marslender a0ceee1d67 checkpoint: into main from release/2.5.4 @ 8ec82c578e (#19576)
Source hash: 8ec82c578e
Remaining commits: 6
2025-05-07 09:26:09 -05:00
Amine Khaldi 5090723479 Merge commit '8ec82c578e3a98462b5a3e5cf5bf8fc5316f1358' into checkpoint/main_from_release_2.5.4_8ec82c578e3a98462b5a3e5cf5bf8fc5316f1358 2025-05-06 21:10:01 +01:00
Chris Marslender a8a30e3541 checkpoint: into main from release/2.5.4 @ b4ad4cf8d6 (#19575)
Source hash: b4ad4cf8d6
Remaining commits: 7
2025-05-06 14:48:46 -05:00
Amine Khaldi e4069e606c Merge commit 'b4ad4cf8d6883a99bb7bcbd1eb7792b5839d4061' into checkpoint/main_from_release_2.5.4_b4ad4cf8d6883a99bb7bcbd1eb7792b5839d4061 2025-05-06 20:30:20 +01:00
Chris Marslender 9f14c5dfff checkpoint: into main from release/2.5.4 @ 6ab2a4b7c5 (#19574)
Source hash: 6ab2a4b7c5
Remaining commits: 8
2025-05-06 14:05:59 -05:00
Amine Khaldi 4aa2982df1 Merge commit '6ab2a4b7c5a48fdd3c2ac551afa91d89cceae3ba' into checkpoint/main_from_release_2.5.4_6ab2a4b7c5a48fdd3c2ac551afa91d89cceae3ba 2025-05-06 17:42:41 +01:00
matt-o-how 8f0e8e4b0b Improve the serialisation of AddressManager (#19467)
<!-- Merging Requirements:
- Please give your PR a title that is release-note friendly
- In order to be merged, you must add the most appropriate category
Label (Added, Changed, Fixed) to your PR
-->
<!-- Explain why this is an improvement (Does this add missing
functionality, improve performance, or reduce complexity?) -->

### Purpose:
This PR is an optimisation for the way that AddressManager and
ExtendedPeerInfo are serialized, which happens periodically in a task
called from node_discovery.py

As well as the format of the serialization, the serialization algorithm
itself has had a multitude of speedups, including removing redundant
loops, minimising allocations, and so on.

<!-- Does this PR introduce a breaking change? -->

### Current Behavior:

Previously we were serialising ExtendedPeerInfo as a string and
AddressManager as an `@streamable` `.to_bytes()`.
Copying all the data to this class was taking a deal of time.

The serialising function also had a lot of complicated pieces of
redundant code, looping over data multiple times when 1 pass might do.

### New Behavior:

This PR instead serialises AddressManager directly using a bytearray,
and refactors the code to reduce the complexity and number of loops.

More comments have been added in this area of the codebase as well.

### Testing Notes:

This PR includes a new benchmark file for the AddressManager's
serialisation.
Here are my personal results comparing this PR with `main`:

On main: `Average serialize time:   1.544302 seconds`
Sum of my optimisations: `Average serialize time:   0.468669 seconds`

Feel free to run `benchmarks/address_manager_store.py` to see for
yourself.

I have also added in a migration test in
`chia/_tests/core/full_node/test_address_manager.py` which creates an
old serialisation, loads it using the current loading code, then
serialises it using the new serialization, and then loads that.
It is also checked at each step along the way to ensure that the
serialisation has remained good.
<!-- Attach any visual examples, or supporting evidence (attach any
.gif/video/console output below) -->
2025-05-06 11:23:30 -05:00
Chris Marslender 7020ba7ac8 checkpoint: into main from release/2.5.4 @ 2dedd07056 (#19573)
Source hash: 2dedd07056
Remaining commits: 9
2025-05-06 11:23:02 -05:00
Amine Khaldi 6c5a469cf8 Merge commit '2dedd070567bc51a99184f9018d23aa9f44b75ed' into checkpoint/main_from_release_2.5.4_2dedd070567bc51a99184f9018d23aa9f44b75ed 2025-05-05 22:01:41 +01:00
Chris MarslenderandKyle Altendorf 591713acb8 checkpoint: into main from release/2.5.4 @ ab533b451e (#19571)
Fix double slashes in s3 urls (#19443) (#19562)

(cherry picked from commit b7f029e3f5)

Co-authored-by: Kyle Altendorf <sda@fstab.net>
Co-authored-by: Chris Marslender <chrismarslender@gmail.com>
2025-05-05 12:59:16 -07:00
Amine Khaldi 94aa996c5e Merge commit 'ab533b451ed0d3f0a7c12e2b4186ae2cb4180ddb' into checkpoint/main_from_release_2.5.4_ab533b451ed0d3f0a7c12e2b4186ae2cb4180ddb 2025-05-05 17:17:28 +01:00
Chris MarslenderandKyle Altendorf a129fbe619 checkpoint: into main from release/2.5.4 @ 685ff9514d (#19564)
release 2 5 4 windows build (#19561)

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2025-05-05 06:45:17 -07:00
Arvid Norberg 78ccd69885 use monotonic clock when timing functions in harvester (#19567) 2025-05-05 08:44:44 -05:00
Arvid Norberg baceeb8417 improve logging and timing around block validation (#19566) 2025-05-02 09:59:37 -07:00
Earle Lowe 0fb511b2f6 Enable Keccak for 2.5.4 (#19563)
* Backport enabling Keccak by default for wallet

* Keep ENABLE_KECCAK when not using mempool_mode
2025-05-02 09:59:23 -07:00
Arvid Norberg 5e0a0df94a Improve dedup (#19565)
* improve dedup

* address review comments
2025-05-02 09:58:46 -07:00
Amine Khaldi 8ec82c578e Optimize mempool's removals checking (#19560)
Optimize mempool's removals checking.
2025-05-01 12:15:15 -07:00
Arvid Norberg b4ad4cf8d6 back-port improved logging of timing in block validation (#19546) 2025-05-01 10:05:55 -07:00
Arvid NorbergandAlmog De Paz 6ab2a4b7c5 fix tl node peak sync (#19389) (#19445)
* fix tl node peak sync

* revert pytest change

* add weight check, rearrange cases

* comments, logs

* logs

* fix condition

Co-authored-by: Almog De Paz <almogdepaz@gmail.com>
2025-05-01 10:05:26 -07:00