Commit Graph
14659 Commits
Author SHA1 Message Date
Kyle AltendorfandGitHub 9a0b5728c5 use a class for the chia cli context data (#18919)
* use a class for the chia cli context data

* actually assign to the context properly...

* handle the not-present case

* catch up

* tidy

* more

* stuff

* ...

* more real

* expected address prefix
2024-12-19 10:44:48 -07:00
Amine KhaldiandGitHub 922892e2ec CHIA-1945 Avoid computing a transactions filter with just reward coins when the filter is not requested from get_block_header (#18969)
Avoid computing a transactions filter with just reward coins when the filter is not requested from get_block_header.
2024-12-19 10:33:54 -07:00
Kyle AltendorfandGitHub 1ebf51863e catchup: into long_lived/datalayer_merkle_blob from main @ ccd6f13e6c (#19067)
Source hash: ccd6f13e6c
Remaining commits: 0
2024-12-18 14:26:46 -05:00
Arvid NorbergandGitHub 6dfcd511fe add a feature to log spend bundles being added to the mempool (#19068) 2024-12-18 12:05:02 -07:00
Earle LoweandGitHub 8a56aa1bd4 ignore errors in daemon plotter process cleanup (#19025)
ignore errors in general cleanup
2024-12-18 12:01:41 -07:00
Amine KhaldiandGitHub c6a6c0bbc3 CHIA-1862 Fix FullNodeAPI's request_block_headers returned filter (#18923)
Fix FullNodeAPI's request_block_headers returned filter.
2024-12-18 12:01:30 -07:00
Kyle Altendorf a29fd8e47f install rust in install action 2024-12-18 12:13:51 -05:00
Kyle Altendorf 7ee3da79ff use long lived from chia_rs 2024-12-18 12:03:55 -05:00
Kyle Altendorf 6aa74cac0a Merge branch 'long_lived/datalayer_merkle_blob' into add_rs_merkle_blob 2024-12-18 11:58:35 -05:00
Kyle Altendorf 823f18643f Merge commit 'ccd6f13e6cc2f4c7a0a150a1e26117c50fcfbe82' into catchup/long_lived_datalayer_merkle_blob_from_main_ccd6f13e6cc2f4c7a0a150a1e26117c50fcfbe82 2024-12-18 11:57:02 -05:00
Kyle AltendorfandGitHub ccd6f13e6c move ruff check right after ruff format in pre-commit since it is fast and changing stuff now (#19063) 2024-12-18 09:38:02 -07:00
Amine KhaldiandGitHub 19510221d1 CHIA-2091 Use boost v1.85 when compiling chiavdf from source on macos-intel (#19065) 2024-12-18 07:18:07 -08:00
Kyle AltendorfandGitHub 45465b4865 move some non-framework items out of chia.cmds.cmd_classes (#19047)
* move some non-framework items out of `chia.cmds.cmd_classes`

* move the other new stuff too
2024-12-17 14:14:13 -07:00
61207d2435 [CHIA-1348] Port chia wallet coin commands to @chia_command framework (#18641)
* Extract TransactionsIn/Out

* Create a helper for coin selection arguments

* Port `chia wallet coins list`

* Unused item

* Add TransactionEndpoint

* Port `chia wallet coins combine`

* Port `chia wallet coins split`

* Delete test_coins.py

* Add test for TXConfig helpers

* Add test for TransactionEndpoint mixin

* Forgot to delete old split command

* test coverage

* coverage ignores

* Link old framework with new

* fix command tests

* fix signer test

* coverage ignores

* pre-commit

* Move tests back to rpc file

* Move coin functions back to their own file

* Move split above combine in rpc tests

* Stop duplicate name definitions

* new puzzle hashes allowed

* Address comments by @altendky

* more comments by @altendky

* Update chia/cmds/cmd_classes.py

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

* another comment by @altendky

* this one is the fault of @altendky

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2024-12-17 10:44:33 -07:00
Kyle AltendorfandGitHub 9c60a48de3 less DEFAULT_ROOT_PATH for get_any_service_client() (#19049) 2024-12-17 10:27:41 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5c08ab94fb build(deps): bump pytest from 8.3.3 to 8.3.4 (#19020)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.3 to 8.3.4.
- [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.3...8.3.4)

---
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>
2024-12-17 10:27:17 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Earle Lowe
030392a68b build(deps): bump dnspython from 2.6.1 to 2.7.0 (#19017)
* build(deps): bump dnspython from 2.6.1 to 2.7.0

Bumps [dnspython](https://github.com/rthalley/dnspython) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/rthalley/dnspython/releases)
- [Changelog](https://github.com/rthalley/dnspython/blob/main/doc/whatsnew.rst)
- [Commits](https://github.com/rthalley/dnspython/compare/v2.6.1...v2.7.0)

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

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

* update seeder for mypy

---------

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>
2024-12-17 10:27:07 -07:00
Patrick MaslanaandGitHub a12df365ac checkpoint: into main from release/2.5.0 @ 40ca4f94fc (#19046)
Source hash: 40ca4f94fc
Remaining commits: 0
2024-12-13 13:46:14 -07:00
Amine Khaldi 629caaf03c Merge commit '40ca4f94fc44fafc422b5cf20bfbd2db2b883f06' into checkpoint/main_from_release_2.5.0_40ca4f94fc44fafc422b5cf20bfbd2db2b883f06 2024-12-13 20:32:28 +01:00
Kyle AltendorfandGitHub 78afe07f28 first pass at using @chia_command without a group (#19040)
* first pass at using `@chia_command` without a group

* less slots
2024-12-13 11:49:16 -07:00
Kyle AltendorfandGitHub 85c23d4812 avoid set for test parametrization (#19039) 2024-12-13 11:42:11 -07:00
Kyle AltendorfandGitHub bc5ad74c99 more less default root path (#19031)
* more less default root path

* hmm
2024-12-13 11:39:55 -07:00
Patrick MaslanaandGitHub 803afdc002 checkpoint: into main from release/2.5.0 @ 422179aff6 (#19042)
Source hash: 422179aff6
Remaining commits: 1
2024-12-13 11:39:26 -07:00
Amine Khaldi c98d3b5d68 Update the anchor against the checkpoint. 2024-12-12 20:49:18 +01:00
Amine Khaldi 8270b848b4 Merge commit '422179aff6394b8257d8335edbbdab0895272c36' into checkpoint/main_from_release_2.5.0_422179aff6394b8257d8335edbbdab0895272c36 2024-12-12 20:48:13 +01:00
1a1209c06a remove the block fill rate limit of 70% when farming a block (#19005)
* remove the block fill rate limit of 70% when farming a block

* Addendum to 100% block fill rate. (#19006)

* break down 'magic number' in test into its components

* Attempt to clarify why we add many aggsig conditions in make_and_send_big_cost_sb (#19026)

Attempt to clarify why we add many aggsig conditions in make_and_send_big_cost_sb.

---------

Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
2024-12-12 09:52:05 -07:00
Earle LoweandGitHub beff6e2aed CHIA-2022: Fix problems with startup timing and the Datalayer processing loop (#19014)
Catch some more exceptions when getting owned stores in DL loop
2024-12-12 09:51:50 -07:00
Almog De PazandGitHub 29826679a4 fix wrong param in prevalidate (#19035) 2024-12-12 09:15:28 -07:00
Earle LoweandGitHub 4db4cd9cc1 convert test_change_pools to WalletTestFramework (#18996)
* convert test_change_pools to WalletTestFramework

* add some checks that were in previous test version

* wait for wallet sync

* farm more blocks?
2024-12-12 09:07:12 -07:00
Kyle AltendorfandGitHub f77bc52f33 correct short license text to SPDX standard Apache-2.0 (#19027)
https://spdx.org/licenses/
2024-12-12 09:04:58 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f51a8ceb32 build(deps): bump build from 1.2.1 to 1.2.2.post1 (#19024)
Bumps [build](https://github.com/pypa/build) from 1.2.1 to 1.2.2.post1.
- [Release notes](https://github.com/pypa/build/releases)
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/build/compare/1.2.1...1.2.2.post1)

---
updated-dependencies:
- dependency-name: build
  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>
2024-12-12 09:04:29 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
08478fdf2f build(deps): bump setproctitle from 1.3.3 to 1.3.4 (#19023)
Bumps [setproctitle](https://github.com/dvarrazzo/py-setproctitle) from 1.3.3 to 1.3.4.
- [Changelog](https://github.com/dvarrazzo/py-setproctitle/blob/master/HISTORY.rst)
- [Commits](https://github.com/dvarrazzo/py-setproctitle/compare/version-1.3.3...version-1.3.4)

---
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>
2024-12-12 09:04:19 -07:00
Arvid NorbergandGitHub dd7dc85f5e revert super set rule (#19011)
revert https://github.com/Chia-Network/chia-blockchain/pull/18834
2024-12-12 09:02:23 -07:00
Matt HauffandGitHub be0a77db7d [CHIA-1316] Port VC Endpoints to @marshal decorator (#18970)
* Port `vc_mint`

* Port `vc_spend`

* Port `vc_revoke`

* Port `vc_get`

* Port `vc_get_list`

* Port `vc_add_proofs`

* Port `vc_get_proofs_for_root`

* address comments by @altendky
2024-12-12 09:01:29 -07:00
Earle LoweandGitHub 40ca4f94fc Update changelog for 2.5.0 (#19030) 2.5.0 2024-12-11 15:05:30 -07:00
Almog De PazandGitHub 3ab83f0eeb use height to hash in short sync (#19007)
* use height to hash in short sync

* remove added debug code

* refactor condition
2024-12-11 10:05:27 -07:00
Kyle AltendorfandGitHub 186d83a9aa catchup: into long_lived/datalayer_merkle_blob from main @ 214ecf79db (#19029)
Source hash: 214ecf79db
Remaining commits: 0
2024-12-11 11:25:49 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7e72d7c1a6 build(deps): bump coverage from 7.6.4 to 7.6.9 (#19021)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.4 to 7.6.9.
- [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.4...7.6.9)

---
updated-dependencies:
- dependency-name: coverage
  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>
2024-12-11 09:18:18 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4d70c7653e build(deps): bump boto3 from 1.35.73 to 1.35.77 (#19019)
Bumps [boto3](https://github.com/boto/boto3) from 1.35.73 to 1.35.77.
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](https://github.com/boto/boto3/compare/1.35.73...1.35.77)

---
updated-dependencies:
- dependency-name: boto3
  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>
2024-12-11 09:18:05 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3308c85714 build(deps): bump pytest-cov from 5.0.0 to 6.0.0 (#19018)
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 5.0.0 to 6.0.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v5.0.0...v6.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  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>
2024-12-11 09:16:56 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
de7a74ecc3 build(deps): bump anyio from 4.6.2.post1 to 4.7.0 (#19016)
Bumps [anyio](https://github.com/agronholm/anyio) from 4.6.2.post1 to 4.7.0.
- [Release notes](https://github.com/agronholm/anyio/releases)
- [Changelog](https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst)
- [Commits](https://github.com/agronholm/anyio/compare/4.6.2.post1...4.7.0)

---
updated-dependencies:
- dependency-name: anyio
  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>
2024-12-11 09:16:42 -07:00
f6e08ba7e4 Track weight proof tasks (#18896)
* keep track of wp tasks

* use cancel_task_safe

* await at shutdown

* await when done

* Update chia/full_node/full_node.py

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

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2024-12-11 09:16:24 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a4a4be3bda build(deps): bump aiohttp from 3.11.9 to 3.11.10 (#19015)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.11.9 to 3.11.10.
- [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.9...v3.11.10)

---
updated-dependencies:
- dependency-name: aiohttp
  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>
2024-12-11 09:13:00 -07:00
Arvid NorbergandGitHub c4e714eeab [CHIA-1829] don't drop outgoing response messages (#18990)
never rate limit outgoing response messages (RespondBlock, RespondBlocks, RejectBlock, RejectBlocks). Instead, disconnect any peer sending unsolicited response blocks
2024-12-11 09:09:09 -07:00
Kyle Altendorf c85cadd368 Merge commit '214ecf79dbaac1e983f854e8c85880f8ccb65a21' into catchup/long_lived_datalayer_merkle_blob_from_main_214ecf79dbaac1e983f854e8c85880f8ccb65a21 2024-12-11 08:17:44 -05:00
Kyle Altendorf 1fae5b09dc Merge branch 'main' into add_rs_merkle_blob 2024-12-11 08:16:37 -05:00
ChiaAutomationandGitHub 214ecf79db Update Managed Files (#19012)
Update dependabot
2024-12-10 12:43:35 -07:00
Arvid NorbergandGitHub bc065b5d52 add some validation of fork_info in Blockchain.add_block() (#18981)
* add some validation of fork_info in Blockchain.add_block(). This would have caught the bug introduced in main a while ago

* simplify add_blocks_in_batches
2024-12-10 10:30:43 -07:00
Kyle AltendorfandGitHub e704b355fe Optimize add node hashes. (#18980)
<!-- 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) -->
2024-12-10 08:58:04 -05:00
Almog De PazandGitHub 35c83753aa Unconfirmed tx cache - CHIA-785 (#18422)
* unconfirmed_tx_cache

* fix types in test

* fix already included check
2024-12-10 06:38:53 -07:00