[package]
edition = "2021"
rust-version = "1.75.0"
name = "dig-block"
version = "0.1.0"
authors = ["DIG Network"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DIG L2 block format, production, and validation"
readme = "README.md"
keywords = [
"blockchain",
"l2",
"chia",
"clvm",
"dig",
]
categories = ["cryptography::cryptocurrencies"]
license = "MIT"
repository = "https://github.com/DIG-Network/dig-block"
[lib]
name = "dig_block"
path = "src/lib.rs"
[[test]]
name = "blk_005_protocol_constants"
path = "tests/test_protocol_constants.rs"
[[test]]
name = "blk_006_primitive_types"
path = "tests/test_primitive_types.rs"
[[test]]
name = "blk_001_l2_block_header_struct"
path = "tests/test_l2_block_header_struct.rs"
[[test]]
name = "blk_002_l2_block_header_constructors"
path = "tests/test_l2_block_header_constructors.rs"
[[test]]
name = "blk_007_version_auto_detection"
path = "tests/test_version_auto_detection.rs"
[[test]]
name = "blk_003_l2_block_struct"
path = "tests/test_l2_block_struct.rs"
[[test]]
name = "blk_004_l2_block_helpers"
path = "tests/test_l2_block_helpers.rs"
[[test]]
name = "att_003_block_status"
path = "tests/test_block_status.rs"
[[test]]
name = "att_004_signer_bitmap_core"
path = "tests/test_signer_bitmap_core.rs"
[[test]]
name = "att_005_signer_bitmap_merge"
path = "tests/test_signer_bitmap_merge.rs"
[[test]]
name = "att_001_attested_block_constructor"
path = "tests/test_attested_block_constructor.rs"
[[test]]
name = "att_002_attested_block_methods"
path = "tests/test_attested_block_methods.rs"
[[test]]
name = "rcp_001_receipt_status"
path = "tests/test_receipt_status.rs"
[[test]]
name = "rcp_002_receipt_struct"
path = "tests/test_receipt_struct.rs"
[[test]]
name = "rcp_003_receipt_list_methods"
path = "tests/test_receipt_list_methods.rs"
[[test]]
name = "rcp_004_receipt_list_aggregates"
path = "tests/test_receipt_list_aggregates.rs"
[[test]]
name = "ckp_003_checkpoint_status"
path = "tests/test_checkpoint_status.rs"
[[test]]
name = "ckp_001_checkpoint_struct"
path = "tests/test_checkpoint_struct.rs"
[[test]]
name = "ckp_002_checkpoint_submission_struct"
path = "tests/test_checkpoint_submission_struct.rs"
[[test]]
name = "ckp_004_checkpoint_score"
path = "tests/test_checkpoint_score.rs"
[[test]]
name = "ckp_005_checkpoint_submission_methods"
path = "tests/test_checkpoint_submission_methods.rs"
[[test]]
name = "ckp_006_checkpoint_builder"
path = "tests/test_checkpoint_builder.rs"
[[test]]
name = "err_001_block_error_structural"
path = "tests/test_block_error_structural.rs"
[[test]]
name = "err_002_block_error_execution_state"
path = "tests/test_block_error_execution_state.rs"
[[test]]
name = "err_003_checkpoint_error"
path = "tests/test_checkpoint_error.rs"
[[test]]
name = "err_004_builder_error"
path = "tests/test_builder_error.rs"
[[test]]
name = "err_005_signer_bitmap_error"
path = "tests/test_signer_bitmap_error.rs"
[[test]]
name = "err_005_receipt_error"
path = "tests/test_receipt_error.rs"
[[test]]
name = "hsh_007_tagged_merkle"
path = "tests/test_hsh_007_tagged_merkle.rs"
[[test]]
name = "hsh_001_block_header_hash"
path = "tests/test_hsh_001_block_header_hash.rs"
[[test]]
name = "hsh_002_checkpoint_hash"
path = "tests/test_hsh_002_checkpoint_hash.rs"
[[test]]
name = "hsh_003_spends_root"
path = "tests/test_hsh_003_spends_root.rs"
[[test]]
name = "hsh_004_additions_root"
path = "tests/test_hsh_004_additions_root.rs"
[[test]]
name = "hsh_005_removals_root"
path = "tests/test_hsh_005_removals_root.rs"
[[test]]
name = "hsh_006_filter_hash"
path = "tests/test_hsh_006_filter_hash.rs"
[[test]]
name = "hsh_008_receipts_root"
path = "tests/test_hsh_008_receipts_root.rs"
[[test]]
name = "svl_001_header_version_check"
path = "tests/test_svl_001_header_version_check.rs"
[[test]]
name = "svl_002_dfsp_root_pre_activation"
path = "tests/test_svl_002_dfsp_root_pre_activation.rs"
[[test]]
name = "svl_003_cost_and_size_checks"
path = "tests/test_svl_003_cost_and_size_checks.rs"
[[test]]
name = "svl_004_timestamp_future_bound"
path = "tests/test_svl_004_timestamp_future_bound.rs"
[[test]]
name = "svl_005_block_count_agreement"
path = "tests/test_svl_005_block_count_agreement.rs"
[[test]]
name = "svl_006_merkle_root_integrity"
path = "tests/test_svl_006_merkle_root_integrity.rs"
[[test]]
name = "bld_001_builder_struct_constructor"
path = "tests/test_bld_001_builder_struct_constructor.rs"
[[test]]
name = "bld_002_add_spend_bundle_budget"
path = "tests/test_bld_002_add_spend_bundle_budget.rs"
[[test]]
name = "bld_003_add_slash_proposal_limits"
path = "tests/test_bld_003_add_slash_proposal_limits.rs"
[[test]]
name = "bld_004_optional_setters"
path = "tests/test_bld_004_optional_setters.rs"
[[test]]
name = "bld_005_build_pipeline"
path = "tests/test_bld_005_build_pipeline.rs"
[[test]]
name = "bld_006_block_signer_integration"
path = "tests/test_bld_006_block_signer_integration.rs"
[[test]]
name = "bld_007_builder_validity_guarantee"
path = "tests/test_bld_007_builder_validity_guarantee.rs"
[[test]]
name = "ser_001_bincode_all_types"
path = "tests/test_ser_001_bincode_all_types.rs"
[[test]]
name = "ser_002_to_from_bytes"
path = "tests/test_ser_002_to_from_bytes.rs"
[[test]]
name = "ser_003_genesis_header"
path = "tests/test_ser_003_genesis_header.rs"
[[test]]
name = "ser_004_serde_defaults"
path = "tests/test_ser_004_serde_defaults.rs"
[[test]]
name = "ser_005_roundtrip_integrity"
path = "tests/test_ser_005_roundtrip_integrity.rs"
[[test]]
name = "exe_008_execution_result"
path = "tests/test_exe_008_execution_result.rs"
[[test]]
name = "exe_009_pending_assertion"
path = "tests/test_exe_009_pending_assertion.rs"
[[test]]
name = "exe_001_validate_execution_api"
path = "tests/test_exe_001_validate_execution_api.rs"
[[test]]
name = "exe_002_puzzle_hash_verification"
path = "tests/test_exe_002_puzzle_hash_verification.rs"
[[test]]
name = "exe_003_clvm_delegation"
path = "tests/test_exe_003_clvm_delegation.rs"
[[test]]
name = "exe_004_condition_parsing"
path = "tests/test_exe_004_condition_parsing.rs"
[[test]]
name = "exe_005_bls_delegation"
path = "tests/test_exe_005_bls_delegation.rs"
[[test]]
name = "exe_006_fee_consistency"
path = "tests/test_exe_006_fee_consistency.rs"
[[test]]
name = "exe_007_cost_consistency"
path = "tests/test_exe_007_cost_consistency.rs"
[[test]]
name = "stv_001_validate_state_api"
path = "tests/test_stv_001_validate_state_api.rs"
[[test]]
name = "stv_002_coin_existence"
path = "tests/test_stv_002_coin_existence.rs"
[[test]]
name = "stv_003_puzzle_hash_cross_check"
path = "tests/test_stv_003_puzzle_hash_cross_check.rs"
[[test]]
name = "stv_004_addition_uniqueness"
path = "tests/test_stv_004_addition_uniqueness.rs"
[[test]]
name = "stv_005_height_time_locks"
path = "tests/test_stv_005_height_time_locks.rs"
[[test]]
name = "stv_006_proposer_signature"
path = "tests/test_stv_006_proposer_signature.rs"
[[test]]
name = "stv_007_state_root"
path = "tests/test_stv_007_state_root.rs"
[[test]]
name = "str_001_cargo_dependencies"
path = "tests/test_str_001_cargo_dependencies.rs"
[[test]]
name = "str_002_module_hierarchy"
path = "tests/test_str_002_module_hierarchy.rs"
[[test]]
name = "str_003_public_reexports"
path = "tests/test_str_003_public_reexports.rs"
[[test]]
name = "str_004_coin_lookup_block_signer"
path = "tests/test_str_004_coin_lookup_block_signer.rs"
[[test]]
name = "str_005_test_infrastructure"
path = "tests/test_str_005_test_infrastructure.rs"
[[test]]
name = "public_api_smoke"
path = "tests/test_public_api_smoke.rs"
[dependencies.bincode]
version = "1"
[dependencies.bitcoin]
version = "0.32"
features = ["std"]
default-features = false
[dependencies.chia-bls]
version = "0.26"
[dependencies.chia-consensus]
version = "0.26"
[dependencies.chia-protocol]
version = "0.26"
[dependencies.chia-sdk-signer]
version = "0.30"
[dependencies.chia-sdk-types]
version = "0.30"
[dependencies.chia-sha2]
version = "0.26"
[dependencies.chia-traits]
version = "0.26"
[dependencies.chia_streamable_macro]
version = "0.26"
[dependencies.clvm-utils]
version = "0.26"
[dependencies.clvmr]
version = "0.14"
[dependencies.dig-clvm]
version = "0.1"
[dependencies.indexmap]
version = "2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dev-dependencies.bincode]
version = "1"
[dev-dependencies.bitcoin]
version = "0.32"
features = ["std"]
default-features = false
[dev-dependencies.chia-sha2]
version = "0.26"
[dev-dependencies.clvmr]
version = "0.14"
[dev-dependencies.hex]
version = "0.4.3"
[dev-dependencies.hex-literal]
version = "0.4"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"