chia-blockchain 2.5.3rc1__py3-none-any.whl → 2.5.3rc2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- chia/_tests/core/mempool/test_mempool.py +2 -2
- chia/full_node/full_node_api.py +1 -1
- chia/full_node/mempool.py +2 -1
- chia/full_node/mempool_manager.py +2 -2
- {chia_blockchain-2.5.3rc1.dist-info → chia_blockchain-2.5.3rc2.dist-info}/METADATA +1 -1
- {chia_blockchain-2.5.3rc1.dist-info → chia_blockchain-2.5.3rc2.dist-info}/RECORD +9 -9
- {chia_blockchain-2.5.3rc1.dist-info → chia_blockchain-2.5.3rc2.dist-info}/LICENSE +0 -0
- {chia_blockchain-2.5.3rc1.dist-info → chia_blockchain-2.5.3rc2.dist-info}/WHEEL +0 -0
- {chia_blockchain-2.5.3rc1.dist-info → chia_blockchain-2.5.3rc2.dist-info}/entry_points.txt +0 -0
|
@@ -2959,7 +2959,7 @@ async def test_skip_error_items() -> None:
|
|
|
2959
2959
|
|
|
2960
2960
|
result = await mempool.create_block_generator(local_get_unspent_lineage_info, DEFAULT_CONSTANTS, uint32(10))
|
|
2961
2961
|
assert result is not None
|
|
2962
|
-
generator, _, _ = result
|
|
2962
|
+
generator, _, _, _ = result
|
|
2963
2963
|
|
|
2964
2964
|
assert called == 3
|
|
2965
2965
|
assert generator.program == SerializedProgram.from_bytes(bytes.fromhex("ff01ff8080"))
|
|
@@ -3249,7 +3249,7 @@ async def test_create_block_generator() -> None:
|
|
|
3249
3249
|
|
|
3250
3250
|
block = await mempool.create_block_generator(get_unspent_lineage_info_for_puzzle_hash, test_constants, uint32(0))
|
|
3251
3251
|
assert block is not None
|
|
3252
|
-
generator, signature, additions = block
|
|
3252
|
+
generator, signature, additions, _ = block
|
|
3253
3253
|
|
|
3254
3254
|
assert set(additions) == expected_additions
|
|
3255
3255
|
|
chia/full_node/full_node_api.py
CHANGED
|
@@ -865,7 +865,7 @@ class FullNodeAPI:
|
|
|
865
865
|
try:
|
|
866
866
|
block = await self.full_node.mempool_manager.create_block_generator(curr_l_tb.header_hash)
|
|
867
867
|
if block is not None:
|
|
868
|
-
block_generator, aggregate_signature, additions = block
|
|
868
|
+
block_generator, aggregate_signature, additions, removals = block
|
|
869
869
|
except Exception as e:
|
|
870
870
|
self.log.error(f"Traceback: {traceback.format_exc()}")
|
|
871
871
|
self.full_node.log.error(f"Error making spend bundle {e} peak: {peak}")
|
chia/full_node/mempool.py
CHANGED
|
@@ -493,7 +493,7 @@ class Mempool:
|
|
|
493
493
|
constants: ConsensusConstants,
|
|
494
494
|
height: uint32,
|
|
495
495
|
item_inclusion_filter: Optional[Callable[[bytes32], bool]] = None,
|
|
496
|
-
) -> Optional[tuple[BlockGenerator, G2Element, list[Coin]]]:
|
|
496
|
+
) -> Optional[tuple[BlockGenerator, G2Element, list[Coin], list[Coin]]]:
|
|
497
497
|
"""
|
|
498
498
|
height is needed in case we fast-forward a transaction and we need to
|
|
499
499
|
re-run its puzzle.
|
|
@@ -525,6 +525,7 @@ class Mempool:
|
|
|
525
525
|
BlockGenerator(SerializedProgram.from_bytes(block_program), []),
|
|
526
526
|
spend_bundle.aggregated_signature,
|
|
527
527
|
additions,
|
|
528
|
+
removals,
|
|
528
529
|
)
|
|
529
530
|
|
|
530
531
|
async def create_bundle_from_mempool_items(
|
|
@@ -247,9 +247,9 @@ class MempoolManager:
|
|
|
247
247
|
self,
|
|
248
248
|
last_tb_header_hash: bytes32,
|
|
249
249
|
item_inclusion_filter: Optional[Callable[[bytes32], bool]] = None,
|
|
250
|
-
) -> Optional[tuple[BlockGenerator, G2Element, list[Coin]]]:
|
|
250
|
+
) -> Optional[tuple[BlockGenerator, G2Element, list[Coin], list[Coin]]]:
|
|
251
251
|
"""
|
|
252
|
-
Returns a block generator program, the aggregate signature and all additions, for a new block
|
|
252
|
+
Returns a block generator program, the aggregate signature and all additions and removals, for a new block
|
|
253
253
|
"""
|
|
254
254
|
if self.peak is None or self.peak.header_hash != last_tb_header_hash:
|
|
255
255
|
return None
|
|
@@ -118,7 +118,7 @@ chia/_tests/core/large_block.py,sha256=Ifi3lzBcwtBHDI7no3OTemhJMQZc5LlKC32QFNZwM
|
|
|
118
118
|
chia/_tests/core/make_block_generator.py,sha256=4a4Q-lAJUYOjPlJTkMazOna-Rgp4VeNs8ju__OwebK4,2835
|
|
119
119
|
chia/_tests/core/mempool/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
120
120
|
chia/_tests/core/mempool/config.py,sha256=-GncDnWBQwvk5MHfOhjQ4DnUD3VlxrD8lLrt8Gd2D5c,86
|
|
121
|
-
chia/_tests/core/mempool/test_mempool.py,sha256=
|
|
121
|
+
chia/_tests/core/mempool/test_mempool.py,sha256=_3ydxbt-LfIiju-4PW6qgvRSpvaHL7GqrxIIKeITEF4,145386
|
|
122
122
|
chia/_tests/core/mempool/test_mempool_fee_estimator.py,sha256=lZZiTy-zOfrxuIWoQRnk_JLV9OJzuFqQwKwOgMwh3dQ,3714
|
|
123
123
|
chia/_tests/core/mempool/test_mempool_fee_protocol.py,sha256=XUTKqs82IOiiZMGPTPSRhB4Zp8clbus5GlOoUtPtL6A,2165
|
|
124
124
|
chia/_tests/core/mempool/test_mempool_item_queries.py,sha256=BESoQXx8XG2jSJiE12nslC3y_vPWrfCWPCrv4tGl3Js,7027
|
|
@@ -514,13 +514,13 @@ chia/full_node/fee_estimator_interface.py,sha256=y6ICUB_69vkF2whcKFlN8lhmM3bR88y
|
|
|
514
514
|
chia/full_node/fee_history.py,sha256=hcLmy3HLuuATidOQ94wD7MAtzZU9PadKaKt8q3m8fVI,591
|
|
515
515
|
chia/full_node/fee_tracker.py,sha256=vgJbP-zfaeL8tYToZxKm3JoBy5LWog6rD28FHycDBvQ,22626
|
|
516
516
|
chia/full_node/full_node.py,sha256=E7oOM5bnmkQVZ3fhJBkhHK7Z-nxUNL7EAWrTxuVqfM0,166368
|
|
517
|
-
chia/full_node/full_node_api.py,sha256=
|
|
517
|
+
chia/full_node/full_node_api.py,sha256=h9TbahfJ3P8tdSI76jfo683dV6Hwnkxj6C5Ckdo-Wgg,96840
|
|
518
518
|
chia/full_node/full_node_store.py,sha256=1YGBgdS1Kim5FHbv-IMIegKkRRj8Hbqj55X1se7Du_8,47369
|
|
519
519
|
chia/full_node/hint_management.py,sha256=8dVKguFPm-h32GEnMWxX2qyITo4WVO1YBKaPFKCeni0,2285
|
|
520
520
|
chia/full_node/hint_store.py,sha256=0m6y0_f0rhGIKqfAmhFSGEeyM3LCN-dv-bR1OfIr4Uo,3666
|
|
521
|
-
chia/full_node/mempool.py,sha256=
|
|
521
|
+
chia/full_node/mempool.py,sha256=VK323fsHtnbn_zQMqE7dcBAf37_4K7X_wfYLmjvLK6c,28150
|
|
522
522
|
chia/full_node/mempool_check_conditions.py,sha256=r_NXwXH5nLvO-YbhcZozrMIYOdHqyMRyDzBCVoIX1QA,5606
|
|
523
|
-
chia/full_node/mempool_manager.py,sha256=
|
|
523
|
+
chia/full_node/mempool_manager.py,sha256=upZud8YglP47m-xmH2GvJVeUQdjLDAxURko_5hfxvho,46503
|
|
524
524
|
chia/full_node/pending_tx_cache.py,sha256=jEL004L7r1n7ppeSdLVe6nsVNfYw0jU86DHmRYe1rH4,3657
|
|
525
525
|
chia/full_node/signage_point.py,sha256=vtHQk3P0HLfOVpenGqmgqBoWnf_WCETHRplL_id9KyA,414
|
|
526
526
|
chia/full_node/subscriptions.py,sha256=ItPMnGTgrfdzoeyC5TBbamrVWKvYnpabSLYUDBI5bmI,8706
|
|
@@ -884,8 +884,8 @@ chia/wallet/wallet_transaction_store.py,sha256=PoSJLKuNNx0X8KVSQ92C5zGKIbBBDtPVW
|
|
|
884
884
|
chia/wallet/wallet_user_store.py,sha256=rXiQpk5g8t1X0Chx0bValcQsHonjB1oQ_F_K16bphDA,4089
|
|
885
885
|
chia/wallet/wallet_weight_proof_handler.py,sha256=d3UvjSP5X2gVIephBR9grutvYRC58Vr-HnV1ezJXrJ8,4914
|
|
886
886
|
mozilla-ca/cacert.pem,sha256=UKYnfsaRE_AMX9RfCei5eks-MtqjXTqVqzATelU4bO8,233263
|
|
887
|
-
chia_blockchain-2.5.
|
|
888
|
-
chia_blockchain-2.5.
|
|
889
|
-
chia_blockchain-2.5.
|
|
890
|
-
chia_blockchain-2.5.
|
|
891
|
-
chia_blockchain-2.5.
|
|
887
|
+
chia_blockchain-2.5.3rc2.dist-info/LICENSE,sha256=0tuU-jTzeRDJJaxF2YCEpBwbywgpbrVSXq1i6fJq63U,11347
|
|
888
|
+
chia_blockchain-2.5.3rc2.dist-info/METADATA,sha256=2Ex0AKqx5QJetDXhuESpDJsjUxgIo3iZrK8jBdtyO14,10673
|
|
889
|
+
chia_blockchain-2.5.3rc2.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
890
|
+
chia_blockchain-2.5.3rc2.dist-info/entry_points.txt,sha256=GL2-UvicPVdKz72IP4shnmV3XImfoD5pMzoURfoAYk4,742
|
|
891
|
+
chia_blockchain-2.5.3rc2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|