Commit Graph

11999 Commits

Author SHA1 Message Date
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
Amine Khaldi
67039ca648
Extract get_trade_and_status to be reused instead of reimplemented (#17115)
Extract get_trade_and_status to be reused instead of reimplemented.
2023-12-20 20:50:01 -06:00
Amine Khaldi
2564b2be73
Reuse acs and acs_ph instead of recomputing them and their similar values (#17114) 2023-12-20 20:49:26 -06:00
Amine Khaldi
ee96b3fb28
Extract check_wallets to be reused instead of reimplemented (#17113)
Extract check_wallets to be reused instead of reimplemented.
2023-12-20 20:49:13 -06:00
Amine Khaldi
4763b9b4e0
Allow construct_cat_puzzle to take either inner puzzle or hash and document the use cases (#17112)
Allow construct_cat_puzzle to take inner_puzzle (Program) or hash (bytes32) and document the use cases.
2023-12-20 20:48:50 -06:00
Amine Khaldi
6383993f78
Simplify request construction in send_transaction for wallet RPC client (#17111)
Simplify request construction in send_transaction for wallet RPC client.
2023-12-20 20:38:34 -06:00
Amine Khaldi
f7aed3a472
Address and remove DAO related files from flake8's exclusion list (#17109)
Address and remove DAO related files from flake8's exclusion list.
2023-12-20 20:38:02 -06:00
Arvid Norberg
2022d6e95e
slight simplification to get_min_fee_rate() (#17092) 2023-12-19 12:08:54 -06:00
dependabot[bot]
ccdc5891f0
build(deps): bump boto3 from 1.33.13 to 1.34.0 (#17066)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 12:07:31 -06:00
Florin Chirica
a168093c91
Improve input for DL CLI add_missing_files. (#17060) 2023-12-19 12:04:11 -06:00
Florin Chirica
42d9048a79
DL upsert. (#17011) 2023-12-19 11:48:49 -06:00
Florin Chirica
ebf0c00a21
DL: Use unsubscribe queue to relax subscriptions lock. (#17068) 2023-12-19 10:59:27 -06:00
dependabot[bot]
1e4bb69b9a
build(deps): bump concurrent-log-handler from 0.9.24 to 0.9.25 (#17046)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-12-19 10:59:00 -06:00
Arvid Norberg
18c28d6a77
initiate phasing out of the coin_solutions name in JSON structs (#17089) 2023-12-19 10:58:43 -06:00
Chris Marslender
edec0a47c4
checkpoint: into main from release/2.1.3 @ 3856324cad (#17090) 2023-12-19 08:13:47 -06:00
Amine Khaldi
43059fec07
Merge commit '3856324cadb913fa599c5378d4c43ab216194e75' into checkpoint/main_from_release_2.1.3_3856324cadb913fa599c5378d4c43ab216194e75 2023-12-19 15:00:03 +01:00
Chris Marslender
2a2d0a59ff
checkpoint: into main from release/2.1.3 @ a6730326e2 (#17085) 2023-12-19 07:44:09 -06:00
Kyle Altendorf
5b210a4060
Merge commit 'a6730326e202c0bd6f0b013fdae357c628f28fde' into checkpoint/main_from_release_2.1.3_a6730326e202c0bd6f0b013fdae357c628f28fde 2023-12-18 17:49:10 -05:00
Chris Marslender
e4c5b9e6c3
checkpoint: into main from release/2.1.3 @ 788db8bdff (#17081) 2023-12-18 16:47:13 -06:00
Earle Lowe
3856324cad
Update CHANGELOG.md (#17082) 2023-12-18 13:06:32 -06:00
Arvid Norberg
d52612589c
bump chia_rs to 0.3.3 (#17074) 2023-12-18 12:22:39 -06:00