Commit Graph
14659 Commits
Author SHA1 Message Date
81824c9b34 [CHIA-1308] Port wallet node RPC endpoints to @marshal decorator (#18651)
* Port `set_wallet_resync_on_startup`

* Port `get_sync_status`

* Port `get_height_info`

* Port `push_tx`

* Port `push_transactions`

* Delete `farm_block`

* Port `get_timestamp_for_height`

* Port `get_auto_claim` and set_auto_claim`

* pylint

* fix test

* pylint again

* typo

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

* clearer comment

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

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2024-10-03 08:28:58 -07:00
Amine KhaldiandGitHub 40e0df2c25 CHIA-1472 Augment get_mirror_info to accept both types of programs (#18637)
Augment get_mirror_info to accept both types of programs.

This allows us to use serialized programs without the need to convert them into programs.
2024-10-03 08:28:07 -07:00
Amine KhaldiandGitHub 7c814b1713 CHIA-1554 Annotate test_taproot.py (#18661)
Annotate test_taproot.py.
2024-10-03 08:26:54 -07:00
Geoff WalmsleyandGitHub 4befaf54bc Fix DID balance reporting, and port DID tests to WalletTestFramwork (#18662)
* fix double counting in did balances

* port did_tests to WalletTestFramework

* pylint

* update did tests in test_nft_wallet

* update vc tests
2024-10-03 08:26:33 -07:00
Florin Chirica 89721b68b3 Checkpoint fix tests. 2024-10-02 04:29:37 +03:00
Earle LoweandGitHub 0ab72914fa Update GUI pin to 71bae1c072941217cde26a70e864d9add1de07f9 (#18656)
Update GUI pin to
2.4.4-rc1
2024-10-01 11:24:26 -07:00
Amine KhaldiandGitHub 9109d8926d CHIA-1525 Make PreValidationResult take SpendBundleConditions instead of NPCResult (#18647)
Make PreValidationResult take SpendBundleConditions instead of NPCResult.
2024-10-01 07:25:46 -07:00
Kyle AltendorfandGitHub b4137651b6 maybe fixup main coverage diff (#18645)
maybe fixup `main` coverage diff
2024-09-30 11:02:21 -07:00
Earle LoweandGitHub 7759619b58 [CHIA-1427]: Limit full file creation when processing subscription generations (#18612)
* Some logging and some code to limit full file generation based on the max number of full files allowed

* Don't write out full files that aren't needed

* Black fixes

* Adjust the full file during error conditions

* No need for try
2024-09-30 09:33:08 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
cc554eac90 build(deps): bump chiavdf from 1.1.4 to 1.1.6 (#18634)
Bumps [chiavdf](https://github.com/Chia-Network/chiavdf) from 1.1.4 to 1.1.6.
- [Release notes](https://github.com/Chia-Network/chiavdf/releases)
- [Commits](https://github.com/Chia-Network/chiavdf/compare/1.1.4...1.1.6)

---
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>
2024-09-30 09:32:48 -07:00
Amine KhaldiandGitHub 33e79e3668 CHIA-1485 Simplify calling pre_validate_spendbundle and avoid spend vs spend bundle confusion (#18639)
Simplify calling pre_validate_spendbundle and avoid spend vs spend bundle confusion.
2024-09-30 09:32:37 -07:00
Amine KhaldiandGitHub 8552e35e14 CHIA-1491 Annotate test_wallet_interested_store.py (#18644)
Annotate test_wallet_interested_store.py.
2024-09-30 09:32:26 -07:00
Florin Chirica 8aed02ffb0 Checkpoint integration. 2024-09-30 19:07:34 +03:00
Earle LoweandGitHub c0c12b90c6 [CHIA-1437]: Reduce level log spam when downloading DAT files (#18610)
* Reduce level log spam when downloading files

* black fix

* Just change info->debug
2024-09-27 10:02:29 -07:00
Kyle AltendorfandGitHub 3ca9b5ee91 remove no-wallet-found traceback from /dl_owned_singletons (#18632) 2024-09-27 10:00:33 -07:00
Izumi HoshinoandGitHub b7fbc6b235 Updated GUI pin for 2.4.4 (#18607)
Updated GUI pin
2024-09-26 14:11:58 -07:00
Arvid NorbergandGitHub 0059b5e052 [CHIA-1087] Simplify batch pre validate blocks (#18602)
* minor simplification of stacked if-conditions and early exits on failure paths

* Simplify NPCResult -> SpendBundleConditions

* make include_spends() take SpendBundleConditions, rather than NPCResult
2024-09-26 12:04:01 -07:00
439cd07590 CA Cert updates (#18627)
adding ca updates

Co-authored-by: ChiaAutomation <automation@chia.net>
2024-09-26 08:55:36 -07:00
Arvid NorbergandGitHub 0764c8da33 Bump chia rs 0.14.0 (#18643)
* bump chia_rs to 0.14.0

* update tests covering negative division (allowed since the hard fork) and infinity G1 keys (disallowed with soft fork 5)

* BLSCache.update() takes GTElement now

* use get_conditions_from_spendbundle() in test_mempool_manager, to get the ANALYZE_SPENDS behavior

* fix mypy warnings
2024-09-26 08:55:26 -07:00
Amine KhaldiandGitHub 4383b6f930 CHIA-1465 Simplify double spend validation in validate_block_body (#18628)
Simplify double spend validation in validate_block_body.
2024-09-26 06:15:29 -07:00
Earle LoweandGitHub 44db523f9d [CHIA-1486] Update to macOS 13 for build and test (#18640)
Update to macOS 13 for build and test
2024-09-25 14:58:30 -07:00
Kyle AltendorfandGitHub e3aac5ba3e Revert "CHIA-645 Optimize build ancestors table. (#18100)" (#18609)
* Revert "CHIA-645 Optimize build ancestors table. (#18100)"

This reverts commit 9b7bb246cb.

* restore tests
2024-09-25 11:56:54 -07:00
Matt HauffandGitHub 0d8d38d01c [CHIA-1306] Tweak TransactionEndpointRequest to require TX args (#18601)
* Tweak `TransactionEndpointRequest` to require TX args

* whoops

* Add an option around the ban
2024-09-25 11:56:34 -07:00
Matt HauffandGitHub bffb7b11c3 [CHIA-1307] Port key management RPCs to @marshal decorator (#18593)
* Port `log_in` to decorator

* Port `get_logged_in_fingerprint` to decorator

* Port `get_public_keys` to decorator

* Port `get_private_key` to decorator

* Port `get_mnemonic` to decorator

* Port `add_key` to decorator

* Port `delete_key` to decorator

* Port `check_delete_key` to decorator

* Port `delete_all_keys` to decorator

* Bad copypasta
2024-09-24 15:08:09 -07:00
Amine KhaldiandGitHub c6630f9aff CHIA-1388 Check the cat list values from get_cat_list against the default cats in test_cat_endpoints (#18587)
Check the cat list values from get_cat_list against the default cats in test_cat_endpoints.
2024-09-24 08:54:53 -07:00
Amine KhaldiandGitHub a3e6bb497d CHIA-1413 Annotate test_wallet_key_val_store.py (#18603)
Annotate test_wallet_key_val_store.py.
2024-09-24 08:54:43 -07:00
Amine KhaldiandGitHub 75d6126417 CHIA-1451 Remove no longer needed TestWalletInterestedStore class (#18621)
Remove no longer needed TestWalletInterestedStore.
2024-09-24 08:54:34 -07:00
Amine KhaldiandGitHub 06ae8681da CHIA-1454 Extend coins without building lists on each step in combine_coins (#18622)
Extend coins without building lists on each step in combine_coins.
2024-09-24 08:54:20 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ff5b36fbb1 build(deps): bump setuptools from 71.1.0 to 75.1.0 (#18596)
Bumps [setuptools](https://github.com/pypa/setuptools) from 71.1.0 to 75.1.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/v71.1.0...v75.1.0)

---
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>
2024-09-23 09:49:30 -07:00
Amine KhaldiandGitHub 19dd1e0d58 CHIA-1362 Deduct block overhead from the mempool's maximum block clvm cost limit (#18574)
Deduct block overhead from the mempool's maximum block clvm cost limit.
2024-09-23 09:49:16 -07:00
1e8c999c09 multiprocess_validation refactor (#18541)
* slightly simplify call to pre_validate_blocks_multiprocessing. batch size is always 4, check_filter is always True. Remove the member function wrapper around it in Blockchain, to prepare for being able to pass wrapped blockchains into it

* address review comments

* Apply suggestions from code review (addendum).

---------

Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
2024-09-23 09:48:11 -07:00
111b0e57d5 Port test_trades.py to WalletTestFramework (#18590)
* Port `test_trade_cancellation`

* Delete obsolete test

* Port `test_trade_conflict`

* Port `test_trade_bad_spend`

* Port `test_trade_high_fee`

* Port `test_aggregated_trade_state`

* Remove DEFAULT_TX_CONFIG

* Remove accidental comments

* Use fee in our respond_to_offer call.

* Minor readability tweak.

---------

Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
2024-09-20 15:04:32 -07:00
Florin Chirica 6237de69fe Lint. 2024-09-20 03:16:51 +03:00
Florin Chirica 3d4158d92b Fix tests. 2024-09-20 03:14:21 +03:00
Zachary BrownandGitHub 8b96b2331a Add version number to every log line (#18608)
* Add version number to every log line

* Switch to using the __version__ variable in the logs

* Make line of code shorter to satisfy code standards

* Fix multiline code formatting

* code formatting
2024-09-19 14:55:35 -07:00
Amine KhaldiandGitHub 7c1a899fa8 CHIA-1377 Remove no longer needed tx_bytes in add_transaction (#18585)
Remove no longer needed tx_bytes in add_transaction.
2024-09-19 10:00:20 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9eb07b1fef build(deps): bump pytest from 8.1.1 to 8.3.3 (#18598)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.1 to 8.3.3.
- [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.1.1...8.3.3)

---
updated-dependencies:
- dependency-name: pytest
  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-09-18 11:50:13 -07:00
Florin Chirica 82f8e94f1f Lint. 2024-09-18 21:22:25 +03:00
Florin Chirica 489020e319 Lint. 2024-09-18 21:16:24 +03:00
Florin Chirica 024b2ad825 Lint. 2024-09-18 21:11:29 +03:00
Florin Chirica 7ac2f81342 Lint. 2024-09-18 20:33:06 +03:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d3971c1592 build(deps): bump py3createtorrent from 1.1.0 to 1.2.1 (#18377)
Bumps [py3createtorrent](https://github.com/rsnitsch/py3createtorrent) from 1.1.0 to 1.2.1.
- [Release notes](https://github.com/rsnitsch/py3createtorrent/releases)
- [Commits](https://github.com/rsnitsch/py3createtorrent/compare/v1.1.0...v1.2.1)

---
updated-dependencies:
- dependency-name: py3createtorrent
  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-09-16 11:50:30 -07:00
Amine KhaldiandGitHub 0b68fd941e CHIA-1387 Simplify fetching TX data in create_bundle_from_mempool_items (#18586)
Simplify fetching TX data in create_bundle_from_mempool_items.
2024-09-16 11:50:16 -07:00
Florin Chirica e073155e06 Checkpoint split keys and values ids. 2024-09-16 20:18:13 +03:00
thesemaphoreslimandGitHub 1b4b8e8df5 Fixed logging for fast bluebox timelord and added Visual Studio (.vs)… (#18558)
* Fixed logging for fast bluebox timelord and added Visual Studio (.vs) to gitignore.

* Make black CI check happy

* Ran through another "black" reformat to pass CI
2024-09-15 13:59:32 -07:00
Felix BruckerandGitHub a617ed5c86 Fix new pool url detection (#18521)
* Fix new pool url detection

* Make flake8 happy

* Make black happy
2024-09-13 11:00:41 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Earle Lowe
2ef2d4185d build(deps): bump aiohttp from 3.9.5 to 3.10.2 (#18440)
* build(deps): bump aiohttp from 3.9.5 to 3.10.2

Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.9.5 to 3.10.2.
- [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.9.5...v3.10.2)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
...

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

* Updates for new aiohttp

* Try increasing a timeout

---------

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-09-13 11:00:22 -05:00
linchizhenandGitHub f82e9b41f4 chore: fix some comments (#18487)
Signed-off-by: linchizhen <jiayanbing@yeah.net>
2024-09-13 10:52:41 -05:00
pengbanbanandGitHub 3d916bd25d chore: fix some comments (#18485)
Signed-off-by: pengbanban <pengbanban@aliyun.com>
2024-09-13 10:52:32 -05:00
murongshaozongandGitHub b6b18086d6 chore: fix some comments (#18452)
Signed-off-by: murongshaozong <netease163@icloud.com>
2024-09-13 10:52:23 -05:00