Commit Graph
14659 Commits
Author SHA1 Message Date
Amine Khaldi d372c7ca5d Merge commit '7eb79c18941c40435e61a59fd5b2c1500bbbedc3' into checkpoint/main_from_release_2.5.2_7eb79c18941c40435e61a59fd5b2c1500bbbedc3 2025-03-10 14:46:45 +01:00
Arvid NorbergandGitHub 6358bab4c3 [CHIA-2383] improve FF mempool eviction (#19355)
* evict FF spends from the mempool if they become invalid with a new peak

* optimize fast-forward rebase in mempool new_peak()

* clean up tests, also test reversing spent coins in new_peak()

* extend mempool invariant check in tests

* fix typo in comment
2.5.3-rc1
2025-03-07 17:44:40 -06:00
92cd6eeb70 Add increment to skipped_items if we hit an Exception in mempool (#19286)
* add skip to exception

* fix test as last coin gets skipped

* Add skip to exception update (#19339)

* don't throw exception when skipping FF or Dedup coin in mempool

* skipping a dedup because of different solution is not an error

* correct logging and tests

* unit test skipping FF after 3 errors

---------

Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
2025-03-07 17:44:30 -06:00
Kyle AltendorfandGitHub 4d420065c1 datalayer: use rust (#19354)
<!-- 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-03-07 13:25:09 -05:00
Florin ChiricaandGitHub 3a1f70a9b4 Add fallback for introducer. (#19333)
* Add fallback for introducer.

* Lint.

* Lint.

* Lint.

* Fix test.

* Add test.

* Lint.:
2025-03-07 08:10:27 -08:00
Kyle Altendorf 5c83bf9604 cleanup python/rust compatibility hints 2025-03-06 14:32:17 -05:00
Arvid NorbergandGitHub 6707961abe [CHIA-2503] make the super set rule stricter (#19352)
* make the super set rule a stricter

* use BundleCoinSpend bools rather than the flags to determine whether a spend supports fast forward and dedup
2025-03-06 10:57:10 -08:00
Arvid NorbergandGitHub d0cdc440ef bump chia_rs to 0.21.1 (#19356) 2025-03-06 10:55:56 -08:00
Kyle Altendorf f1796ccb6a remove python merkle blob code 2025-03-06 13:17:39 -05:00
Kyle Altendorf 99fbfcf3eb datalayer: use rust 2025-03-05 16:45:56 -05:00
+1
Kyle AltendorfGitHubwjblankeAmine KhaldiArvid Norbergdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Earle LoweEarle Lowegithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>ChiaAutomationZachary Brown
85c47c6649 catchup: into long_lived/datalayer_merkle_blob from main @ 329ce24c89 (#19351)
* update pin to chia-blockchain-gui (#19292)

* Update the anchor against the checkpoint.

* mypy annotation for `test_dos.py` (#19036)

* remove unused function, get_block_path()

* add type annotation to test_dos.py

* use chia_rs directly for foliage (#19308)

* use chia_rs directly for weight proof (#19315)

* build(deps): bump ruff from 0.8.5 to 0.9.6 (#19260)

* build(deps): bump ruff from 0.8.5 to 0.9.6

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.8.5 to 0.9.6.
- [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.8.5...0.9.6)

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

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

* Update source to ruff 0.9.6

* Apply suggestions from code review

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>

* build(deps): bump mypy from 1.14.1 to 1.15.0 (#19319)

* build(deps): bump mypy from 1.14.1 to 1.15.0

Bumps [mypy](https://github.com/python/mypy) from 1.14.1 to 1.15.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.14.1...v1.15.0)

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

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

* adjust accordingly

* remove another

* and windows

---------

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>

* build(deps): bump pyinstaller from 6.11.1 to 6.12.0 (#19318)

Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller) from 6.11.1 to 6.12.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.11.1...v6.12.0)

---
updated-dependencies:
- dependency-name: pyinstaller
  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>

* use chia_rs directly for sized bytes (#19326)

* build(deps): bump keyring from 25.5.0 to 25.6.0 (#19150)

Bumps [keyring](https://github.com/jaraco/keyring) from 25.5.0 to 25.6.0.
- [Release notes](https://github.com/jaraco/keyring/releases)
- [Changelog](https://github.com/jaraco/keyring/blob/main/NEWS.rst)
- [Commits](https://github.com/jaraco/keyring/compare/v25.5.0...v25.6.0)

---
updated-dependencies:
- dependency-name: keyring
  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>

* build(deps): bump filelock from 3.16.1 to 3.17.0 (#19164)

Bumps [filelock](https://github.com/tox-dev/py-filelock) from 3.16.1 to 3.17.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.16.1...3.17.0)

---
updated-dependencies:
- dependency-name: filelock
  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>

* build(deps): bump pre-commit from 4.0.1 to 4.1.0 (#19166)

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v4.0.1...v4.1.0)

---
updated-dependencies:
- dependency-name: pre-commit
  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>

* build(deps): bump types-setuptools from 75.6.0.20241126 to 75.8.0.20250225 (#19320)

build(deps): bump types-setuptools

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

---
updated-dependencies:
- dependency-name: types-setuptools
  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>

* build(deps): bump boto3 from 1.35.90 to 1.37.1 (#19322)

Bumps [boto3](https://github.com/boto/boto3) from 1.35.90 to 1.37.1.
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](https://github.com/boto/boto3/compare/1.35.90...1.37.1)

---
updated-dependencies:
- dependency-name: boto3
  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>

* use chia_rs directly for pool target (#19332)

* address issue introduced in #19207 (#19328)

address issue introduced in #19207 where empty transaction blocks would not have None transactions_block_generator

* CA Cert updates (#19312)

adding ca updates

Co-authored-by: ChiaAutomation <automation@chia.net>

* bump chia_rs to 0.21.0 (#19337)

* bump chia_rs to 0.21.0

* update mempool tests with the new, stricter, rules

* use chia_rs directly for reward chain block (#19336)

* cache `get_unspent_lineage_info()` (#19335)

* no need to pass get_unspent_lineage_info_from_puzzle_hash function into create_bundle_from_mempool(), we already have it as a member now

* cache results from get_lineage_info_for_puzzle_hash()

* fix

* fixup

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: wjblanke <wjb98672@gmail.com>
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ChiaAutomation <automation@chia.net>
Co-authored-by: Zachary Brown <z.brown@chia.net>
2025-03-05 11:52:01 -05:00
Kyle AltendorfandGitHub 2a53889d9c correct datalayer side value types (#19330) 2025-03-05 09:30:51 -05:00
Kyle AltendorfandGitHub 5cf5d576a0 fix MerkleBlob.get_min_height_leaf() (#19340) 2025-03-05 09:30:37 -05:00
Kyle Altendorf 0eb2c76207 fixup 2025-03-04 17:12:27 -05:00
Kyle Altendorf 74c1e6deaa fix 2025-03-04 16:57:57 -05:00
Kyle Altendorf 7a6e9b3d12 Merge commit '329ce24c89e29f8c7f0d4a8bb4d04fc2b0438d95' into catchup/long_lived_datalayer_merkle_blob_from_main_329ce24c89e29f8c7f0d4a8bb4d04fc2b0438d95 2025-03-04 16:43:20 -05:00
Kyle AltendorfandGitHub b0700f3470 pin rust install version (#19341) 2025-03-04 14:56:24 -05:00
Zachary BrownandGitHub 329ce24c89 checkpoint: into main from release/2.5.2 @ edaeca621d (#19300)
Source hash: edaeca621d
Remaining commits: 2
2025-03-04 09:42:19 -08:00
Arvid NorbergandGitHub a7a81a567f cache get_unspent_lineage_info() (#19335)
* no need to pass get_unspent_lineage_info_from_puzzle_hash function into create_bundle_from_mempool(), we already have it as a member now

* cache results from get_lineage_info_for_puzzle_hash()
2025-03-04 09:05:41 -08:00
Kyle AltendorfandGitHub c57dea6512 use chia_rs directly for reward chain block (#19336) 2025-03-04 09:04:38 -08:00
Arvid NorbergandGitHub 4d244bb103 bump chia_rs to 0.21.0 (#19337)
* bump chia_rs to 0.21.0

* update mempool tests with the new, stricter, rules
2025-03-04 09:03:51 -08:00
b544e4c398 CA Cert updates (#19312)
adding ca updates

Co-authored-by: ChiaAutomation <automation@chia.net>
2025-03-04 08:56:49 -06:00
Arvid NorbergandGitHub 9ba6c0407b address issue introduced in #19207 (#19328)
address issue introduced in #19207 where empty transaction blocks would not have None transactions_block_generator
2025-03-04 08:42:03 -06:00
Kyle AltendorfandGitHub dd01af2c2b use chia_rs directly for pool target (#19332) 2025-03-03 09:34:02 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
45c1504938 build(deps): bump boto3 from 1.35.90 to 1.37.1 (#19322)
Bumps [boto3](https://github.com/boto/boto3) from 1.35.90 to 1.37.1.
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](https://github.com/boto/boto3/compare/1.35.90...1.37.1)

---
updated-dependencies:
- dependency-name: boto3
  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-02-28 10:57:08 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dec96585f1 build(deps): bump types-setuptools from 75.6.0.20241126 to 75.8.0.20250225 (#19320)
build(deps): bump types-setuptools

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

---
updated-dependencies:
- dependency-name: types-setuptools
  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-02-28 10:56:50 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
0141abba9a build(deps): bump pre-commit from 4.0.1 to 4.1.0 (#19166)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v4.0.1...v4.1.0)

---
updated-dependencies:
- dependency-name: pre-commit
  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-02-28 10:56:12 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e5282e3e6b build(deps): bump filelock from 3.16.1 to 3.17.0 (#19164)
Bumps [filelock](https://github.com/tox-dev/py-filelock) from 3.16.1 to 3.17.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.16.1...3.17.0)

---
updated-dependencies:
- dependency-name: filelock
  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-02-28 10:55:38 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1f87d02a95 build(deps): bump keyring from 25.5.0 to 25.6.0 (#19150)
Bumps [keyring](https://github.com/jaraco/keyring) from 25.5.0 to 25.6.0.
- [Release notes](https://github.com/jaraco/keyring/releases)
- [Changelog](https://github.com/jaraco/keyring/blob/main/NEWS.rst)
- [Commits](https://github.com/jaraco/keyring/compare/v25.5.0...v25.6.0)

---
updated-dependencies:
- dependency-name: keyring
  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-02-28 10:55:16 -08:00
Kyle AltendorfandGitHub d50b6e0883 use chia_rs directly for sized bytes (#19326) 2025-02-28 09:35:25 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ee423a907a build(deps): bump pyinstaller from 6.11.1 to 6.12.0 (#19318)
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller) from 6.11.1 to 6.12.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.11.1...v6.12.0)

---
updated-dependencies:
- dependency-name: pyinstaller
  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-02-28 09:34:34 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Kyle Altendorf
bc99c7a283 build(deps): bump mypy from 1.14.1 to 1.15.0 (#19319)
* build(deps): bump mypy from 1.14.1 to 1.15.0

Bumps [mypy](https://github.com/python/mypy) from 1.14.1 to 1.15.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.14.1...v1.15.0)

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

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

* adjust accordingly

* remove another

* and windows

---------

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-02-28 09:32:34 -08:00
Kyle AltendorfandGitHub 1567fa3df6 use chia_rs proof of inclusion for datalayer (#19327) 2025-02-27 14:19:38 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Earle LoweEarle LoweKyle Altendorf
d7e2358a32 build(deps): bump ruff from 0.8.5 to 0.9.6 (#19260)
* build(deps): bump ruff from 0.8.5 to 0.9.6

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.8.5 to 0.9.6.
- [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.8.5...0.9.6)

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

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

* Update source to ruff 0.9.6

* Apply suggestions from code review

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2025-02-27 09:53:34 -08:00
Kyle AltendorfandGitHub 8611f3c399 tweak datalayer test consistency (#19325)
avoid depending on the order of the rpc call response
2025-02-26 13:22:29 -05:00
Kyle AltendorfandGitHub 9075a50aeb use chia_rs directly for weight proof (#19315) 2025-02-26 09:27:27 -08:00
Kyle AltendorfandGitHub c09d63ccb0 extract sibling hash and side methods as functions (#19324) 2025-02-26 10:52:21 -05:00
Kyle AltendorfandGitHub 5c68281a81 more datalayer rust transition prep (#19306)
* more datalayer rust transition prep

* tidy
2025-02-26 07:57:50 -05:00
Kyle AltendorfandGitHub fb6b78ef07 use chia_rs directly for foliage (#19308) 2025-02-25 11:33:25 -08:00
Arvid NorbergandGitHub 45bac2e62d mypy annotation for test_dos.py (#19036)
* remove unused function, get_block_path()

* add type annotation to test_dos.py
2025-02-25 11:32:06 -08:00
Kyle AltendorfandGitHub b88f1cee79 catchup: into long_lived/datalayer_merkle_blob from main @ e446d6b726 (#19313)
Source hash: e446d6b726
Remaining commits: 0
2025-02-25 14:19:16 -05:00
Kyle Altendorf 419c6cf5f1 fixup 2025-02-25 11:40:04 -05:00
Kyle Altendorf b54c22faf0 Merge commit 'e446d6b726a03f6d917083b4d039abfec503e54e' into catchup/long_lived_datalayer_merkle_blob_from_main_e446d6b726a03f6d917083b4d039abfec503e54e 2025-02-25 11:30:14 -05:00
Kyle AltendorfandGitHub c6d78c38fe use rust datalayer errors for consistency (#19307) 2025-02-25 08:47:09 -05:00
Kyle AltendorfandGitHub 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
Amine Khaldi 3e23f88497 Update the anchor against the checkpoint. 2025-02-24 13:42:01 +01:00
Kyle AltendorfandGitHub 849eef1b0a remove ProofOfInclusion.as_program() (#19305) 2025-02-22 11:03:44 -05:00
Kyle AltendorfandGitHub 30c4ef2689 use chia_rs directly for consensus constants (#19301) 2025-02-21 10:03:17 -08:00
Kyle AltendorfandGitHub f28b1a1925 update arch testing to python 3.12.7 (#19223) 2025-02-20 12:35:17 -07:00
Amine Khaldi c596eb4464 Merge commit 'edaeca621da3fbf27714fb9188abf08098077bf2' into checkpoint/main_from_release_2.5.2_edaeca621da3fbf27714fb9188abf08098077bf2 2025-02-20 20:08:26 +01:00