Commit Graph

12019 Commits

Author SHA1 Message Date
Amine Khaldi
72abf2f30b
Annotate test_nft_wallet.py (#17210)
Annotate test_nft_wallet.py.
2024-01-04 10:13:51 -08:00
Amine Khaldi
f113aa4359
Annotate did_wallet_puzzles.py (#17153)
Annotate did_wallet_puzzles.py.
2024-01-03 12:59:32 -08:00
Amine Khaldi
eb17963b31
Remove no longer needed TestCATWallet class (#17188)
Remove no longer needed TestCATWallet class.
2024-01-03 12:53:42 -08:00
Amine Khaldi
03d927b36b
No need to return None in dl_track_new and dl_stop_tracking (#17145)
No need to return None in dl_track_new and dl_stop_tracking.
2024-01-03 12:25:19 -08:00
Amine Khaldi
1bc5e0039a
Remove leftover None prints in test_trade_bad_spend (#17147)
Remove leftover None prints in test_trade_bad_spend.
2024-01-03 12:24:45 -08:00
Amine Khaldi
d317b47575
Simplify get_new_did_innerpuz (#17148)
Simplify get_new_did_innerpuz.
2024-01-03 12:23:55 -08:00
Amine Khaldi
6d1898ce12
Remove DID wallet's get_frozen_amount (#17151)
Remove DID wallet's get_frozen_amount.

It's not referenced anywhere, and it relies on get_frozen_balance from WSM which doesn't exist.
2024-01-03 12:22:39 -08:00
Amine Khaldi
456d98b22c
Remove debug prints from DID's test_creation_from_coin_spend and test_create_did_with_recovery_list (#17152)
Remove debug prints from DID's test_creation_from_coin_spend and test_create_did_with_recovery_list.
2024-01-03 12:22:04 -08:00
Amine Khaldi
0af602fe95
Remove no longer needed TestOfferLifecycle class (#17189)
Remove no longer needed TestOfferLifecycle class.
2024-01-03 12:21:03 -08:00
Amine Khaldi
59f30d196b
Use self_hostname fixture in test_nft_bulk_transfer (#17191)
Use self_hostname fixture in test_nft_bulk_transfer.
2024-01-03 12:19:37 -08:00
Abachrombie
f726905f3b
FIXED: Fixed old links that just linked to links, to the new direct links in… (#17185)
Fixed old links that just linked to links, to the new direct links in Chia Docs
2024-01-03 11:19:16 -08:00
Arvid Norberg
e80ab1c275
Mempool logging (#17161)
* name worker processes based on what they are used for

* log queue length of mempool spend bundle validation

* improve logging of block validation

* log spendbundle pre-validation time for individual bundles, not the time to drain the queue
2024-01-03 09:27:32 -08:00
Kyle Altendorf
60d0106ef6
apply language labels to dependabot PRs (#17199) 2024-01-03 09:00:30 -08:00
StartToaster
8d53d3f8b5
checkpoint: into main from release/2.1.4 @ 7d555feba3 (#17194)
Source hash: 7d555feba3
Remaining commits: 0
2024-01-02 17:08:38 -08:00
Kyle Altendorf
b5a58e4998
enable ssl_context deprecation warning and fix it (#17127)
* enable ssl_context deprecation warning and fix it

* one case

* a few more

* yup

* one more
2024-01-02 17:07:31 -08:00
Kyle Altendorf
512f7b9fc5
make sure keyring file gets closed (#17126)
* make sure keyring file gets closed

* Update file_keyring.py
2024-01-02 17:06:39 -08:00
Amine Khaldi
6f34720172
Merge commit '7d555feba3cb995124b9433c839ee0dc483b7e7e' into checkpoint/main_from_release_2.1.4_7d555feba3cb995124b9433c839ee0dc483b7e7e 2024-01-02 22:08:05 +01:00
Arvid Norberg
7d555feba3
Spin slower send_transaction() (#17166)
we currenly spin-wait for hearing back whether a transaction made it into the mempool or not (in FullNodeAPI.send_transaction()). We currently spin in a very tight loop, which appears to hog a significant amount of CPU. Increase the sleep to spin slower
2024-01-02 14:05:10 -07:00
Kyle Altendorf
99f44c9fd8
correct condition for coverage-diff label removal (#17187) 2024-01-02 12:03:55 -07:00
Matt Hauff
fa02c05633
Remove coin_solutions from SpendBundle entirely (#17140)
* Remove coin_solutions from SpendBundle (nearly) entirely

* fix test
2024-01-02 10:46:12 -07:00
Arvid Norberg
57a59abde0
remove redundant cost field in NPCResults (#17167) 2024-01-02 10:45:23 -07:00
Kyle Altendorf
cd78dbafdd
eliminate polling in full node for processed tx (#17171) 2023-12-27 09:15:29 -06:00
Amine Khaldi
a389704fdf
Remove redundant bytes32 import in test_nft_wallet_rpc_update_metadata (#17150)
Remove redundant bytes32 import in test_nft_wallet_rpc_update_metadata.
2023-12-27 09:07:35 -06:00
Amine Khaldi
1f060d4580
Don't verify right after signing, and as a result don't re-verify the aggregated version, in sign_coin_spends (#17143)
Don't verify right after signing, and as a result don't re-verify the aggregated version, in sign_coin_spends.
2023-12-27 09:07:15 -06:00
Amine Khaldi
4a44043638
Bail out earlier if the transaction record has no spend bundle in generate_new_decentralised_id (#17129)
Bail out earlier if the transaction record has no spend bundle in generate_new_decentralised_id.
2023-12-27 09:06:57 -06:00
Chris Marslender
ff269b8864
checkpoint: into main from release/2.1.4 @ 507899ff19 (#17157)
Source hash: 507899ff19
Remaining commits: 0
2023-12-27 08:56:54 -06:00
Amine Khaldi
2e0a0c7a23
Addendum. 2023-12-23 00:36:29 +01:00
Amine Khaldi
c431c6675c
Merge commit '507899ff19b0d0bbe14bc7ed8a192f5ad0bc7aa2' into checkpoint/main_from_release_2.1.4_507899ff19b0d0bbe14bc7ed8a192f5ad0bc7aa2 2023-12-23 00:24:41 +01:00
Chris Marslender
11cbe27cb9
checkpoint: into main from release/2.1.4 @ a4cab829ed (#17156)
Source hash: a4cab829ed
Remaining commits: 1
2023-12-22 17:22:26 -06:00
Amine Khaldi
3a2be22c44
Merge commit 'a4cab829edd4f16dd89b29c7234ed39c23c5dcaa' into checkpoint/main_from_release_2.1.4_a4cab829edd4f16dd89b29c7234ed39c23c5dcaa 2023-12-22 23:29:59 +01:00
Arvid Norberg
507899ff19
Mempool multifetch (#17139)
* update type annotation for CoinStore.get_coin_records to support both List and Set

* update the mempool to fetch multiple coin records per query

* optimize the slow-path of updating the mempool by fetching all coin records up-front, in a single sql query
2023-12-22 16:29:39 -06:00
wjblanke
a4cab829ed
Performance tweaks (#17155)
* changed default peers from 80 to 40. switched auto db_sync default to NORMAL instead of FULL

* fixed default

* add defaults to config query
2023-12-22 16:28:31 -06:00
Chris Marslender
739b0d84b8
checkpoint: into main from release/2.1.4 @ 55c064a292 (#17141)
Source hash: 55c064a292
Remaining commits: 0
2023-12-22 08:32:34 -06:00
Amine Khaldi
ae193db2e8
We no longer need to select cost and fee here. 2023-12-22 10:41:12 +01:00
Amine Khaldi
04f0a7454b
Clarify checking compute_memos results in NFT wallet tests (#17137)
Clarify checking compute_memos results in NFT wallet tests.
2023-12-21 21:58:48 -06:00
Amine Khaldi
c1dd6c6930
Annotate test_nft_puzzles.py (#17136)
Annotate test_nft_puzzles.py.
2023-12-21 21:58:40 -06:00
Amine Khaldi
68839f76bd
Simplify get_coins_with_ph (#17135)
Simplify get_coins_with_ph.
2023-12-21 21:58:31 -06:00
Amine Khaldi
6182b9d35d
Remove what seems to be a leftover print in test_cat_spend_multiple (#17134)
Remove what seems to be a leftover print in test_cat_spend_multiple.
2023-12-21 21:58:23 -06:00
Amine Khaldi
683ad4fee2
Remove confusing coinsol value (it's rather a coin spend) in create_spend_for_message (#17133)
Remove confusing coinsol value (it's rather a coin spend) in create_spend_for_message.
2023-12-21 21:58:09 -06:00
Amine Khaldi
36f138a367
Leverage str_to_tail in str_to_tail_hash (#17132)
Leverage str_to_tail in str_to_tail_hash.
2023-12-21 21:57:51 -06:00
Amine Khaldi
a4d5792bcc
Annotate test_cat_lifecycle.py (#17131)
* Remove no longer needed test class.

* Annotate test_cat_lifecycle.py.
2023-12-21 21:57:33 -06:00
Amine Khaldi
23f43535cf
Simplify request construction in send_transaction_multi for wallet RPC client (#17130)
Simplify request construction in send_transaction_multi for wallet RPC client.
2023-12-21 21:57:00 -06:00
Kyle Altendorf
1df7f5f8df
Merge commit '55c064a29215d78393b3b37f2c3029c100560e12' into checkpoint/main_from_release_2.1.4_55c064a29215d78393b3b37f2c3029c100560e12 2023-12-21 20:41:32 -05:00
Arvid Norberg
55c064a292
improve performance of total_mempool_fees() and total_mempool_cost() (#17107)
* improve performance of total_mempool_fees() and total_mempool_cost()

* log when updating the mempool using the slow-path

* extend test to ensure total-cost and total-fee book-keeping stays in sync with the DB

* lower mempool size from 50 blocks to 10 blocks
2023-12-21 18:02:13 -06:00
Arvid Norberg
9599f40219
extend the mempool tests for timelocks, and improve error codes (#17105) 2023-12-21 14:34:11 -06:00
Amine Khaldi
eb445d3a68
Explicitly name fields to improve clarity and avoid mistakes (#17119)
Explicitly name fields to improve clarity and avoid mistakes.
2023-12-21 12:24:53 -06:00
Amine Khaldi
c11d7990e4
Reuse coin_id in DID wallet's test_get_info (#17120)
Reuse coin_id in DID wallet's test_get_info.
2023-12-20 20:51:10 -06:00
Amine Khaldi
3c9a30cf93
Explicitly check spend bundles against None in some NFT wallet tests (#17118)
Explicitly check spend bundles against None in some NFT wallet tests.
2023-12-20 20:50:47 -06:00
Amine Khaldi
e227321193
Reuse cat tail and puzzle hashes in generate_coins (#17117)
Reuse cat tail and puzzle hashes in generate_coins.
2023-12-20 20:50:35 -06:00
Amine Khaldi
38516f7611
Allow DID's create_innerpuz to take p2_puzzle or hash, and document the use cases (#17116)
Allow DID's create_innerpuz to take p2_puzzle or hash, and document the use cases.
2023-12-20 20:50:20 -06:00