Commit Graph
14659 Commits
Author SHA1 Message Date
Earle LoweandGitHub b6c777ec3b Add context handler features to MempoolManager (#20343)
* Add context handler features to MempoolManager

* No need to manually shut_down mempoolmanager

* Fix up issues with ordering in full node

* Fix dumb programmer issues

* Fix up some bugbot issues

* Move timing to inside context manager

* fix wrong indent
2025-12-15 09:48:34 -08:00
Earle LoweandGitHub 2f78e5d5a0 Removed unneeded ignores from pytest.ini (#20330)
* Remove specific ResourceWarning filter from pytest.ini

* Remove unclosed transport warning from pytest.ini

* Remove unclosed socket ResourceWarning filter

Removed warning filter for unclosed socket resource.

* Remove filter for unclosed file ResourceWarning

Removed warning filter for unclosed file resource warnings.
2025-12-15 09:47:50 -08:00
Earle LoweandGitHub 581aa707a8 Make sure to close DB connection when getting DB limit info (#20344)
make sure to close DB
2025-12-15 09:47:32 -08:00
Arvid NorbergandGitHub aefefb416e bump WEIGHT_PROOF_RECENT_BLOCKS for tests (#20348)
* increase WEIGHT_PROOF_RECENT_BLOCKS in the test constants, to make it more robust

* improve error message when WEIGHT_PROOF_RECENT_BLOCKS is too small

* fix test_wallet_blockchain.py

* fix test_wallet_node.py

* fix test_wallet_sync.py
2025-12-15 09:47:08 -08:00
Earle LoweandGitHub 3461286e8d Eliminate rate limits and bans for exempt peer networks (#20345)
* Eliminate rate limits and bans for exempt peer networks

* Add some tests for banning when closing connections

* make sure to pass in parameter to constructor
2025-12-15 09:46:40 -08:00
Arvid NorbergandGitHub 64b2c8d034 update expected_plot_size() to match the latest proof of space format (#20350) 2025-12-15 09:45:49 -08:00
Earle LoweandGitHub 6f5c201fc8 Convert to use rpcclient context to ensure proper teardown cleanup (#20329) 2025-12-15 09:45:26 -08:00
Earle LoweandGitHub 10d8530db7 async is_empty() not awaited (#20328) 2025-12-15 09:44:58 -08:00
Arvid NorbergandGitHub 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 HauffandGitHub 0f6fceb105 Delete unnecessary puzzles that have been moved to chia_puzzles_py (#20341) 2025-12-10 19:12:04 -08:00
Arvid NorbergandGitHub 4aab40fe05 move test_constants_modified (#20342)
move test_constants_modified from test_simulation.py into conftest.py to avoid circular dependencies. conftest defines the test chains, which are built using the test constants. test_simulation.py uses the test chains
2025-12-10 19:07:29 -08:00
Matt HauffandGitHub 88e9f78bea [LABS-291] Port get_farmed_amount to @marshal (#20187)
Port `get_farmed_amount` to `@marshal`
2025-12-10 09:57:27 -08:00
d25dbbe652 Update cacert.pem from Mozilla CA bundle (#20303)
Co-authored-by: ChiaAutomation <automation@chia.net>
2025-12-10 09:56:56 -08:00
Matt HauffandGitHub 144c1a3190 [LABS-299] Extract pool wallet pubkey generation to WSM (#20322)
Extract pool wallet pubkey generation to WSM
2025-12-10 09:56:30 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
b94a3ef1d6 build(deps): bump actions/checkout from 5 to 6 (#20333)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  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-12-09 14:30:56 -08:00
wjblankeandGitHub cb348204fe set gui pin to 07464bde733c6433c0fcb6a9e16db74108893923 (#20316) 2025-12-09 13:16:32 -08:00
Matt HauffandGitHub a745d88961 [LABS-249] Port crcat_approve_pending to @marshal (#20116)
* Port `crcat_approve_pending` to `@marshal`

* Forgot `push=True`
2025-12-09 13:15:55 -08:00
Matt HauffandGitHub 47ed91c8ec [LABS-305] Extract signing functionality from wallet RPC to its own library (#20317)
* Extract `verify_signature`

* Extract `sign_message_by_address`

* Extract (most of) `sign_message_by_id`
2025-12-09 11:28:09 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2a8a8794f6 build(deps): bump urllib3 from 2.5.0 to 2.6.0 (#20323)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.5.0...2.6.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.6.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-09 11:26:50 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
05cd0b0b48 build(deps): bump ruff from 0.14.5 to 0.14.6 (#20310)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.14.5 to 0.14.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.14.5...0.14.6)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.14.6
  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-12-09 11:26:35 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ceaff1a83c build(deps): bump boto3 from 1.40.75 to 1.41.3 (#20309)
Bumps [boto3](https://github.com/boto/boto3) from 1.40.75 to 1.41.3.
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](https://github.com/boto/boto3/compare/1.40.75...1.41.3)

---
updated-dependencies:
- dependency-name: boto3
  dependency-version: 1.41.3
  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-12-09 11:26:22 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d178f54f97 build(deps): bump tach from 0.29.0 to 0.32.0 (#20307)
Bumps [tach](https://github.com/gauge-sh/tach) from 0.29.0 to 0.32.0.
- [Release notes](https://github.com/gauge-sh/tach/releases)
- [Commits](https://github.com/gauge-sh/tach/compare/v0.29.0...v0.32.0)

---
updated-dependencies:
- dependency-name: tach
  dependency-version: 0.32.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-12-09 11:26:06 -08:00
Matt HauffandGitHub a05a0c57d2 [CHIA-3707] Port create_new_wallet to @marshal (#20087)
* Add the request types

* Add the request types

* some test fixes

* Add the client ports

* Fix tests

* Add cmd support and fix a test

* Missed a couple

* Add test for `CreateNewWallet.__post_init__()`
2025-12-08 09:31:51 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
277a7dc9f1 build(deps): bump pre-commit from 4.4.0 to 4.5.0 (#20308)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 4.4.0 to 4.5.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.4.0...v4.5.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-version: 4.5.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-12-08 09:31:19 -08:00
Amine KhaldiandGitHub 811ecc9b22 CHIA-3810 In TransactionQueue, prioritize peer queue transactions by fee per cost (#20282)
In TransactionQueue, prioritize peer queue transactions by fee per cost.
2025-12-05 09:43:14 -08:00
Matt HauffandGitHub 4d7c30886a [LABS-304] Refactor get_spendable_coins logic mostly out of RPC (#20302)
Refactor `get_spendable_coins` logic mostly out of RPC
2025-12-05 09:42:39 -08:00
Matt HauffandGitHub 8eba5d8490 [CHIA-3686] Port send_transaction_multi to @marshal (#20071)
* Port `send_transaction_multi` to `@marshal`

* test coverage
2025-12-04 09:43:05 -08:00
Matt HauffandGitHub 63af9cd8a8 [LABS-306] Simplify cancel_offers (#20305)
Simplify `cancel_offers`
2025-12-04 09:42:10 -08:00
Matt HauffandGitHub b50d58fc42 Fix flaky test (#20306) 2025-12-04 09:38:41 -08:00
Amine KhaldiandGitHub 1e0bc4d153 CHIA-3844 Advertise requested mempool transactions instead of sending them (#20314)
Advertise requested mempool transactions instead of sending them.
2025-12-04 09:38:16 -08:00
matt-o-howandGitHub 1e78fdf8a1 Add extra ignore in pytest.ini to prevent occasional breaking for a DeprecationWarning (#20315)
* add extra ignore in pytest.ini

* catch keyerror

* pythonic representation

* ruff import order
2025-12-04 09:36:55 -08:00
Arvid NorbergandGitHub d8144a94e0 optimize block tools (speed-up: 15x) (#20301)
optimize block tools by generating the block generator (for transaction_data=) up-front, rather than every time we farm a block, until we get a transaction block
2025-12-03 10:28:27 -08:00
Arvid NorbergandGitHub 426590feaf bump chia_rs and update uses of RewardChainBlock and SubEpochSummary (#20304) 2025-12-03 10:27:55 -08:00
Amine KhaldiandGitHub 70514c0844 CHIA-3843 Wait for nodes to sync in test_ban_for_mismatched_tx_cost_fee (#20312)
Wait for nodes to sync in test_ban_for_mismatched_tx_cost_fee.
2025-12-03 09:59:52 -08:00
Arvid NorbergandGitHub dcd296975d relax PoS validation in weight proofs (#20298)
* relax proof-of-space validation in weight proofs. make it height agnostic

* fix typo in block_tools logging. hoist calculations out of the block_tools PoS loop

* make the plot-filter schedule safe in proof-of-space validation as part of weight proofs

* review comments
2025-12-02 10:15:28 -08:00
Matt HauffandGitHub b6e8a9e3bc [LABS-303] Simplify spend_clawback_coins (#20300)
* Simplify `spend_clawback_coins`

* specific exception

* Okay not so fancy

* Couple of tests
2025-12-02 10:14:38 -08:00
Matt HauffandGitHub f0a141f688 [CHIA-3687] Port create_signed_transaction to @marshal (#20067)
* Port `create_signed_transaction` to `@marshal`

* Hack in the old interface for `send_transaction_multi`

* Bad rebase
2025-12-01 18:01:45 -08:00
8315f62ae6 Import check_time_locks() and CoinRecord (#19848)
* initial commit

* fix int to bool map

* another int bool map

* cast error to Err class

* cast to Err in a couple other places

* remaining couple

* ruff

* inline coinstore bool

* typing fixes

* import directly from rust and remove legacy file

* fix lingering ref to coinrecord

* another outdated import

* ruff

* typping fix

* minor simplifications

* Fix test

* fix import merge

* address comments

* undo coin_store change

---------

Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
Co-authored-by: Matt <quexington@gmail.com>
2025-11-26 12:48:42 -08:00
Arvid NorbergandGitHub 9242a5cf4d remove use of pool_reward_puzzle_hash in full_node_simulator (#20294) 2025-11-25 11:59:36 -08:00
Arvid NorbergandGitHub b8c0e7712a fix plot filter for v2 plots (#20293) 2025-11-25 11:59:13 -08:00
Matt HauffandGitHub cdd19fb35c [LABS-301] Extract split_coins and combine_coins RPCs to WalletStateManager (#20290)
* Extract `split_coins` to `WalletStateManager`

* Extract `combine_coins`

* < 2
2025-11-25 11:58:56 -08:00
Matt HauffandGitHub be744cab12 [LABS-298] Simplify push_transactions (#20279)
* Simplify `push_transactions`

* Further simplify
2025-11-25 11:58:12 -08:00
Arvid NorbergandGitHub 7b3a773683 Test conditions pool reward (#20288)
* make test_conditions.py use the farmer reward, and not the pool reward, for its tests. This prepares this test to work with v2 plots, since they don't support redirecting the pool reward

* fix get_plot_id() for v2 proofs

* fix proof-of-space tests
2025-11-25 11:57:52 -08:00
Arvid NorbergandGitHub bc2a7f7319 default to single solver thread (#20266)
default to single solver thread (solving the proof is already multi-threaded)
2025-11-25 11:38:36 -08:00
Matt HauffandGitHub e36c25fe29 Fix flaky data layer test (#20295)
Add a wallet sync check
2025-11-25 11:38:11 -08:00
Matt HauffandGitHub bc957225e7 [LABS-288] Less asset_id: str (#20261)
* Less `asset_id: str`

* Missed a couple

* Missed a couple more

* Missed another?
2025-11-25 11:37:48 -08:00
Matt HauffandGitHub 2b3c11e170 [CHIA-3610] Port cancel_offer(s) to @marshal (#20066)
* Port `cancel_offer` to `@marshal`

* Port `cancel_offers` to `@marshal`

* forgot `push=True`
2025-11-25 10:57:19 -08:00
Zachary BrownandGitHub 8b7d1d67b6 checkpoint: into main from release/2.5.7 @ 54bdf378c7 (#20286)
Source hash: 54bdf378c7
Remaining commits: 0
2025-11-24 15:36:04 -08:00
ChiaAutomationandGitHub 17cbe39b63 Update Managed Files (#20291)
* Update dep-review

* Update commit-signing

* Update dependabot
2025-11-24 15:35:01 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
02bd1df2c2 build(deps): bump coverage from 7.11.0 to 7.12.0 (#20274)
Bumps [coverage](https://github.com/coveragepy/coveragepy) from 7.11.0 to 7.12.0.
- [Release notes](https://github.com/coveragepy/coveragepy/releases)
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst)
- [Commits](https://github.com/coveragepy/coveragepy/compare/7.11.0...7.12.0)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.12.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-11-24 15:12:08 -08:00