chia-blockchain 2.5.0rc2__py3-none-any.whl → 2.5.1rc2__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/README.md +1 -1
- chia/_tests/blockchain/blockchain_test_utils.py +24 -26
- chia/_tests/blockchain/test_augmented_chain.py +6 -8
- chia/_tests/blockchain/test_blockchain.py +409 -307
- chia/_tests/blockchain/test_blockchain_transactions.py +56 -75
- chia/_tests/blockchain/test_build_chains.py +11 -13
- chia/_tests/blockchain/test_get_block_generator.py +8 -8
- chia/_tests/blockchain/test_lookup_fork_chain.py +3 -4
- chia/_tests/build-init-files.py +3 -4
- chia/_tests/build-job-matrix.py +9 -9
- chia/_tests/check_sql_statements.py +2 -3
- chia/_tests/clvm/benchmark_costs.py +1 -1
- chia/_tests/clvm/coin_store.py +7 -5
- chia/_tests/clvm/test_chialisp_deserialization.py +8 -8
- chia/_tests/clvm/test_condition_codes.py +2 -2
- chia/_tests/clvm/test_curry_and_treehash.py +2 -4
- chia/_tests/clvm/test_message_conditions.py +184 -0
- chia/_tests/clvm/test_puzzle_compression.py +1 -2
- chia/_tests/clvm/test_puzzle_drivers.py +3 -3
- chia/_tests/clvm/test_puzzles.py +13 -18
- chia/_tests/clvm/test_singletons.py +17 -17
- chia/_tests/clvm/test_spend_sim.py +7 -7
- chia/_tests/cmds/cmd_test_utils.py +42 -45
- chia/_tests/cmds/conftest.py +2 -2
- chia/_tests/cmds/test_click_types.py +21 -16
- chia/_tests/cmds/test_cmd_framework.py +255 -35
- chia/_tests/cmds/test_cmds_util.py +2 -2
- chia/_tests/cmds/test_daemon.py +3 -3
- chia/_tests/cmds/test_dev_gh.py +131 -0
- chia/_tests/cmds/test_farm_cmd.py +1 -2
- chia/_tests/cmds/test_show.py +6 -6
- chia/_tests/cmds/test_tx_config_args.py +2 -1
- chia/_tests/cmds/wallet/test_dao.py +23 -23
- chia/_tests/cmds/wallet/test_did.py +29 -29
- chia/_tests/cmds/wallet/test_nft.py +24 -23
- chia/_tests/cmds/wallet/test_notifications.py +8 -8
- chia/_tests/cmds/wallet/test_tx_decorators.py +3 -3
- chia/_tests/cmds/wallet/test_vcs.py +97 -73
- chia/_tests/cmds/wallet/test_wallet.py +74 -75
- chia/_tests/cmds/wallet/test_wallet_check.py +5 -7
- chia/_tests/conftest.py +153 -38
- chia/_tests/connection_utils.py +7 -6
- chia/_tests/core/cmds/test_beta.py +3 -3
- chia/_tests/core/cmds/test_keys.py +6 -6
- chia/_tests/core/cmds/test_wallet.py +3 -3
- chia/_tests/core/consensus/test_block_creation.py +3 -5
- chia/_tests/core/custom_types/test_coin.py +1 -3
- chia/_tests/core/custom_types/test_spend_bundle.py +3 -4
- chia/_tests/core/daemon/test_daemon.py +58 -58
- chia/_tests/core/daemon/test_keychain_proxy.py +2 -1
- chia/_tests/core/data_layer/conftest.py +4 -3
- chia/_tests/core/data_layer/test_data_cli.py +1 -2
- chia/_tests/core/data_layer/test_data_layer.py +5 -5
- chia/_tests/core/data_layer/test_data_layer_util.py +8 -9
- chia/_tests/core/data_layer/test_data_rpc.py +75 -93
- chia/_tests/core/data_layer/test_data_store.py +38 -37
- chia/_tests/core/data_layer/test_data_store_schema.py +11 -11
- chia/_tests/core/data_layer/util.py +11 -10
- chia/_tests/core/farmer/test_farmer_api.py +6 -4
- chia/_tests/core/full_node/full_sync/test_full_sync.py +5 -10
- chia/_tests/core/full_node/ram_db.py +2 -2
- chia/_tests/core/full_node/stores/test_block_store.py +113 -11
- chia/_tests/core/full_node/stores/test_coin_store.py +37 -28
- chia/_tests/core/full_node/stores/test_full_node_store.py +34 -30
- chia/_tests/core/full_node/stores/test_hint_store.py +3 -4
- chia/_tests/core/full_node/test_address_manager.py +2 -2
- chia/_tests/core/full_node/test_block_height_map.py +1 -1
- chia/_tests/core/full_node/test_conditions.py +10 -12
- chia/_tests/core/full_node/test_full_node.py +2077 -1822
- chia/_tests/core/full_node/test_generator_tools.py +4 -4
- chia/_tests/core/full_node/test_hint_management.py +2 -2
- chia/_tests/core/full_node/test_performance.py +2 -5
- chia/_tests/core/full_node/test_subscriptions.py +4 -4
- chia/_tests/core/full_node/test_tx_processing_queue.py +5 -4
- chia/_tests/core/make_block_generator.py +5 -7
- chia/_tests/core/mempool/test_mempool.py +205 -208
- chia/_tests/core/mempool/test_mempool_fee_protocol.py +5 -5
- chia/_tests/core/mempool/test_mempool_item_queries.py +2 -4
- chia/_tests/core/mempool/test_mempool_manager.py +109 -80
- chia/_tests/core/mempool/test_mempool_performance.py +3 -4
- chia/_tests/core/mempool/test_singleton_fast_forward.py +12 -12
- chia/_tests/core/server/flood.py +6 -4
- chia/_tests/core/server/serve.py +10 -7
- chia/_tests/core/server/test_api_protocol.py +21 -0
- chia/_tests/core/server/test_capabilities.py +3 -5
- chia/_tests/core/server/test_dos.py +15 -16
- chia/_tests/core/server/test_loop.py +14 -10
- chia/_tests/core/server/test_node_discovery.py +1 -2
- chia/_tests/core/server/test_rate_limits.py +156 -44
- chia/_tests/core/server/test_server.py +8 -7
- chia/_tests/core/services/test_services.py +59 -37
- chia/_tests/core/ssl/test_ssl.py +5 -3
- chia/_tests/core/test_cost_calculation.py +5 -6
- chia/_tests/core/test_crawler.py +2 -2
- chia/_tests/core/test_db_conversion.py +5 -4
- chia/_tests/core/test_db_validation.py +6 -5
- chia/_tests/core/test_farmer_harvester_rpc.py +8 -7
- chia/_tests/core/test_filter.py +3 -5
- chia/_tests/core/test_full_node_rpc.py +64 -90
- chia/_tests/core/test_merkle_set.py +10 -10
- chia/_tests/core/test_program.py +2 -4
- chia/_tests/core/test_rpc_util.py +1 -2
- chia/_tests/core/test_seeder.py +124 -12
- chia/_tests/core/util/test_block_cache.py +5 -5
- chia/_tests/core/util/test_cached_bls.py +3 -3
- chia/_tests/core/util/test_config.py +13 -13
- chia/_tests/core/util/test_files.py +2 -2
- chia/_tests/core/util/test_jsonify.py +9 -9
- chia/_tests/core/util/test_keychain.py +13 -5
- chia/_tests/core/util/test_keyring_wrapper.py +6 -5
- chia/_tests/core/util/test_log_exceptions.py +3 -3
- chia/_tests/core/util/test_streamable.py +38 -38
- chia/_tests/db/test_db_wrapper.py +13 -12
- chia/_tests/environments/common.py +2 -2
- chia/_tests/environments/full_node.py +2 -2
- chia/_tests/environments/wallet.py +109 -48
- chia/_tests/farmer_harvester/test_farmer.py +35 -35
- chia/_tests/farmer_harvester/test_farmer_harvester.py +17 -17
- chia/_tests/farmer_harvester/test_filter_prefix_bits.py +6 -5
- chia/_tests/farmer_harvester/test_third_party_harvesters.py +73 -46
- chia/_tests/fee_estimation/test_fee_estimation_integration.py +8 -8
- chia/_tests/fee_estimation/test_fee_estimation_rpc.py +47 -47
- chia/_tests/fee_estimation/test_fee_estimation_unit_tests.py +6 -7
- chia/_tests/fee_estimation/test_mempoolitem_height_added.py +11 -11
- chia/_tests/generator/test_compression.py +13 -30
- chia/_tests/generator/test_generator_types.py +3 -3
- chia/_tests/generator/test_rom.py +7 -9
- chia/_tests/plot_sync/test_delta.py +2 -3
- chia/_tests/plot_sync/test_plot_sync.py +25 -24
- chia/_tests/plot_sync/test_receiver.py +9 -9
- chia/_tests/plot_sync/test_sender.py +1 -1
- chia/_tests/plot_sync/test_sync_simulated.py +27 -26
- chia/_tests/plot_sync/util.py +2 -1
- chia/_tests/plotting/test_plot_manager.py +54 -11
- chia/_tests/plotting/util.py +2 -3
- chia/_tests/pools/test_pool_cli_parsing.py +128 -0
- chia/_tests/pools/test_pool_cmdline.py +993 -15
- chia/_tests/pools/test_pool_config.py +3 -5
- chia/_tests/pools/test_pool_puzzles_lifecycle.py +10 -11
- chia/_tests/pools/test_pool_rpc.py +203 -90
- chia/_tests/pools/test_pool_wallet.py +12 -8
- chia/_tests/pools/test_wallet_pool_store.py +3 -3
- chia/_tests/process_junit.py +16 -17
- chia/_tests/rpc/test_rpc_client.py +59 -2
- chia/_tests/rpc/test_rpc_server.py +183 -0
- chia/_tests/simulation/test_simulation.py +5 -5
- chia/_tests/simulation/test_simulator.py +8 -10
- chia/_tests/simulation/test_start_simulator.py +5 -4
- chia/_tests/timelord/test_new_peak.py +19 -19
- chia/_tests/tools/test_run_block.py +1 -2
- chia/_tests/tools/test_virtual_project.py +591 -0
- chia/_tests/util/benchmark_cost.py +9 -9
- chia/_tests/util/benchmarks.py +1 -2
- chia/_tests/util/blockchain.py +12 -11
- chia/_tests/util/blockchain_mock.py +15 -15
- chia/_tests/util/build_network_protocol_files.py +12 -12
- chia/_tests/util/db_connection.py +3 -2
- chia/_tests/util/full_sync.py +14 -6
- chia/_tests/util/gen_ssl_certs.py +4 -5
- chia/_tests/util/generator_tools_testing.py +5 -7
- chia/_tests/util/get_name_puzzle_conditions.py +52 -0
- chia/_tests/util/key_tool.py +2 -3
- chia/_tests/util/misc.py +59 -106
- chia/_tests/util/network_protocol_data.py +7 -9
- chia/_tests/util/protocol_messages_json.py +112 -111
- chia/_tests/util/rpc.py +3 -0
- chia/_tests/util/run_block.py +16 -16
- chia/_tests/util/setup_nodes.py +25 -23
- chia/{clvm → _tests/util}/spend_sim.py +59 -55
- chia/_tests/util/split_managers.py +12 -9
- chia/_tests/util/temp_file.py +1 -1
- chia/_tests/util/test_action_scope.py +2 -1
- chia/_tests/util/test_async_pool.py +8 -8
- chia/_tests/util/test_build_job_matrix.py +2 -3
- chia/_tests/util/test_condition_tools.py +4 -6
- chia/_tests/util/test_config.py +5 -5
- chia/_tests/util/test_dump_keyring.py +1 -1
- chia/_tests/util/test_full_block_utils.py +19 -11
- chia/_tests/util/test_limited_semaphore.py +4 -3
- chia/_tests/util/test_logging_filter.py +2 -3
- chia/_tests/util/test_misc.py +29 -28
- chia/_tests/util/test_network.py +32 -31
- chia/_tests/util/test_network_protocol_files.py +2 -3
- chia/_tests/util/test_network_protocol_json.py +1 -0
- chia/_tests/util/test_network_protocol_test.py +18 -19
- chia/_tests/util/test_paginator.py +3 -4
- chia/_tests/util/test_pprint.py +1 -1
- chia/_tests/util/test_priority_mutex.py +18 -17
- chia/_tests/util/test_recursive_replace.py +2 -2
- chia/_tests/util/test_testnet_overrides.py +3 -3
- chia/_tests/util/test_timing.py +1 -1
- chia/_tests/util/test_trusted_peer.py +2 -2
- chia/_tests/util/time_out_assert.py +43 -6
- chia/_tests/wallet/cat_wallet/test_cat_lifecycle.py +13 -13
- chia/_tests/wallet/cat_wallet/test_cat_outer_puzzle.py +1 -1
- chia/_tests/wallet/cat_wallet/test_cat_wallet.py +117 -29
- chia/_tests/wallet/cat_wallet/test_offer_lifecycle.py +15 -15
- chia/_tests/wallet/cat_wallet/test_trades.py +50 -28
- chia/_tests/wallet/clawback/test_clawback_decorator.py +3 -5
- chia/_tests/wallet/clawback/test_clawback_lifecycle.py +6 -6
- chia/_tests/wallet/clawback/test_clawback_metadata.py +1 -2
- chia/_tests/wallet/conftest.py +135 -74
- chia/_tests/wallet/dao_wallet/test_dao_clvm.py +25 -17
- chia/_tests/wallet/dao_wallet/test_dao_wallets.py +75 -75
- chia/_tests/wallet/db_wallet/test_db_graftroot.py +10 -12
- chia/_tests/wallet/db_wallet/test_dl_offers.py +6 -6
- chia/_tests/wallet/db_wallet/test_dl_wallet.py +18 -18
- chia/_tests/wallet/did_wallet/test_did.py +1277 -474
- chia/_tests/wallet/nft_wallet/test_nft_1_offers.py +12 -11
- chia/_tests/wallet/nft_wallet/test_nft_bulk_mint.py +115 -105
- chia/_tests/wallet/nft_wallet/test_nft_lifecycle.py +6 -7
- chia/_tests/wallet/nft_wallet/test_nft_offers.py +16 -16
- chia/_tests/wallet/nft_wallet/test_nft_puzzles.py +3 -3
- chia/_tests/wallet/nft_wallet/test_nft_wallet.py +38 -12
- chia/_tests/wallet/nft_wallet/test_ownership_outer_puzzle.py +1 -1
- chia/_tests/wallet/rpc/test_dl_wallet_rpc.py +31 -33
- chia/_tests/wallet/rpc/test_wallet_rpc.py +218 -171
- chia/_tests/wallet/simple_sync/test_simple_sync_protocol.py +36 -37
- chia/_tests/wallet/sync/test_wallet_sync.py +241 -78
- chia/_tests/wallet/test_address_type.py +20 -20
- chia/_tests/wallet/test_clvm_streamable.py +5 -5
- chia/_tests/wallet/test_coin_management.py +354 -0
- chia/_tests/wallet/test_coin_selection.py +34 -35
- chia/_tests/wallet/test_conditions.py +28 -16
- chia/_tests/wallet/test_debug_spend_bundle.py +156 -14
- chia/_tests/wallet/test_new_wallet_protocol.py +29 -31
- chia/_tests/wallet/test_nft_store.py +1 -2
- chia/_tests/wallet/test_notifications.py +2 -2
- chia/_tests/wallet/test_offer_parsing_performance.py +1 -1
- chia/_tests/wallet/test_puzzle_store.py +2 -3
- chia/_tests/wallet/test_sign_coin_spends.py +3 -3
- chia/_tests/wallet/test_signer_protocol.py +33 -34
- chia/_tests/wallet/test_singleton_lifecycle_fast.py +29 -29
- chia/_tests/wallet/test_taproot.py +1 -1
- chia/_tests/wallet/test_transaction_store.py +23 -19
- chia/_tests/wallet/test_util.py +36 -32
- chia/_tests/wallet/test_wallet.py +37 -37
- chia/_tests/wallet/test_wallet_action_scope.py +8 -8
- chia/_tests/wallet/test_wallet_blockchain.py +4 -6
- chia/_tests/wallet/test_wallet_coin_store.py +34 -34
- chia/_tests/wallet/test_wallet_node.py +69 -72
- chia/_tests/wallet/test_wallet_retry.py +3 -3
- chia/_tests/wallet/test_wallet_state_manager.py +12 -5
- chia/_tests/wallet/test_wallet_trade_store.py +2 -2
- chia/_tests/wallet/test_wallet_utils.py +5 -4
- chia/_tests/wallet/vc_wallet/test_cr_outer_puzzle.py +3 -3
- chia/_tests/wallet/vc_wallet/test_vc_lifecycle.py +18 -18
- chia/_tests/wallet/vc_wallet/test_vc_wallet.py +69 -40
- chia/_tests/wallet/wallet_block_tools.py +27 -27
- chia/_tests/weight_proof/test_weight_proof.py +30 -30
- chia/apis.py +19 -0
- chia/cmds/beta.py +8 -7
- chia/cmds/beta_funcs.py +15 -11
- chia/cmds/check_wallet_db.py +29 -27
- chia/cmds/chia.py +17 -9
- chia/cmds/cmd_classes.py +87 -79
- chia/cmds/cmd_helpers.py +242 -0
- chia/cmds/cmds_util.py +56 -66
- chia/cmds/coin_funcs.py +168 -153
- chia/cmds/coins.py +156 -194
- chia/cmds/configure.py +4 -3
- chia/cmds/dao.py +89 -33
- chia/cmds/dao_funcs.py +55 -33
- chia/cmds/data.py +7 -6
- chia/cmds/data_funcs.py +26 -21
- chia/cmds/db.py +4 -3
- chia/cmds/db_backup_func.py +2 -2
- chia/cmds/db_upgrade_func.py +3 -3
- chia/cmds/db_validate_func.py +2 -2
- chia/cmds/dev.py +2 -0
- chia/cmds/farm.py +18 -5
- chia/cmds/farm_funcs.py +17 -24
- chia/cmds/gh.py +275 -0
- chia/cmds/init.py +4 -11
- chia/cmds/init_funcs.py +9 -9
- chia/cmds/installers.py +5 -3
- chia/cmds/keys.py +56 -39
- chia/cmds/keys_funcs.py +30 -31
- chia/cmds/netspace.py +6 -3
- chia/cmds/netspace_funcs.py +3 -2
- chia/cmds/param_types.py +16 -6
- chia/cmds/passphrase.py +8 -7
- chia/cmds/passphrase_funcs.py +7 -61
- chia/cmds/peer.py +2 -1
- chia/cmds/peer_funcs.py +5 -5
- chia/cmds/plotnft.py +207 -153
- chia/cmds/plotnft_funcs.py +205 -174
- chia/cmds/plots.py +14 -6
- chia/cmds/plotters.py +2 -1
- chia/cmds/rpc.py +48 -28
- chia/cmds/show.py +2 -1
- chia/cmds/show_funcs.py +7 -6
- chia/cmds/signer.py +50 -58
- chia/cmds/sim.py +22 -14
- chia/cmds/sim_funcs.py +11 -11
- chia/cmds/start.py +3 -3
- chia/cmds/start_funcs.py +9 -12
- chia/cmds/stop.py +4 -3
- chia/cmds/units.py +1 -3
- chia/cmds/wallet.py +252 -96
- chia/cmds/wallet_funcs.py +217 -143
- chia/consensus/block_body_validation.py +133 -86
- chia/consensus/block_creation.py +42 -21
- chia/consensus/block_header_validation.py +32 -37
- chia/consensus/block_record.py +1 -2
- chia/consensus/blockchain.py +167 -180
- chia/consensus/blockchain_interface.py +10 -10
- chia/consensus/constants.py +2 -2
- chia/consensus/default_constants.py +3 -4
- chia/consensus/difficulty_adjustment.py +5 -5
- chia/consensus/find_fork_point.py +5 -5
- chia/consensus/full_block_to_block_record.py +4 -4
- chia/consensus/get_block_challenge.py +2 -2
- chia/consensus/get_block_generator.py +4 -3
- chia/consensus/multiprocess_validation.py +207 -304
- chia/consensus/vdf_info_computation.py +3 -3
- chia/daemon/client.py +46 -27
- chia/daemon/keychain_proxy.py +10 -9
- chia/daemon/keychain_server.py +18 -18
- chia/daemon/server.py +103 -113
- chia/daemon/windows_signal.py +2 -2
- chia/data_layer/data_layer.py +64 -76
- chia/data_layer/data_layer_api.py +8 -0
- chia/data_layer/data_layer_errors.py +3 -3
- chia/data_layer/data_layer_server.py +2 -2
- chia/data_layer/data_layer_util.py +71 -71
- chia/data_layer/data_layer_wallet.py +63 -67
- chia/data_layer/data_store.py +72 -72
- chia/data_layer/dl_wallet_store.py +10 -10
- chia/data_layer/download_data.py +5 -5
- chia/data_layer/s3_plugin_service.py +9 -9
- chia/data_layer/util/benchmark.py +0 -1
- chia/data_layer/util/plugin.py +2 -3
- chia/farmer/farmer.py +46 -43
- chia/farmer/farmer_api.py +27 -21
- chia/full_node/block_height_map.py +6 -6
- chia/full_node/block_store.py +41 -35
- chia/full_node/coin_store.py +42 -41
- chia/full_node/fee_estimate.py +2 -2
- chia/full_node/fee_estimation.py +1 -2
- chia/full_node/fee_history.py +5 -6
- chia/full_node/fee_tracker.py +24 -24
- chia/full_node/full_node.py +574 -300
- chia/full_node/full_node_api.py +181 -130
- chia/full_node/full_node_store.py +43 -43
- chia/full_node/hint_management.py +4 -4
- chia/full_node/hint_store.py +9 -10
- chia/full_node/mempool.py +25 -19
- chia/full_node/mempool_check_conditions.py +11 -42
- chia/full_node/mempool_manager.py +48 -53
- chia/full_node/pending_tx_cache.py +9 -9
- chia/full_node/subscriptions.py +23 -24
- chia/full_node/sync_store.py +8 -7
- chia/full_node/tx_processing_queue.py +3 -3
- chia/full_node/util/__init__.py +0 -0
- chia/full_node/weight_proof.py +79 -78
- chia/harvester/harvester.py +9 -8
- chia/harvester/harvester_api.py +19 -13
- chia/introducer/introducer.py +7 -5
- chia/introducer/introducer_api.py +9 -3
- chia/legacy/keyring.py +6 -5
- chia/plot_sync/delta.py +8 -8
- chia/plot_sync/receiver.py +12 -11
- chia/plot_sync/sender.py +15 -12
- chia/plotters/bladebit.py +12 -12
- chia/plotters/chiapos.py +2 -2
- chia/plotters/madmax.py +8 -8
- chia/plotters/plotters.py +6 -6
- chia/plotters/plotters_util.py +6 -4
- chia/plotting/cache.py +8 -7
- chia/plotting/check_plots.py +8 -8
- chia/plotting/create_plots.py +6 -6
- chia/plotting/manager.py +22 -22
- chia/plotting/util.py +31 -19
- chia/pools/pool_config.py +7 -7
- chia/pools/pool_puzzles.py +16 -16
- chia/pools/pool_wallet.py +64 -57
- chia/pools/pool_wallet_info.py +3 -3
- chia/protocols/full_node_protocol.py +3 -3
- chia/protocols/harvester_protocol.py +12 -12
- chia/protocols/introducer_protocol.py +1 -2
- chia/protocols/protocol_message_types.py +4 -4
- chia/protocols/protocol_state_machine.py +2 -2
- chia/protocols/protocol_timing.py +1 -0
- chia/protocols/shared_protocol.py +3 -3
- chia/protocols/timelord_protocol.py +2 -2
- chia/protocols/wallet_protocol.py +33 -33
- chia/rpc/crawler_rpc_api.py +12 -7
- chia/rpc/data_layer_rpc_api.py +49 -44
- chia/rpc/data_layer_rpc_client.py +41 -41
- chia/rpc/data_layer_rpc_util.py +7 -11
- chia/rpc/farmer_rpc_api.py +32 -27
- chia/rpc/farmer_rpc_client.py +14 -14
- chia/rpc/full_node_rpc_api.py +53 -48
- chia/rpc/full_node_rpc_client.py +30 -30
- chia/rpc/harvester_rpc_api.py +16 -11
- chia/rpc/harvester_rpc_client.py +6 -6
- chia/rpc/rpc_client.py +34 -14
- chia/rpc/rpc_server.py +117 -43
- chia/rpc/timelord_rpc_api.py +9 -4
- chia/rpc/util.py +11 -211
- chia/rpc/wallet_request_types.py +276 -60
- chia/rpc/wallet_rpc_api.py +563 -399
- chia/rpc/wallet_rpc_client.py +220 -250
- chia/seeder/crawl_store.py +6 -8
- chia/seeder/crawler.py +23 -36
- chia/seeder/crawler_api.py +28 -22
- chia/seeder/dns_server.py +99 -50
- chia/seeder/start_crawler.py +13 -9
- chia/server/address_manager.py +19 -19
- chia/server/address_manager_store.py +17 -17
- chia/server/api_protocol.py +106 -1
- chia/server/capabilities.py +3 -3
- chia/server/chia_policy.py +17 -16
- chia/server/introducer_peers.py +3 -3
- chia/server/node_discovery.py +34 -38
- chia/server/rate_limit_numbers.py +26 -16
- chia/server/rate_limits.py +67 -27
- chia/server/server.py +52 -31
- chia/server/signal_handlers.py +6 -3
- chia/server/ssl_context.py +5 -5
- chia/server/start_data_layer.py +37 -23
- chia/server/start_farmer.py +28 -16
- chia/server/start_full_node.py +29 -23
- chia/server/start_harvester.py +28 -15
- chia/server/start_introducer.py +27 -15
- chia/server/start_service.py +17 -29
- chia/server/start_timelord.py +25 -18
- chia/server/start_wallet.py +22 -18
- chia/server/upnp.py +4 -3
- chia/server/ws_connection.py +68 -54
- chia/simulator/add_blocks_in_batches.py +54 -0
- chia/simulator/block_tools.py +65 -64
- chia/simulator/full_node_simulator.py +66 -74
- chia/simulator/setup_services.py +10 -9
- chia/simulator/simulator_full_node_rpc_api.py +12 -14
- chia/simulator/simulator_full_node_rpc_client.py +3 -5
- chia/simulator/simulator_test_tools.py +8 -7
- chia/simulator/socket.py +1 -4
- chia/simulator/ssl_certs.py +5 -5
- chia/simulator/ssl_certs_1.py +2 -4
- chia/simulator/ssl_certs_10.py +2 -4
- chia/simulator/ssl_certs_2.py +2 -4
- chia/simulator/ssl_certs_3.py +2 -4
- chia/simulator/ssl_certs_4.py +2 -4
- chia/simulator/ssl_certs_5.py +2 -4
- chia/simulator/ssl_certs_6.py +2 -4
- chia/simulator/ssl_certs_7.py +2 -4
- chia/simulator/ssl_certs_8.py +2 -4
- chia/simulator/ssl_certs_9.py +2 -4
- chia/simulator/start_simulator.py +14 -6
- chia/simulator/wallet_tools.py +21 -20
- chia/ssl/create_ssl.py +11 -11
- chia/timelord/iters_from_block.py +2 -2
- chia/timelord/timelord.py +57 -33
- chia/timelord/timelord_api.py +12 -6
- chia/timelord/timelord_launcher.py +10 -8
- chia/timelord/timelord_state.py +5 -5
- chia/types/block_protocol.py +2 -2
- chia/types/blockchain_format/coin.py +3 -3
- chia/types/blockchain_format/program.py +17 -18
- chia/types/blockchain_format/tree_hash.py +9 -9
- chia/types/coin_spend.py +8 -8
- chia/types/condition_with_args.py +1 -2
- chia/types/eligible_coin_spends.py +16 -15
- chia/types/generator_types.py +1 -2
- chia/types/internal_mempool_item.py +1 -2
- chia/types/mempool_item.py +7 -7
- chia/types/mempool_submission_status.py +2 -2
- chia/types/peer_info.py +1 -1
- chia/types/spend_bundle.py +1 -2
- chia/types/transaction_queue_entry.py +2 -2
- chia/types/unfinished_header_block.py +2 -2
- chia/types/validation_state.py +14 -0
- chia/types/weight_proof.py +5 -6
- chia/util/action_scope.py +8 -8
- chia/util/async_pool.py +6 -4
- chia/util/augmented_chain.py +13 -9
- chia/util/batches.py +5 -2
- chia/util/bech32m.py +14 -11
- chia/util/beta_metrics.py +5 -4
- chia/util/block_cache.py +5 -5
- chia/util/byte_types.py +2 -0
- chia/util/check_fork_next_block.py +3 -2
- chia/util/chia_logging.py +41 -21
- chia/util/collection.py +3 -3
- chia/util/condition_tools.py +18 -18
- chia/util/config.py +26 -25
- chia/util/cpu.py +2 -0
- chia/util/db_synchronous.py +2 -0
- chia/util/db_version.py +2 -0
- chia/util/db_wrapper.py +13 -10
- chia/util/default_root.py +17 -0
- chia/util/dump_keyring.py +6 -6
- chia/util/errors.py +5 -3
- chia/util/file_keyring.py +22 -33
- chia/util/files.py +2 -0
- chia/util/full_block_utils.py +31 -7
- chia/util/generator_tools.py +18 -8
- chia/util/hash.py +3 -1
- chia/util/initial-config.yaml +19 -0
- chia/util/inline_executor.py +2 -0
- chia/util/ip_address.py +39 -0
- chia/util/json_util.py +0 -4
- chia/util/keychain.py +27 -24
- chia/util/keyring_wrapper.py +65 -4
- chia/util/limited_semaphore.py +3 -1
- chia/util/lock.py +4 -2
- chia/util/log_exceptions.py +5 -2
- chia/util/logging.py +3 -1
- chia/util/lru_cache.py +2 -0
- chia/util/math.py +4 -4
- chia/util/network.py +15 -73
- chia/util/paginator.py +3 -1
- chia/util/path.py +2 -0
- chia/util/permissions.py +3 -2
- chia/util/prev_transaction_block.py +1 -3
- chia/util/priority_mutex.py +6 -3
- chia/util/profiler.py +7 -4
- chia/util/recursive_replace.py +2 -0
- chia/util/safe_cancel_task.py +2 -0
- chia/util/service_groups.py +2 -2
- chia/util/setproctitle.py +2 -0
- chia/util/significant_bits.py +2 -0
- chia/util/ssl_check.py +11 -11
- chia/util/streamable.py +44 -56
- chia/util/task_referencer.py +59 -0
- chia/util/task_timing.py +22 -18
- chia/util/timing.py +4 -1
- chia/util/vdf_prover.py +2 -3
- chia/util/virtual_project_analysis.py +540 -0
- chia/util/ws_message.py +6 -6
- chia/wallet/cat_wallet/cat_info.py +3 -3
- chia/wallet/cat_wallet/cat_outer_puzzle.py +3 -3
- chia/wallet/cat_wallet/cat_utils.py +5 -4
- chia/wallet/cat_wallet/cat_wallet.py +56 -70
- chia/wallet/cat_wallet/dao_cat_info.py +3 -3
- chia/wallet/cat_wallet/dao_cat_wallet.py +18 -18
- chia/wallet/cat_wallet/lineage_store.py +2 -2
- chia/wallet/coin_selection.py +15 -15
- chia/wallet/conditions.py +257 -71
- chia/wallet/dao_wallet/dao_info.py +4 -4
- chia/wallet/dao_wallet/dao_utils.py +43 -42
- chia/wallet/dao_wallet/dao_wallet.py +66 -68
- chia/wallet/db_wallet/db_wallet_puzzles.py +12 -8
- chia/wallet/derive_keys.py +11 -11
- chia/wallet/did_wallet/did_info.py +3 -3
- chia/wallet/did_wallet/did_wallet.py +56 -47
- chia/wallet/did_wallet/did_wallet_puzzles.py +7 -6
- chia/wallet/lineage_proof.py +4 -4
- chia/wallet/nft_wallet/metadata_outer_puzzle.py +2 -2
- chia/wallet/nft_wallet/nft_info.py +4 -4
- chia/wallet/nft_wallet/nft_puzzles.py +16 -16
- chia/wallet/nft_wallet/nft_wallet.py +90 -89
- chia/wallet/nft_wallet/ownership_outer_puzzle.py +2 -2
- chia/wallet/nft_wallet/singleton_outer_puzzle.py +2 -2
- chia/wallet/nft_wallet/transfer_program_puzzle.py +2 -2
- chia/wallet/nft_wallet/uncurry_nft.py +2 -2
- chia/wallet/notification_manager.py +5 -5
- chia/wallet/notification_store.py +6 -6
- chia/wallet/outer_puzzles.py +2 -2
- chia/wallet/payment.py +4 -5
- chia/wallet/puzzle_drivers.py +4 -4
- chia/wallet/puzzles/clawback/drivers.py +5 -5
- chia/wallet/puzzles/clawback/puzzle_decorator.py +7 -7
- chia/wallet/puzzles/load_clvm.py +2 -3
- chia/wallet/puzzles/p2_conditions.py +1 -2
- chia/wallet/puzzles/p2_delegated_conditions.py +1 -2
- chia/wallet/puzzles/p2_delegated_puzzle.py +2 -3
- chia/wallet/puzzles/p2_delegated_puzzle_or_hidden_puzzle.py +3 -4
- chia/wallet/puzzles/p2_m_of_n_delegate_direct.py +1 -2
- chia/wallet/puzzles/p2_puzzle_hash.py +1 -2
- chia/wallet/puzzles/puzzle_utils.py +7 -7
- chia/wallet/puzzles/singleton_top_layer.py +6 -5
- chia/wallet/puzzles/singleton_top_layer_v1_1.py +6 -5
- chia/wallet/puzzles/tails.py +34 -30
- chia/wallet/signer_protocol.py +7 -8
- chia/wallet/singleton.py +4 -4
- chia/wallet/trade_manager.py +155 -141
- chia/wallet/trade_record.py +5 -5
- chia/wallet/trading/offer.py +100 -101
- chia/wallet/trading/trade_store.py +14 -14
- chia/wallet/transaction_record.py +31 -16
- chia/wallet/util/address_type.py +4 -4
- chia/wallet/util/blind_signer_tl.py +8 -12
- chia/wallet/util/clvm_streamable.py +15 -15
- chia/wallet/util/compute_hints.py +5 -5
- chia/wallet/util/compute_memos.py +4 -6
- chia/wallet/util/curry_and_treehash.py +3 -2
- chia/wallet/util/debug_spend_bundle.py +6 -8
- chia/wallet/util/merkle_tree.py +10 -10
- chia/wallet/util/merkle_utils.py +10 -10
- chia/wallet/util/new_peak_queue.py +3 -3
- chia/wallet/util/peer_request_cache.py +8 -8
- chia/{util → wallet/util}/pprint.py +2 -3
- chia/wallet/util/puzzle_compression.py +3 -4
- chia/wallet/util/puzzle_decorator.py +10 -10
- chia/wallet/util/query_filter.py +9 -10
- chia/wallet/util/tx_config.py +12 -12
- chia/wallet/util/wallet_sync_utils.py +24 -21
- chia/wallet/util/wallet_types.py +9 -2
- chia/wallet/vc_wallet/cr_cat_drivers.py +28 -27
- chia/wallet/vc_wallet/cr_cat_wallet.py +42 -40
- chia/wallet/vc_wallet/cr_outer_puzzle.py +4 -4
- chia/wallet/vc_wallet/vc_drivers.py +16 -16
- chia/wallet/vc_wallet/vc_store.py +9 -9
- chia/wallet/vc_wallet/vc_wallet.py +35 -35
- chia/wallet/wallet.py +54 -54
- chia/wallet/wallet_action_scope.py +14 -13
- chia/wallet/wallet_blockchain.py +10 -10
- chia/wallet/wallet_coin_record.py +2 -2
- chia/wallet/wallet_coin_store.py +10 -10
- chia/wallet/wallet_info.py +1 -2
- chia/wallet/wallet_interested_store.py +5 -5
- chia/wallet/wallet_nft_store.py +6 -6
- chia/wallet/wallet_node.py +72 -76
- chia/wallet/wallet_node_api.py +33 -27
- chia/wallet/wallet_pool_store.py +1 -2
- chia/wallet/wallet_protocol.py +15 -15
- chia/wallet/wallet_puzzle_store.py +35 -4
- chia/wallet/wallet_retry_store.py +2 -2
- chia/wallet/wallet_singleton_store.py +10 -9
- chia/wallet/wallet_spend_bundle.py +4 -20
- chia/wallet/wallet_state_manager.py +223 -224
- chia/wallet/wallet_transaction_store.py +44 -18
- chia/wallet/wallet_user_store.py +2 -2
- chia/wallet/wallet_weight_proof_handler.py +2 -2
- {chia_blockchain-2.5.0rc2.dist-info → chia_blockchain-2.5.1rc2.dist-info}/LICENSE +1 -1
- {chia_blockchain-2.5.0rc2.dist-info → chia_blockchain-2.5.1rc2.dist-info}/METADATA +67 -72
- chia_blockchain-2.5.1rc2.dist-info/RECORD +1042 -0
- {chia_blockchain-2.5.0rc2.dist-info → chia_blockchain-2.5.1rc2.dist-info}/WHEEL +1 -1
- mozilla-ca/cacert.pem +32 -87
- chia/_tests/cmds/wallet/test_coins.py +0 -195
- chia/consensus/block_root_validation.py +0 -46
- chia/util/api_decorators.py +0 -89
- chia_blockchain-2.5.0rc2.dist-info/RECORD +0 -1028
- {chia_blockchain-2.5.0rc2.dist-info → chia_blockchain-2.5.1rc2.dist-info}/entry_points.txt +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
# ruff: noqa: E501
|
|
1
2
|
# this file is generated by build_network_protocol_files.py
|
|
2
3
|
from __future__ import annotations
|
|
3
4
|
|
|
4
|
-
from typing import Any
|
|
5
|
+
from typing import Any
|
|
5
6
|
|
|
6
|
-
new_signage_point_json:
|
|
7
|
+
new_signage_point_json: dict[str, Any] = {
|
|
7
8
|
"challenge_hash": "0x34b2a753b0dc864e7218f8facf23ca0e2b636351df5289b76f5845d9a78b7026",
|
|
8
9
|
"challenge_chain_sp": "0x9dc8b9d685c79acdf8780d994416dfcfb118e0adc99769ecfa94e1f40aa5bbe5",
|
|
9
10
|
"reward_chain_sp": "0xb2828a2c7f6a2555c80c3ca9d10792a7da6ee80f686122ecd2c748dc0569a867",
|
|
@@ -14,7 +15,7 @@ new_signage_point_json: Dict[str, Any] = {
|
|
|
14
15
|
"sp_source_data": None,
|
|
15
16
|
}
|
|
16
17
|
|
|
17
|
-
declare_proof_of_space_json:
|
|
18
|
+
declare_proof_of_space_json: dict[str, Any] = {
|
|
18
19
|
"challenge_hash": "0x3f44d177faa11cea40477f233a8b365cce77215a84f48f65a37b2ac35c7e3ccc",
|
|
19
20
|
"challenge_chain_sp": "0x931c83fd8ef121177257301e11f41642618ddac65509939e252243e41bacbf78",
|
|
20
21
|
"signage_point_index": 31,
|
|
@@ -38,7 +39,7 @@ declare_proof_of_space_json: Dict[str, Any] = {
|
|
|
38
39
|
"include_signature_source_data": False,
|
|
39
40
|
}
|
|
40
41
|
|
|
41
|
-
request_signed_values_json:
|
|
42
|
+
request_signed_values_json: dict[str, Any] = {
|
|
42
43
|
"quality_string": "0x60649de258d2221ca6a178476861b13f8c394a992eaeae1f1159c32bbf703b45",
|
|
43
44
|
"foliage_block_data_hash": "0x9da23e943246bb99ebeb5e773e35a445bbbfdbd45dd9b9df169eeca80880a53b",
|
|
44
45
|
"foliage_transaction_block_hash": "0x5d76a4bcb3524d862e92317410583daf50828927885444c6d62ca8843635c46f",
|
|
@@ -47,7 +48,7 @@ request_signed_values_json: Dict[str, Any] = {
|
|
|
47
48
|
"rc_block_unfinished": None,
|
|
48
49
|
}
|
|
49
50
|
|
|
50
|
-
farming_info_json:
|
|
51
|
+
farming_info_json: dict[str, Any] = {
|
|
51
52
|
"challenge_hash": "0x345cefad6a04d3ea4fec4b31e56000de622de9fe861afa53424138dd45307fc2",
|
|
52
53
|
"sp_hash": "0x1105c288abb976e95804796aea5bb6f66a6b500c0f538d4e71f0d701cad9ff11",
|
|
53
54
|
"timestamp": 16359391077414942762,
|
|
@@ -57,13 +58,13 @@ farming_info_json: Dict[str, Any] = {
|
|
|
57
58
|
"lookup_time": 3942498,
|
|
58
59
|
}
|
|
59
60
|
|
|
60
|
-
signed_values_json:
|
|
61
|
+
signed_values_json: dict[str, Any] = {
|
|
61
62
|
"quality_string": "0x915de5949724e1fc92d334e589c26ddbcd67415cbbdbbfc5e6de93b3b33bb267",
|
|
62
63
|
"foliage_block_data_signature": "0xc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
63
64
|
"foliage_transaction_block_signature": "0xc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
64
65
|
}
|
|
65
66
|
|
|
66
|
-
new_peak_json:
|
|
67
|
+
new_peak_json: dict[str, Any] = {
|
|
67
68
|
"header_hash": "0x8a346e8dc02e9b44c0571caa74fd99f163d4c5d7deae9f8ddb00528721493f7a",
|
|
68
69
|
"height": 2653549198,
|
|
69
70
|
"weight": 196318552117141200341240034145143439804,
|
|
@@ -71,17 +72,17 @@ new_peak_json: Dict[str, Any] = {
|
|
|
71
72
|
"unfinished_reward_block_hash": "0xdd421c55d4edaeeb3ad60e80d73c2005a1b275c381c7e418915200d7467711b5",
|
|
72
73
|
}
|
|
73
74
|
|
|
74
|
-
new_transaction_json:
|
|
75
|
+
new_transaction_json: dict[str, Any] = {
|
|
75
76
|
"transaction_id": "0xe4fe833328d4e82f9c57bc1fc2082c9b63da23e46927522cb5a073f9f0979b6a",
|
|
76
77
|
"cost": 13950654730705425115,
|
|
77
78
|
"fees": 10674036971945712700,
|
|
78
79
|
}
|
|
79
80
|
|
|
80
|
-
request_transaction_json:
|
|
81
|
+
request_transaction_json: dict[str, Any] = {
|
|
81
82
|
"transaction_id": "0x3dc310a07be53bfd701e4a0d77ce39836eeab4717fe25b1ae4c3f16aad0e5d83"
|
|
82
83
|
}
|
|
83
84
|
|
|
84
|
-
respond_transaction_json:
|
|
85
|
+
respond_transaction_json: dict[str, Any] = {
|
|
85
86
|
"transaction": {
|
|
86
87
|
"coin_spends": [
|
|
87
88
|
{
|
|
@@ -98,12 +99,12 @@ respond_transaction_json: Dict[str, Any] = {
|
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
101
|
|
|
101
|
-
request_proof_of_weight_json:
|
|
102
|
+
request_proof_of_weight_json: dict[str, Any] = {
|
|
102
103
|
"total_number_of_blocks": 1109907246,
|
|
103
104
|
"tip": "0x1fa3bfc747762c6edbe9937630e50b6982c3cf4fd67931f2ffcececb8c509839",
|
|
104
105
|
}
|
|
105
106
|
|
|
106
|
-
respond_proof_of_weight_json:
|
|
107
|
+
respond_proof_of_weight_json: dict[str, Any] = {
|
|
107
108
|
"wp": {
|
|
108
109
|
"sub_epochs": [
|
|
109
110
|
{
|
|
@@ -380,17 +381,17 @@ respond_proof_of_weight_json: Dict[str, Any] = {
|
|
|
380
381
|
"tip": "0xbf71d6f1ecae308aacf87db77aeba5a06f5d1099bfc7005529885e1f2dad857f",
|
|
381
382
|
}
|
|
382
383
|
|
|
383
|
-
request_block_json:
|
|
384
|
+
request_block_json: dict[str, Any] = {"height": 678860074, "include_transaction_block": False}
|
|
384
385
|
|
|
385
|
-
reject_block_json:
|
|
386
|
+
reject_block_json: dict[str, Any] = {"height": 966946253}
|
|
386
387
|
|
|
387
|
-
request_blocks_json:
|
|
388
|
+
request_blocks_json: dict[str, Any] = {
|
|
388
389
|
"start_height": 2578479570,
|
|
389
390
|
"end_height": 3884442719,
|
|
390
391
|
"include_transaction_block": False,
|
|
391
392
|
}
|
|
392
393
|
|
|
393
|
-
respond_blocks_json:
|
|
394
|
+
respond_blocks_json: dict[str, Any] = {
|
|
394
395
|
"start_height": 1000,
|
|
395
396
|
"end_height": 4201431299,
|
|
396
397
|
"blocks": [
|
|
@@ -749,9 +750,9 @@ respond_blocks_json: Dict[str, Any] = {
|
|
|
749
750
|
],
|
|
750
751
|
}
|
|
751
752
|
|
|
752
|
-
reject_blocks_json:
|
|
753
|
+
reject_blocks_json: dict[str, Any] = {"start_height": 1160742782, "end_height": 1856800720}
|
|
753
754
|
|
|
754
|
-
respond_block_json:
|
|
755
|
+
respond_block_json: dict[str, Any] = {
|
|
755
756
|
"block": {
|
|
756
757
|
"finished_sub_slots": [
|
|
757
758
|
{
|
|
@@ -930,15 +931,15 @@ respond_block_json: Dict[str, Any] = {
|
|
|
930
931
|
}
|
|
931
932
|
}
|
|
932
933
|
|
|
933
|
-
new_unfinished_block_json:
|
|
934
|
+
new_unfinished_block_json: dict[str, Any] = {
|
|
934
935
|
"unfinished_reward_hash": "0x229646fb33551966039d9324c0d10166c554d20e9a11e3f30942ec0bb346377e"
|
|
935
936
|
}
|
|
936
937
|
|
|
937
|
-
request_unfinished_block_json:
|
|
938
|
+
request_unfinished_block_json: dict[str, Any] = {
|
|
938
939
|
"unfinished_reward_hash": "0x8b5e5a59f33bb89e1bfd5aca79409352864e70aa7765c331d641875f83d59d1d"
|
|
939
940
|
}
|
|
940
941
|
|
|
941
|
-
respond_unfinished_block_json:
|
|
942
|
+
respond_unfinished_block_json: dict[str, Any] = {
|
|
942
943
|
"unfinished_block": {
|
|
943
944
|
"finished_sub_slots": [
|
|
944
945
|
{
|
|
@@ -1078,20 +1079,20 @@ respond_unfinished_block_json: Dict[str, Any] = {
|
|
|
1078
1079
|
}
|
|
1079
1080
|
}
|
|
1080
1081
|
|
|
1081
|
-
new_signage_point_or_end_of_subslot_json:
|
|
1082
|
+
new_signage_point_or_end_of_subslot_json: dict[str, Any] = {
|
|
1082
1083
|
"prev_challenge_hash": "0xf945510ccea927f832635e56bc20315c92943e108d2b458ac91a290a82e02997",
|
|
1083
1084
|
"challenge_hash": "0x27a16b348971e5dfb258e7a01f0b300acbecf8339476afd144e8520f1981833b",
|
|
1084
1085
|
"index_from_challenge": 102,
|
|
1085
1086
|
"last_rc_infusion": "0xa619471c0ba0b8b8b92b7b2cb1241c2fbb2324c4f1a20a01eb7dcc0027393a56",
|
|
1086
1087
|
}
|
|
1087
1088
|
|
|
1088
|
-
request_signage_point_or_end_of_subslot_json:
|
|
1089
|
+
request_signage_point_or_end_of_subslot_json: dict[str, Any] = {
|
|
1089
1090
|
"challenge_hash": "0xedd45b516bf1dc3754c30a99e289639e05f967dc1b590df8a377652bee4f463c",
|
|
1090
1091
|
"index_from_challenge": 217,
|
|
1091
1092
|
"last_rc_infusion": "0xb574062b42a5b3d76ea141d3b89a4a1096f7797bafe625770047380448622420",
|
|
1092
1093
|
}
|
|
1093
1094
|
|
|
1094
|
-
respond_signage_point_json:
|
|
1095
|
+
respond_signage_point_json: dict[str, Any] = {
|
|
1095
1096
|
"index_from_challenge": 111,
|
|
1096
1097
|
"challenge_chain_vdf": {
|
|
1097
1098
|
"challenge": "0x7cbd5905838c1dc2becd00298a5b3a6e42b6a306d574c8897cd721f84d429972",
|
|
@@ -1119,7 +1120,7 @@ respond_signage_point_json: Dict[str, Any] = {
|
|
|
1119
1120
|
},
|
|
1120
1121
|
}
|
|
1121
1122
|
|
|
1122
|
-
respond_end_of_subslot_json:
|
|
1123
|
+
respond_end_of_subslot_json: dict[str, Any] = {
|
|
1123
1124
|
"end_of_slot_bundle": {
|
|
1124
1125
|
"challenge_chain": {
|
|
1125
1126
|
"challenge_chain_end_of_slot_vdf": {
|
|
@@ -1175,11 +1176,11 @@ respond_end_of_subslot_json: Dict[str, Any] = {
|
|
|
1175
1176
|
}
|
|
1176
1177
|
}
|
|
1177
1178
|
|
|
1178
|
-
request_mempool_transaction_json:
|
|
1179
|
+
request_mempool_transaction_json: dict[str, Any] = {
|
|
1179
1180
|
"filter": "0x0000000000000000000000000000000000000000000000000000000000000000"
|
|
1180
1181
|
}
|
|
1181
1182
|
|
|
1182
|
-
new_compact_vdf_json:
|
|
1183
|
+
new_compact_vdf_json: dict[str, Any] = {
|
|
1183
1184
|
"height": 1333973478,
|
|
1184
1185
|
"header_hash": "0xe2188779d4a8e8fdf9cbe3103878b4c3f5f25a999fa8d04551c4ae01046c634e",
|
|
1185
1186
|
"field_vdf": 169,
|
|
@@ -1192,7 +1193,7 @@ new_compact_vdf_json: Dict[str, Any] = {
|
|
|
1192
1193
|
},
|
|
1193
1194
|
}
|
|
1194
1195
|
|
|
1195
|
-
request_compact_vdf_json:
|
|
1196
|
+
request_compact_vdf_json: dict[str, Any] = {
|
|
1196
1197
|
"height": 3529778757,
|
|
1197
1198
|
"header_hash": "0x1c02dfbf437c464cfd3f71d2da283c22bd04b2061e3c6b4bfd8b859092957d96",
|
|
1198
1199
|
"field_vdf": 207,
|
|
@@ -1205,7 +1206,7 @@ request_compact_vdf_json: Dict[str, Any] = {
|
|
|
1205
1206
|
},
|
|
1206
1207
|
}
|
|
1207
1208
|
|
|
1208
|
-
respond_compact_vdf_json:
|
|
1209
|
+
respond_compact_vdf_json: dict[str, Any] = {
|
|
1209
1210
|
"height": 2759248594,
|
|
1210
1211
|
"header_hash": "0x51f2e23ac76179d69bc9232420f47e2a332b8c2495c24ceef7f730feb53c9117",
|
|
1211
1212
|
"field_vdf": 167,
|
|
@@ -1223,33 +1224,33 @@ respond_compact_vdf_json: Dict[str, Any] = {
|
|
|
1223
1224
|
},
|
|
1224
1225
|
}
|
|
1225
1226
|
|
|
1226
|
-
request_peers_json:
|
|
1227
|
+
request_peers_json: dict[str, Any] = {}
|
|
1227
1228
|
|
|
1228
|
-
respond_peers_json:
|
|
1229
|
+
respond_peers_json: dict[str, Any] = {"peer_list": [{"host": "127.0.0.1", "port": 8444, "timestamp": 10796}]}
|
|
1229
1230
|
|
|
1230
|
-
new_unfinished_block2_json:
|
|
1231
|
+
new_unfinished_block2_json: dict[str, Any] = {
|
|
1231
1232
|
"unfinished_reward_hash": "0x229646fb33551966039d9324c0d10166c554d20e9a11e3f30942ec0bb346377e",
|
|
1232
1233
|
"foliage_hash": "0x166c554d20e9a11e3f30942ec0bb346377e229646fb33551966039d9324c0d10",
|
|
1233
1234
|
}
|
|
1234
1235
|
|
|
1235
|
-
request_unfinished_block2_json:
|
|
1236
|
+
request_unfinished_block2_json: dict[str, Any] = {
|
|
1236
1237
|
"unfinished_reward_hash": "0x8b5e5a59f33bb89e1bfd5aca79409352864e70aa7765c331d641875f83d59d1d",
|
|
1237
1238
|
"foliage_hash": "0xa79409352864e70aa7765c331d641875f83d59d1d8b5e5a59f33bb89e1bfd5ac",
|
|
1238
1239
|
}
|
|
1239
1240
|
|
|
1240
|
-
request_puzzle_solution_json:
|
|
1241
|
+
request_puzzle_solution_json: dict[str, Any] = {
|
|
1241
1242
|
"coin_name": "0x6edddb46bd154f50566b49c95812e0f1131a0a7162630349fc8d1d696e463e47",
|
|
1242
1243
|
"height": 3905474497,
|
|
1243
1244
|
}
|
|
1244
1245
|
|
|
1245
|
-
puzzle_solution_response_json:
|
|
1246
|
+
puzzle_solution_response_json: dict[str, Any] = {
|
|
1246
1247
|
"coin_name": "0x45c4451fdeef92aa0706def2448adfaed8e4a1c0b08a6d303c57de661509c442",
|
|
1247
1248
|
"height": 3776325015,
|
|
1248
1249
|
"puzzle": "0xff01ffff33ffa0f8912302fb33b8188046662785704afc3dd945074e4b45499a7173946e044695ff8203e880ffff33ffa03eaa52e850322dbc281c6b922e9d8819c7b4120ee054c4aa79db50be516a2bcaff8207d08080",
|
|
1249
1250
|
"solution": "0xff01ffff33ffa0f8912302fb33b8188046662785704afc3dd945074e4b45499a7173946e044695ff8203e880ffff33ffa03eaa52e850322dbc281c6b922e9d8819c7b4120ee054c4aa79db50be516a2bcaff8207d08080",
|
|
1250
1251
|
}
|
|
1251
1252
|
|
|
1252
|
-
respond_puzzle_solution_json:
|
|
1253
|
+
respond_puzzle_solution_json: dict[str, Any] = {
|
|
1253
1254
|
"response": {
|
|
1254
1255
|
"coin_name": "0x45c4451fdeef92aa0706def2448adfaed8e4a1c0b08a6d303c57de661509c442",
|
|
1255
1256
|
"height": 3776325015,
|
|
@@ -1258,12 +1259,12 @@ respond_puzzle_solution_json: Dict[str, Any] = {
|
|
|
1258
1259
|
}
|
|
1259
1260
|
}
|
|
1260
1261
|
|
|
1261
|
-
reject_puzzle_solution_json:
|
|
1262
|
+
reject_puzzle_solution_json: dict[str, Any] = {
|
|
1262
1263
|
"coin_name": "0x2f16254e8e7a0b3fbe7bc709d29c5e7d2daa23ce1a2964e3f77b9413055029dd",
|
|
1263
1264
|
"height": 2039721496,
|
|
1264
1265
|
}
|
|
1265
1266
|
|
|
1266
|
-
send_transaction_json:
|
|
1267
|
+
send_transaction_json: dict[str, Any] = {
|
|
1267
1268
|
"transaction": {
|
|
1268
1269
|
"coin_spends": [
|
|
1269
1270
|
{
|
|
@@ -1280,28 +1281,28 @@ send_transaction_json: Dict[str, Any] = {
|
|
|
1280
1281
|
}
|
|
1281
1282
|
}
|
|
1282
1283
|
|
|
1283
|
-
transaction_ack_json:
|
|
1284
|
+
transaction_ack_json: dict[str, Any] = {
|
|
1284
1285
|
"txid": "0xfc30d2df70f4ca0a138d5135d352611ddf268ea46c59cde48c29c43d9472532c",
|
|
1285
1286
|
"status": 30,
|
|
1286
1287
|
"error": "None",
|
|
1287
1288
|
}
|
|
1288
1289
|
|
|
1289
|
-
new_peak_wallet_json:
|
|
1290
|
+
new_peak_wallet_json: dict[str, Any] = {
|
|
1290
1291
|
"header_hash": "0xee50e45652cb6a60e3ab0031aa425a6019648fe5344ae860e6fc14af1aa3c2fa",
|
|
1291
1292
|
"height": 1093428752,
|
|
1292
1293
|
"weight": 207496292293729126634170184354599452208,
|
|
1293
1294
|
"fork_point_with_previous_peak": 133681371,
|
|
1294
1295
|
}
|
|
1295
1296
|
|
|
1296
|
-
request_block_header_json:
|
|
1297
|
+
request_block_header_json: dict[str, Any] = {"height": 3562957314}
|
|
1297
1298
|
|
|
1298
|
-
request_block_headers_json:
|
|
1299
|
+
request_block_headers_json: dict[str, Any] = {
|
|
1299
1300
|
"start_height": 1234970524,
|
|
1300
1301
|
"end_height": 234653234,
|
|
1301
1302
|
"return_filter": False,
|
|
1302
1303
|
}
|
|
1303
1304
|
|
|
1304
|
-
respond_header_block_json:
|
|
1305
|
+
respond_header_block_json: dict[str, Any] = {
|
|
1305
1306
|
"header_block": {
|
|
1306
1307
|
"finished_sub_slots": [
|
|
1307
1308
|
{
|
|
@@ -1479,7 +1480,7 @@ respond_header_block_json: Dict[str, Any] = {
|
|
|
1479
1480
|
}
|
|
1480
1481
|
}
|
|
1481
1482
|
|
|
1482
|
-
respond_block_headers_json:
|
|
1483
|
+
respond_block_headers_json: dict[str, Any] = {
|
|
1483
1484
|
"start_height": 923662371,
|
|
1484
1485
|
"end_height": 992357623,
|
|
1485
1486
|
"header_blocks": [
|
|
@@ -1661,15 +1662,15 @@ respond_block_headers_json: Dict[str, Any] = {
|
|
|
1661
1662
|
],
|
|
1662
1663
|
}
|
|
1663
1664
|
|
|
1664
|
-
reject_header_request_json:
|
|
1665
|
+
reject_header_request_json: dict[str, Any] = {"height": 17867635}
|
|
1665
1666
|
|
|
1666
|
-
request_removals_json:
|
|
1667
|
+
request_removals_json: dict[str, Any] = {
|
|
1667
1668
|
"height": 3500751918,
|
|
1668
1669
|
"header_hash": "0xb44bc0e0fce20331a57081107dfd30ef39fc436e6e6ce4f6f0ab8db4f981d114",
|
|
1669
1670
|
"coin_names": ["0xab62cfb2abaf9e1a475b707c3d3de35d6ef4a298b31137802fd9ea47d48ff0d5"],
|
|
1670
1671
|
}
|
|
1671
1672
|
|
|
1672
|
-
respond_removals_json:
|
|
1673
|
+
respond_removals_json: dict[str, Any] = {
|
|
1673
1674
|
"height": 461268095,
|
|
1674
1675
|
"header_hash": "0xe2db23a6484b05d9ae1033efe8dcfcf5894fc600a6b93b03782fab8dd1cba8a4",
|
|
1675
1676
|
"coins": [
|
|
@@ -1685,18 +1686,18 @@ respond_removals_json: Dict[str, Any] = {
|
|
|
1685
1686
|
"proofs": [["0x652c312e1dd9f32bf074e17ae8b658bf47711bd1a5e6c937adfb0c80b51fa49d", "0x61616161616161616161"]],
|
|
1686
1687
|
}
|
|
1687
1688
|
|
|
1688
|
-
reject_removals_request_json:
|
|
1689
|
+
reject_removals_request_json: dict[str, Any] = {
|
|
1689
1690
|
"height": 3247661701,
|
|
1690
1691
|
"header_hash": "0xd5eee2d2ad56663c1c1d1cbde69329862dcf29010683aa7a0da91712d6876caf",
|
|
1691
1692
|
}
|
|
1692
1693
|
|
|
1693
|
-
request_additions_json:
|
|
1694
|
+
request_additions_json: dict[str, Any] = {
|
|
1694
1695
|
"height": 2566479739,
|
|
1695
1696
|
"header_hash": "0x17262e35437ddc95d43431d20657c096cff95f7ba93a39367f56f1f9df0f0277",
|
|
1696
1697
|
"puzzle_hashes": ["0x6fc7b72bc37f462dc820d4b39c9e69e9e65b590ee1a6b0a06b5105d048c278d4"],
|
|
1697
1698
|
}
|
|
1698
1699
|
|
|
1699
|
-
respond_additions_json:
|
|
1700
|
+
respond_additions_json: dict[str, Any] = {
|
|
1700
1701
|
"height": 1992350400,
|
|
1701
1702
|
"header_hash": "0x449ba349ce403c1acfcd46108758e7ada3a455e7a82dbee90860ec73adb090c9",
|
|
1702
1703
|
"coins": [
|
|
@@ -1725,16 +1726,16 @@ respond_additions_json: Dict[str, Any] = {
|
|
|
1725
1726
|
],
|
|
1726
1727
|
}
|
|
1727
1728
|
|
|
1728
|
-
reject_additions_json:
|
|
1729
|
+
reject_additions_json: dict[str, Any] = {
|
|
1729
1730
|
"height": 3457211200,
|
|
1730
1731
|
"header_hash": "0x4eb659e6dd727bc22191795692aae576922e56ae309871c352eede0c9dd8bb12",
|
|
1731
1732
|
}
|
|
1732
1733
|
|
|
1733
|
-
request_header_blocks_json:
|
|
1734
|
+
request_header_blocks_json: dict[str, Any] = {"start_height": 2858301848, "end_height": 720941539}
|
|
1734
1735
|
|
|
1735
|
-
reject_header_blocks_json:
|
|
1736
|
+
reject_header_blocks_json: dict[str, Any] = {"start_height": 876520264, "end_height": 2908717391}
|
|
1736
1737
|
|
|
1737
|
-
respond_header_blocks_json:
|
|
1738
|
+
respond_header_blocks_json: dict[str, Any] = {
|
|
1738
1739
|
"start_height": 4130100992,
|
|
1739
1740
|
"end_height": 17664086,
|
|
1740
1741
|
"header_blocks": [
|
|
@@ -1916,7 +1917,7 @@ respond_header_blocks_json: Dict[str, Any] = {
|
|
|
1916
1917
|
],
|
|
1917
1918
|
}
|
|
1918
1919
|
|
|
1919
|
-
coin_state_json:
|
|
1920
|
+
coin_state_json: dict[str, Any] = {
|
|
1920
1921
|
"coin": {
|
|
1921
1922
|
"parent_coin_info": "0xd56f435d3382cb9aa5f50f51816e4c54487c66402339901450f3c810f1d77098",
|
|
1922
1923
|
"puzzle_hash": "0x9944f63fcc251719b2f04c47ab976a167f96510736dc6fdfa8e037d740f4b5f3",
|
|
@@ -1926,14 +1927,14 @@ coin_state_json: Dict[str, Any] = {
|
|
|
1926
1927
|
"created_height": 3361305811,
|
|
1927
1928
|
}
|
|
1928
1929
|
|
|
1929
|
-
register_for_ph_updates_json:
|
|
1930
|
+
register_for_ph_updates_json: dict[str, Any] = {
|
|
1930
1931
|
"puzzle_hashes": ["0xdf24b7dc1d5ffa12f112e198cd26385b5ab302b5c2e5f9d589e5cd3f7b900510"],
|
|
1931
1932
|
"min_height": 874269130,
|
|
1932
1933
|
}
|
|
1933
1934
|
|
|
1934
|
-
reject_block_headers_json:
|
|
1935
|
+
reject_block_headers_json: dict[str, Any] = {"start_height": 543373229, "end_height": 2347869036}
|
|
1935
1936
|
|
|
1936
|
-
respond_to_ph_updates_json:
|
|
1937
|
+
respond_to_ph_updates_json: dict[str, Any] = {
|
|
1937
1938
|
"puzzle_hashes": ["0x1be3bdc54b84901554e4e843966cfa3be3380054c968bebc41cc6be4aa65322f"],
|
|
1938
1939
|
"min_height": 3664709982,
|
|
1939
1940
|
"coin_states": [
|
|
@@ -1949,12 +1950,12 @@ respond_to_ph_updates_json: Dict[str, Any] = {
|
|
|
1949
1950
|
],
|
|
1950
1951
|
}
|
|
1951
1952
|
|
|
1952
|
-
register_for_coin_updates_json:
|
|
1953
|
+
register_for_coin_updates_json: dict[str, Any] = {
|
|
1953
1954
|
"coin_ids": ["0x1d7748531ece395e8bb8468b112d4ccdd1cea027359abd03c0b015edf666eec8"],
|
|
1954
1955
|
"min_height": 3566185528,
|
|
1955
1956
|
}
|
|
1956
1957
|
|
|
1957
|
-
respond_to_coin_updates_json:
|
|
1958
|
+
respond_to_coin_updates_json: dict[str, Any] = {
|
|
1958
1959
|
"coin_ids": ["0xdb8bad6bd9de34d4884380176135f31a655dca18e9a5fadfb567145b81b6a9e0"],
|
|
1959
1960
|
"min_height": 3818814774,
|
|
1960
1961
|
"coin_states": [
|
|
@@ -1970,7 +1971,7 @@ respond_to_coin_updates_json: Dict[str, Any] = {
|
|
|
1970
1971
|
],
|
|
1971
1972
|
}
|
|
1972
1973
|
|
|
1973
|
-
coin_state_update_json:
|
|
1974
|
+
coin_state_update_json: dict[str, Any] = {
|
|
1974
1975
|
"height": 855344561,
|
|
1975
1976
|
"fork_height": 1659753011,
|
|
1976
1977
|
"peak_hash": "0x8512cc80a2976c81186e8963bc7af9d6d5732ccae5227fffee823f0bf3081e76",
|
|
@@ -1987,11 +1988,11 @@ coin_state_update_json: Dict[str, Any] = {
|
|
|
1987
1988
|
],
|
|
1988
1989
|
}
|
|
1989
1990
|
|
|
1990
|
-
request_children_json:
|
|
1991
|
+
request_children_json: dict[str, Any] = {
|
|
1991
1992
|
"coin_name": "0x15beeed2e6dd0cf1b81a3f68a49845c020912218e4c1f002a1b3f43333495478"
|
|
1992
1993
|
}
|
|
1993
1994
|
|
|
1994
|
-
respond_children_json:
|
|
1995
|
+
respond_children_json: dict[str, Any] = {
|
|
1995
1996
|
"coin_states": [
|
|
1996
1997
|
{
|
|
1997
1998
|
"coin": {
|
|
@@ -2005,21 +2006,21 @@ respond_children_json: Dict[str, Any] = {
|
|
|
2005
2006
|
]
|
|
2006
2007
|
}
|
|
2007
2008
|
|
|
2008
|
-
request_ses_info_json:
|
|
2009
|
+
request_ses_info_json: dict[str, Any] = {"start_height": 2704205398, "end_height": 2050258406}
|
|
2009
2010
|
|
|
2010
|
-
respond_ses_info_json:
|
|
2011
|
+
respond_ses_info_json: dict[str, Any] = {
|
|
2011
2012
|
"reward_chain_hash": ["0xb61cb91773995e99cb8259609c0985f915a5734a1706aeab9342a2d1c5abf71b"],
|
|
2012
2013
|
"heights": [[1, 2, 3], [4, 606340525]],
|
|
2013
2014
|
}
|
|
2014
2015
|
|
|
2015
|
-
coin_state_filters_json:
|
|
2016
|
+
coin_state_filters_json: dict[str, Any] = {
|
|
2016
2017
|
"include_spent": True,
|
|
2017
2018
|
"include_unspent": True,
|
|
2018
2019
|
"include_hinted": True,
|
|
2019
2020
|
"min_amount": 0,
|
|
2020
2021
|
}
|
|
2021
2022
|
|
|
2022
|
-
request_remove_puzzle_subscriptions_json:
|
|
2023
|
+
request_remove_puzzle_subscriptions_json: dict[str, Any] = {
|
|
2023
2024
|
"puzzle_hashes": [
|
|
2024
2025
|
"0x59710628755b6d7f7d0b5d84d5c980e7a1c52e55f5a43b531312402bd9045da7",
|
|
2025
2026
|
"0xd4a68c9dc42d625092c3e71a657cce469ae4180d1b0632256d2da8ffc0a9beca",
|
|
@@ -2027,7 +2028,7 @@ request_remove_puzzle_subscriptions_json: Dict[str, Any] = {
|
|
|
2027
2028
|
]
|
|
2028
2029
|
}
|
|
2029
2030
|
|
|
2030
|
-
respond_remove_puzzle_subscriptions_json:
|
|
2031
|
+
respond_remove_puzzle_subscriptions_json: dict[str, Any] = {
|
|
2031
2032
|
"puzzle_hashes": [
|
|
2032
2033
|
"0x59710628755b6d7f7d0b5d84d5c980e7a1c52e55f5a43b531312402bd9045da7",
|
|
2033
2034
|
"0xd4a68c9dc42d625092c3e71a657cce469ae4180d1b0632256d2da8ffc0a9beca",
|
|
@@ -2035,7 +2036,7 @@ respond_remove_puzzle_subscriptions_json: Dict[str, Any] = {
|
|
|
2035
2036
|
]
|
|
2036
2037
|
}
|
|
2037
2038
|
|
|
2038
|
-
request_remove_coin_subscriptions_json:
|
|
2039
|
+
request_remove_coin_subscriptions_json: dict[str, Any] = {
|
|
2039
2040
|
"coin_ids": [
|
|
2040
2041
|
"0x59710628755b6d7f7d0b5d84d5c980e7a1c52e55f5a43b531312402bd9045da7",
|
|
2041
2042
|
"0xd4a68c9dc42d625092c3e71a657cce469ae4180d1b0632256d2da8ffc0a9beca",
|
|
@@ -2043,7 +2044,7 @@ request_remove_coin_subscriptions_json: Dict[str, Any] = {
|
|
|
2043
2044
|
]
|
|
2044
2045
|
}
|
|
2045
2046
|
|
|
2046
|
-
respond_remove_coin_subscriptions_json:
|
|
2047
|
+
respond_remove_coin_subscriptions_json: dict[str, Any] = {
|
|
2047
2048
|
"coin_ids": [
|
|
2048
2049
|
"0x59710628755b6d7f7d0b5d84d5c980e7a1c52e55f5a43b531312402bd9045da7",
|
|
2049
2050
|
"0xd4a68c9dc42d625092c3e71a657cce469ae4180d1b0632256d2da8ffc0a9beca",
|
|
@@ -2051,7 +2052,7 @@ respond_remove_coin_subscriptions_json: Dict[str, Any] = {
|
|
|
2051
2052
|
]
|
|
2052
2053
|
}
|
|
2053
2054
|
|
|
2054
|
-
request_puzzle_state_json:
|
|
2055
|
+
request_puzzle_state_json: dict[str, Any] = {
|
|
2055
2056
|
"puzzle_hashes": [
|
|
2056
2057
|
"0x59710628755b6d7f7d0b5d84d5c980e7a1c52e55f5a43b531312402bd9045da7",
|
|
2057
2058
|
"0xd4a68c9dc42d625092c3e71a657cce469ae4180d1b0632256d2da8ffc0a9beca",
|
|
@@ -2063,9 +2064,9 @@ request_puzzle_state_json: Dict[str, Any] = {
|
|
|
2063
2064
|
"subscribe_when_finished": True,
|
|
2064
2065
|
}
|
|
2065
2066
|
|
|
2066
|
-
reject_puzzle_state_json:
|
|
2067
|
+
reject_puzzle_state_json: dict[str, Any] = {"reason": 0}
|
|
2067
2068
|
|
|
2068
|
-
respond_puzzle_state_json:
|
|
2069
|
+
respond_puzzle_state_json: dict[str, Any] = {
|
|
2069
2070
|
"puzzle_hashes": [
|
|
2070
2071
|
"0x59710628755b6d7f7d0b5d84d5c980e7a1c52e55f5a43b531312402bd9045da7",
|
|
2071
2072
|
"0xd4a68c9dc42d625092c3e71a657cce469ae4180d1b0632256d2da8ffc0a9beca",
|
|
@@ -2087,7 +2088,7 @@ respond_puzzle_state_json: Dict[str, Any] = {
|
|
|
2087
2088
|
],
|
|
2088
2089
|
}
|
|
2089
2090
|
|
|
2090
|
-
request_coin_state_json:
|
|
2091
|
+
request_coin_state_json: dict[str, Any] = {
|
|
2091
2092
|
"coin_ids": [
|
|
2092
2093
|
"0x59710628755b6d7f7d0b5d84d5c980e7a1c52e55f5a43b531312402bd9045da7",
|
|
2093
2094
|
"0xd4a68c9dc42d625092c3e71a657cce469ae4180d1b0632256d2da8ffc0a9beca",
|
|
@@ -2098,7 +2099,7 @@ request_coin_state_json: Dict[str, Any] = {
|
|
|
2098
2099
|
"subscribe": False,
|
|
2099
2100
|
}
|
|
2100
2101
|
|
|
2101
|
-
respond_coin_state_json:
|
|
2102
|
+
respond_coin_state_json: dict[str, Any] = {
|
|
2102
2103
|
"coin_ids": [
|
|
2103
2104
|
"0x59710628755b6d7f7d0b5d84d5c980e7a1c52e55f5a43b531312402bd9045da7",
|
|
2104
2105
|
"0xd4a68c9dc42d625092c3e71a657cce469ae4180d1b0632256d2da8ffc0a9beca",
|
|
@@ -2117,11 +2118,11 @@ respond_coin_state_json: Dict[str, Any] = {
|
|
|
2117
2118
|
],
|
|
2118
2119
|
}
|
|
2119
2120
|
|
|
2120
|
-
reject_coin_state_json:
|
|
2121
|
+
reject_coin_state_json: dict[str, Any] = {"reason": 1}
|
|
2121
2122
|
|
|
2122
|
-
request_cost_info_json:
|
|
2123
|
+
request_cost_info_json: dict[str, Any] = {}
|
|
2123
2124
|
|
|
2124
|
-
respond_cost_info_json:
|
|
2125
|
+
respond_cost_info_json: dict[str, Any] = {
|
|
2125
2126
|
"max_transaction_cost": 100000,
|
|
2126
2127
|
"max_block_cost": 1000000,
|
|
2127
2128
|
"max_mempool_cost": 10000000,
|
|
@@ -2130,13 +2131,13 @@ respond_cost_info_json: Dict[str, Any] = {
|
|
|
2130
2131
|
"bump_fee_per_cost": 10,
|
|
2131
2132
|
}
|
|
2132
2133
|
|
|
2133
|
-
pool_difficulty_json:
|
|
2134
|
+
pool_difficulty_json: dict[str, Any] = {
|
|
2134
2135
|
"difficulty": 14819251421858580996,
|
|
2135
2136
|
"sub_slot_iters": 12852879676624401630,
|
|
2136
2137
|
"pool_contract_puzzle_hash": "0xc9423123ea65e6923e973b95531b4874570dae942cb757a2daec4a6971753886",
|
|
2137
2138
|
}
|
|
2138
2139
|
|
|
2139
|
-
harvester_handhsake_json:
|
|
2140
|
+
harvester_handhsake_json: dict[str, Any] = {
|
|
2140
2141
|
"farmer_public_keys": [
|
|
2141
2142
|
"0xa04c6b5ac7dfb935f6feecfdd72348ccf1d4be4fe7e26acf271ea3b7d308da61e0a308f7a62495328a81f5147b66634c"
|
|
2142
2143
|
],
|
|
@@ -2145,7 +2146,7 @@ harvester_handhsake_json: Dict[str, Any] = {
|
|
|
2145
2146
|
],
|
|
2146
2147
|
}
|
|
2147
2148
|
|
|
2148
|
-
new_signage_point_harvester_json:
|
|
2149
|
+
new_signage_point_harvester_json: dict[str, Any] = {
|
|
2149
2150
|
"challenge_hash": "0xe342c21b4aeaa52349d42492be934692db58494ca9bce4a8697d06fdf8e583bb",
|
|
2150
2151
|
"difficulty": 15615706268399948682,
|
|
2151
2152
|
"sub_slot_iters": 10520767421667792980,
|
|
@@ -2161,7 +2162,7 @@ new_signage_point_harvester_json: Dict[str, Any] = {
|
|
|
2161
2162
|
"filter_prefix_bits": 9,
|
|
2162
2163
|
}
|
|
2163
2164
|
|
|
2164
|
-
new_proof_of_space_json:
|
|
2165
|
+
new_proof_of_space_json: dict[str, Any] = {
|
|
2165
2166
|
"challenge_hash": "0x1b64ec6bf3fe33bb80eca5b64ff1c88be07771eaed1e98a7199510522087e56e",
|
|
2166
2167
|
"sp_hash": "0xad1f8a74376ce8c5c93b7fbb355c2fb6d689ae4f4a7134166593d95265a3da30",
|
|
2167
2168
|
"plot_identifier": "plot_1",
|
|
@@ -2179,7 +2180,7 @@ new_proof_of_space_json: Dict[str, Any] = {
|
|
|
2179
2180
|
"fee_info": {"applied_fee_threshold": 1337},
|
|
2180
2181
|
}
|
|
2181
2182
|
|
|
2182
|
-
request_signatures_json:
|
|
2183
|
+
request_signatures_json: dict[str, Any] = {
|
|
2183
2184
|
"plot_identifier": "plot_1",
|
|
2184
2185
|
"challenge_hash": "0xb5fa873020fa8b959d89bc2ffc5797501bf870ac8b30437cd6b4fcdea0812789",
|
|
2185
2186
|
"sp_hash": "0xbccb7744192771f3a7abca2bce6ea03ed53f1f0d991c13bd2711ce32a2fb3777",
|
|
@@ -2245,7 +2246,7 @@ request_signatures_json: Dict[str, Any] = {
|
|
|
2245
2246
|
},
|
|
2246
2247
|
}
|
|
2247
2248
|
|
|
2248
|
-
respond_signatures_json:
|
|
2249
|
+
respond_signatures_json: dict[str, Any] = {
|
|
2249
2250
|
"plot_identifier": "plot_1",
|
|
2250
2251
|
"challenge_hash": "0x59468dce63b5b08490ec4eec4c461fc84b69b6f80a64f4c76b0d55780f7e7e7a",
|
|
2251
2252
|
"sp_hash": "0x270b5fc00545db714077aba3b60245d769f492563f108a73b2b8502503d12b9e",
|
|
@@ -2261,7 +2262,7 @@ respond_signatures_json: Dict[str, Any] = {
|
|
|
2261
2262
|
"farmer_reward_address_override": "0xcb3ddb903f52818724bb3b32fd5310f5e8623697561930dca73cb9da5dd9349c",
|
|
2262
2263
|
}
|
|
2263
2264
|
|
|
2264
|
-
plot_json:
|
|
2265
|
+
plot_json: dict[str, Any] = {
|
|
2265
2266
|
"filename": "plot_1",
|
|
2266
2267
|
"size": 124,
|
|
2267
2268
|
"plot_id": "0xb2eb7e5c5239e8610a9dd0e137e185966ebb430faf31ae4a0e55d86251065b98",
|
|
@@ -2273,9 +2274,9 @@ plot_json: Dict[str, Any] = {
|
|
|
2273
2274
|
"compression_level": 0,
|
|
2274
2275
|
}
|
|
2275
2276
|
|
|
2276
|
-
request_plots_json:
|
|
2277
|
+
request_plots_json: dict[str, Any] = {}
|
|
2277
2278
|
|
|
2278
|
-
respond_plots_json:
|
|
2279
|
+
respond_plots_json: dict[str, Any] = {
|
|
2279
2280
|
"plots": [
|
|
2280
2281
|
{
|
|
2281
2282
|
"filename": "plot_1",
|
|
@@ -2293,20 +2294,20 @@ respond_plots_json: Dict[str, Any] = {
|
|
|
2293
2294
|
"no_key_filenames": ["str"],
|
|
2294
2295
|
}
|
|
2295
2296
|
|
|
2296
|
-
request_peers_introducer_json:
|
|
2297
|
+
request_peers_introducer_json: dict[str, Any] = {}
|
|
2297
2298
|
|
|
2298
|
-
respond_peers_introducer_json:
|
|
2299
|
+
respond_peers_introducer_json: dict[str, Any] = {
|
|
2299
2300
|
"peer_list": [{"host": "127.0.0.1", "port": 49878, "timestamp": 15079028934557257795}]
|
|
2300
2301
|
}
|
|
2301
2302
|
|
|
2302
|
-
authentication_payload_json:
|
|
2303
|
+
authentication_payload_json: dict[str, Any] = {
|
|
2303
2304
|
"method_name": "method",
|
|
2304
2305
|
"launcher_id": "0x0251e3b3a1aacc689091b6b085be7a8d319bd9d1a015faae969cb76d8a45607c",
|
|
2305
2306
|
"target_puzzle_hash": "0x9de241b508b5e9e2073b7645291cfaa9458d33935340399a861acf2ee1770440",
|
|
2306
2307
|
"authentication_token": 4676522834655707230,
|
|
2307
2308
|
}
|
|
2308
2309
|
|
|
2309
|
-
get_pool_info_response_json:
|
|
2310
|
+
get_pool_info_response_json: dict[str, Any] = {
|
|
2310
2311
|
"name": "pool_name",
|
|
2311
2312
|
"logo_url": "pool_name",
|
|
2312
2313
|
"minimum_difficulty": 7020711482626732214,
|
|
@@ -2318,7 +2319,7 @@ get_pool_info_response_json: Dict[str, Any] = {
|
|
|
2318
2319
|
"authentication_token_timeout": 76,
|
|
2319
2320
|
}
|
|
2320
2321
|
|
|
2321
|
-
post_partial_payload_json:
|
|
2322
|
+
post_partial_payload_json: dict[str, Any] = {
|
|
2322
2323
|
"launcher_id": "0xdada61e179e67e5e8bc7aaab16e192facf0f15871f0c479d2a96ac5f85721a1a",
|
|
2323
2324
|
"authentication_token": 2491521039628830788,
|
|
2324
2325
|
"proof_of_space": {
|
|
@@ -2334,7 +2335,7 @@ post_partial_payload_json: Dict[str, Any] = {
|
|
|
2334
2335
|
"harvester_id": "0xf98dff6bdcc3926b33cb8ab22e11bd15c13d6a9b6832ac948b3273f5ccd8e7ec",
|
|
2335
2336
|
}
|
|
2336
2337
|
|
|
2337
|
-
post_partial_request_json:
|
|
2338
|
+
post_partial_request_json: dict[str, Any] = {
|
|
2338
2339
|
"payload": {
|
|
2339
2340
|
"launcher_id": "0xdada61e179e67e5e8bc7aaab16e192facf0f15871f0c479d2a96ac5f85721a1a",
|
|
2340
2341
|
"authentication_token": 2491521039628830788,
|
|
@@ -2353,16 +2354,16 @@ post_partial_request_json: Dict[str, Any] = {
|
|
|
2353
2354
|
"aggregate_signature": "0xc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
2354
2355
|
}
|
|
2355
2356
|
|
|
2356
|
-
post_partial_response_json:
|
|
2357
|
+
post_partial_response_json: dict[str, Any] = {"new_difficulty": 5956480724816802941}
|
|
2357
2358
|
|
|
2358
|
-
get_farmer_response_json:
|
|
2359
|
+
get_farmer_response_json: dict[str, Any] = {
|
|
2359
2360
|
"authentication_public_key": "0xa04c6b5ac7dfb935f6feecfdd72348ccf1d4be4fe7e26acf271ea3b7d308da61e0a308f7a62495328a81f5147b66634c",
|
|
2360
2361
|
"payout_instructions": "instructions",
|
|
2361
2362
|
"current_difficulty": 8362834206591090467,
|
|
2362
2363
|
"current_points": 14310455844127802841,
|
|
2363
2364
|
}
|
|
2364
2365
|
|
|
2365
|
-
post_farmer_payload_json:
|
|
2366
|
+
post_farmer_payload_json: dict[str, Any] = {
|
|
2366
2367
|
"launcher_id": "0xd3785b251b4e066f87784d06afc8e6ac8dac5a4922d994902c1bad60b5fa7ad3",
|
|
2367
2368
|
"authentication_token": 5820795488800541986,
|
|
2368
2369
|
"authentication_public_key": "0xa04c6b5ac7dfb935f6feecfdd72348ccf1d4be4fe7e26acf271ea3b7d308da61e0a308f7a62495328a81f5147b66634c",
|
|
@@ -2370,7 +2371,7 @@ post_farmer_payload_json: Dict[str, Any] = {
|
|
|
2370
2371
|
"suggested_difficulty": 1996244065095983466,
|
|
2371
2372
|
}
|
|
2372
2373
|
|
|
2373
|
-
post_farmer_request_json:
|
|
2374
|
+
post_farmer_request_json: dict[str, Any] = {
|
|
2374
2375
|
"payload": {
|
|
2375
2376
|
"launcher_id": "0xd3785b251b4e066f87784d06afc8e6ac8dac5a4922d994902c1bad60b5fa7ad3",
|
|
2376
2377
|
"authentication_token": 5820795488800541986,
|
|
@@ -2381,9 +2382,9 @@ post_farmer_request_json: Dict[str, Any] = {
|
|
|
2381
2382
|
"signature": "0xc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
2382
2383
|
}
|
|
2383
2384
|
|
|
2384
|
-
post_farmer_response_json:
|
|
2385
|
+
post_farmer_response_json: dict[str, Any] = {"welcome_message": "welcome"}
|
|
2385
2386
|
|
|
2386
|
-
put_farmer_payload_json:
|
|
2387
|
+
put_farmer_payload_json: dict[str, Any] = {
|
|
2387
2388
|
"launcher_id": "0x78aec4d523b0bea49829a1322d5de92a86a553ce8774690b8c8ad5fc1f7540a8",
|
|
2388
2389
|
"authentication_token": 15049374353843709257,
|
|
2389
2390
|
"authentication_public_key": "0xa04c6b5ac7dfb935f6feecfdd72348ccf1d4be4fe7e26acf271ea3b7d308da61e0a308f7a62495328a81f5147b66634c",
|
|
@@ -2391,7 +2392,7 @@ put_farmer_payload_json: Dict[str, Any] = {
|
|
|
2391
2392
|
"suggested_difficulty": 201241879360854600,
|
|
2392
2393
|
}
|
|
2393
2394
|
|
|
2394
|
-
put_farmer_request_json:
|
|
2395
|
+
put_farmer_request_json: dict[str, Any] = {
|
|
2395
2396
|
"payload": {
|
|
2396
2397
|
"launcher_id": "0x78aec4d523b0bea49829a1322d5de92a86a553ce8774690b8c8ad5fc1f7540a8",
|
|
2397
2398
|
"authentication_token": 15049374353843709257,
|
|
@@ -2402,15 +2403,15 @@ put_farmer_request_json: Dict[str, Any] = {
|
|
|
2402
2403
|
"signature": "0xc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
2403
2404
|
}
|
|
2404
2405
|
|
|
2405
|
-
put_farmer_response_json:
|
|
2406
|
+
put_farmer_response_json: dict[str, Any] = {
|
|
2406
2407
|
"authentication_public_key": False,
|
|
2407
2408
|
"payout_instructions": False,
|
|
2408
2409
|
"suggested_difficulty": True,
|
|
2409
2410
|
}
|
|
2410
2411
|
|
|
2411
|
-
error_response_json:
|
|
2412
|
+
error_response_json: dict[str, Any] = {"error_code": 47018, "error_message": "err"}
|
|
2412
2413
|
|
|
2413
|
-
new_peak_timelord_json:
|
|
2414
|
+
new_peak_timelord_json: dict[str, Any] = {
|
|
2414
2415
|
"reward_chain_block": {
|
|
2415
2416
|
"weight": 187084448821891925757676377381787790114,
|
|
2416
2417
|
"height": 301889038,
|
|
@@ -2481,7 +2482,7 @@ new_peak_timelord_json: Dict[str, Any] = {
|
|
|
2481
2482
|
"passes_ses_height_but_not_yet_included": True,
|
|
2482
2483
|
}
|
|
2483
2484
|
|
|
2484
|
-
new_unfinished_block_timelord_json:
|
|
2485
|
+
new_unfinished_block_timelord_json: dict[str, Any] = {
|
|
2485
2486
|
"reward_chain_block": {
|
|
2486
2487
|
"total_iters": 147405131564197136044258885592706844266,
|
|
2487
2488
|
"signage_point_index": 9,
|
|
@@ -2540,7 +2541,7 @@ new_unfinished_block_timelord_json: Dict[str, Any] = {
|
|
|
2540
2541
|
"rc_prev": "0x0f90296b605904a794e4e98852e3b22e0d9bee2fa07abb12df6cecbdb778e1e5",
|
|
2541
2542
|
}
|
|
2542
2543
|
|
|
2543
|
-
new_infusion_point_vdf_json:
|
|
2544
|
+
new_infusion_point_vdf_json: dict[str, Any] = {
|
|
2544
2545
|
"unfinished_reward_hash": "0x3d3b977d3a3dab50f0cd72b74b2f08f5018fb5ef826a8773161b7a499dafa60f",
|
|
2545
2546
|
"challenge_chain_ip_vdf": {
|
|
2546
2547
|
"challenge": "0x7cbd5905838c1dc2becd00298a5b3a6e42b6a306d574c8897cd721f84d429972",
|
|
@@ -2580,7 +2581,7 @@ new_infusion_point_vdf_json: Dict[str, Any] = {
|
|
|
2580
2581
|
},
|
|
2581
2582
|
}
|
|
2582
2583
|
|
|
2583
|
-
new_signage_point_vdf_json:
|
|
2584
|
+
new_signage_point_vdf_json: dict[str, Any] = {
|
|
2584
2585
|
"index_from_challenge": 182,
|
|
2585
2586
|
"challenge_chain_sp_vdf": {
|
|
2586
2587
|
"challenge": "0x7cbd5905838c1dc2becd00298a5b3a6e42b6a306d574c8897cd721f84d429972",
|
|
@@ -2608,7 +2609,7 @@ new_signage_point_vdf_json: Dict[str, Any] = {
|
|
|
2608
2609
|
},
|
|
2609
2610
|
}
|
|
2610
2611
|
|
|
2611
|
-
new_end_of_sub_slot_bundle_json:
|
|
2612
|
+
new_end_of_sub_slot_bundle_json: dict[str, Any] = {
|
|
2612
2613
|
"end_of_sub_slot_bundle": {
|
|
2613
2614
|
"challenge_chain": {
|
|
2614
2615
|
"challenge_chain_end_of_slot_vdf": {
|
|
@@ -2664,7 +2665,7 @@ new_end_of_sub_slot_bundle_json: Dict[str, Any] = {
|
|
|
2664
2665
|
}
|
|
2665
2666
|
}
|
|
2666
2667
|
|
|
2667
|
-
request_compact_proof_of_time_json:
|
|
2668
|
+
request_compact_proof_of_time_json: dict[str, Any] = {
|
|
2668
2669
|
"new_proof_of_time": {
|
|
2669
2670
|
"challenge": "0x7cbd5905838c1dc2becd00298a5b3a6e42b6a306d574c8897cd721f84d429972",
|
|
2670
2671
|
"number_of_iterations": 14708638287767651172,
|
|
@@ -2677,7 +2678,7 @@ request_compact_proof_of_time_json: Dict[str, Any] = {
|
|
|
2677
2678
|
"field_vdf": 237,
|
|
2678
2679
|
}
|
|
2679
2680
|
|
|
2680
|
-
respond_compact_proof_of_time_json:
|
|
2681
|
+
respond_compact_proof_of_time_json: dict[str, Any] = {
|
|
2681
2682
|
"vdf_info": {
|
|
2682
2683
|
"challenge": "0x7cbd5905838c1dc2becd00298a5b3a6e42b6a306d574c8897cd721f84d429972",
|
|
2683
2684
|
"number_of_iterations": 14708638287767651172,
|
|
@@ -2695,6 +2696,6 @@ respond_compact_proof_of_time_json: Dict[str, Any] = {
|
|
|
2695
2696
|
"field_vdf": 224,
|
|
2696
2697
|
}
|
|
2697
2698
|
|
|
2698
|
-
error_without_data_json:
|
|
2699
|
+
error_without_data_json: dict[str, Any] = {"code": 1, "message": "Unknown", "data": None}
|
|
2699
2700
|
|
|
2700
|
-
error_with_data_json:
|
|
2701
|
+
error_with_data_json: dict[str, Any] = {"code": 1, "message": "Unknown", "data": "0x65787472612064617461"}
|