Amine Khaldi
508a2a8052
Merge commit 'ad755916ab664abb207421e042328ca1603658ab' into checkpoint/main_from_release_2.5.2_ad755916ab664abb207421e042328ca1603658ab
2025-02-18 17:06:52 +01:00
Amine Khaldi
80c718e37d
Merge commit '6e542f051ef6ad2aca5f16c76c5c0e97a6616e29' into checkpoint/main_from_release_2.5.2_6e542f051ef6ad2aca5f16c76c5c0e97a6616e29
2025-02-18 11:56:15 +01:00
Amine Khaldi
de0b0d8c69
CHIA-2381 Validate fast forward spends before adding their spend bundle to the mempool ( #19272 )
...
Validate fast forward spends before adding their spend bundle to the mempool.
Make sure that all fast forward spends of a spend bundle would still have unspent coins.
2025-02-17 13:26:53 -07:00
Amine Khaldi
ad755916ab
CHIA-2382 Create a mempool item out of a copy of the input one when processing fast forward spends ( #19273 )
...
Create a fast forward mempool item out of a copy of the input one.
2025-02-17 11:47:42 -07:00
Arvid Norberg
6e542f051e
[CHIA-2380] harden mempool fast-forward feature ( #19276 )
...
* harden mempool fast-forward feature
* simplify
* move test to avoid conflict
* address code review
2025-02-17 09:28:35 -07:00
Arvid Norberg
43e17c88c8
import ENABLE_KECCAK and ENABLE_KECCAK_OPS_OUTSIDE_GUARD from chia_rs ( #19268 )
2025-02-14 13:15:05 -07:00
Kyle Altendorf
06a1e2523e
more datalayer python/rust parametrization ( #19269 )
2025-02-14 14:19:14 -05:00
Arvid Norberg
0f35f707bd
create_block_generator refactor (#19207 )
...
* make item_inclusion_filter optional and move it to the end with default None, to simplify calls
* move block generator creation into the Mempool class
* update benchmark
* add test
2025-02-13 19:20:45 -07:00
Florin Chirica
3336417d0f
Remove DL method for get_node_by_hash.
2025-02-14 02:28:19 +02:00
Florin Chirica and Kyle Altendorf
d1b9b2b6a1
Update chia/data_layer/util/merkle_blob.py
...
Co-authored-by: Kyle Altendorf <sda@fstab.net >
2025-02-14 02:21:33 +02:00
Florin Chirica
6b6da264f4
Don't work on data structures.
2025-02-13 17:29:18 +02:00
Florin Chirica
8219d4f666
Merge branch 'long_lived/datalayer_merkle_blob' into fc.remove_hashes_table
2025-02-13 00:12:02 +02:00
Patrick Maslana
9842b8cd11
Add generate_signed_transaction to WalletProtocol ( #19244 )
...
This PR adds the `generate_signed_transaction` method to the
`WalletProtocol`. This will help enforce that any new wallets or general
uses of wallets must follow the same API for the key transaction method.
2025-02-12 10:50:32 -07:00
Florin Chirica
59b263bf65
Deprecate n-weso. ( #19253 )
2025-02-11 11:08:59 -07:00
Matt
ebef33e89e
Merge remote-tracking branch 'origin/main' into quex.gst_to_wallet_protocol
2025-02-11 09:56:14 -08:00
Matt Hauff
33de50c0a1
Bring VCWallet.generate_signed_transaction into conformity ( #19234 )
...
* Standardize the `Wallet` API for `generate_signed_transaction`
* Some test fixes
* Fix `create_tandem_xch_tx`
* Fix the other `create_tandem_xch_tx`s
* More test fixes
* More test fixes
* Bad fix from last time
* Bring `VCWallet.generate_signed_transaction` into conformity with other wallets
* Bad default
2025-02-11 09:06:46 -07:00
Almog De Paz
59583e75ef
Assert height to hash in contains block ( #19136 )
...
* add assertions
* use_height_if_available
* use try_block_record
* fix recursion
* handle none
* remove assert
* remove assert
* use try in wallet blockchain
* fix height o and height to hash in augmented
* get_correct_block_for_fork
* remove debug code
* use try_block_record
* check main chain againt undelying blockchain
* pass augmented in tests
* lint
* revert changes to wallet blockchain
* remove redundant comment
* lint
* remove debug message
* revert bad merge
* make height mandatory
* make height mandatory
* use try_block_record
* fix unfinished test
* remove from hh, test contains block
* fix test
* fix mock and cache
2025-02-11 07:18:52 -07:00
peicuiping
c62d20009c
chore: fix 404 status URL ( #19096 )
...
Signed-off-by: peicuiping <ezc5@sina.cn >
2025-02-11 07:08:43 -07:00
lencap
743cfdfff0
chore: fix some typos ( #19190 )
...
Signed-off-by: lencap <techgeek@189.cn >
2025-02-11 06:36:00 -07:00
Arvid Norberg
95c82997a3
name threads in ThreadPoolExecutor ( #19250 )
2025-02-11 06:27:01 -07:00
Kyle Altendorf
72893f7ecc
Merge branch 'long_lived/datalayer_merkle_blob' into merkle_types
2025-02-10 09:26:28 -05:00
Matt
22b0df5631
Add generate_signed_transaction to WalletProtocol
2025-02-07 15:34:07 -08:00
Matt
40984baf3a
Merge remote-tracking branch 'origin/main' into quex.vc_wallet_gst
2025-02-07 12:22:29 -08:00
Kyle Altendorf
aff2611b37
drop MerkleBlob.get_lineage_by_key_id()
2025-02-07 14:00:50 -05:00
Amine Khaldi
dfedada40a
CHIA-2282 Improve some coins checks in test_select_coins_rpc ( #19206 )
...
Improve some coins checks in test_select_coins_rpc.
2025-02-07 08:52:28 -07:00
Matt
4af203f43a
Bad default
2025-02-05 14:52:08 -08:00
Matt Hauff
482d83788d
Standardize the Wallet API for generate_signed_transaction ( #19209 )
...
* Standardize the `Wallet` API for `generate_signed_transaction`
* Some test fixes
* Fix `create_tandem_xch_tx`
* Fix the other `create_tandem_xch_tx`s
* More test fixes
* More test fixes
* Bad fix from last time
2025-02-05 15:12:16 -07:00
Matt
c9e898ac7b
Bring VCWallet.generate_signed_transaction into conformity with other wallets
2025-02-05 09:26:19 -08:00
Arvid Norberg and almogdepaz
7e265e3da8
use undelying height_to_hash to check main chain ( #19220 )
...
Co-authored-by: almogdepaz <almogdepaz@gmail.com >
2025-02-05 10:12:23 -07:00
Florin Chirica
186f1ad3e6
Lint.
2025-02-05 16:45:42 +02:00
Florin Chirica
8d32169e83
Lint.
2025-02-05 01:00:47 +02:00
Florin Chirica
7a235ed8e0
Use resolved root hash.
2025-02-05 00:55:28 +02:00
Florin Chirica
648a02f79e
Fix test.
2025-02-05 00:54:32 +02:00
Florin Chirica
66d2542897
Fix test.
2025-02-04 22:59:18 +02:00
Matt
66496e2c23
Bad fix from last time
2025-02-04 12:07:53 -08:00
Kyle Altendorf
1761979f43
Merge branch 'long_lived/datalayer_merkle_blob' into use_chia_rs_keyid_valueid_treeindex
2025-02-04 12:57:41 -05:00
Florin Chirica
9d254316d2
Lint.
2025-02-04 19:50:03 +02:00
Florin Chirica
6d9616cd51
Lint.
2025-02-04 19:46:51 +02:00
Florin Chirica
8b1f88e984
Merge branch 'long_lived/datalayer_merkle_blob' into fc.remove_hashes_table
2025-02-04 19:38:55 +02:00
Florin Chirica
a37eaa7c5a
Remove DL hashes table
2025-02-04 19:36:59 +02:00
Matt
645d1197c8
More test fixes
2025-02-04 09:22:49 -08:00
Kyle Altendorf
5a7fdd8c14
check on import that assertions are working ( #19208 )
2025-02-04 09:49:52 -07:00
Kyle Altendorf
4cd5608f41
Merge commit '1d9ab3cf0a1231d318a8d971c8296f4f82555553' into catchup/long_lived_datalayer_merkle_blob_from_main_1d9ab3cf0a1231d318a8d971c8296f4f82555553
2025-02-04 11:39:13 -05:00
Kyle Altendorf
1d9ab3cf0a
fixup test_db_validate_default_1000_blocks() ( #19222 )
...
* fixup `test_db_validate_default_1000_blocks()`
* a different take
2025-02-04 07:31:51 -07:00
Matt
131cc3c785
More test fixes
2025-02-03 08:52:44 -08:00
Amine Khaldi
a1663df662
CHIA-2301 Cover maintaining correct mempool item's height added to mempool value on mempool update or rebuild ( #19217 )
...
Cover maintaining correct mempool item's height added to mempool value on mempool update or rebuild.
2025-02-03 09:18:00 -07:00
Richard Kiss
ee4c7f9573
chia.types no longer depends upon chia.protocols ( #19215 )
2025-02-03 09:17:49 -07:00
Amine Khaldi
ae5cf80cc0
CHIA-2281 Clarify transactions generator check in test_parser ( #19205 )
...
Clarify transactions generator check in test_parser.
2025-02-03 09:16:15 -07:00
Matt
6a1e5f8b0b
Merge remote-tracking branch 'origin/main' into quex.unify_gst_api
2025-02-03 08:15:13 -08:00
Matt
dd6eef201d
Fix the other create_tandem_xch_txs
2025-02-03 08:11:35 -08:00