From 0506248462921263a0248065c1e0e3a8edfc39e6 Mon Sep 17 00:00:00 2001 From: max143672 Date: Sun, 16 Jun 2024 14:46:17 +0300 Subject: [PATCH] introduce hf feature that enables txscript hf feature --- consensus/Cargo.toml | 1 + consensus/client/Cargo.toml | 1 + consensus/wasm/Cargo.toml | 1 + kaspad/Cargo.toml | 1 + mining/Cargo.toml | 3 +++ testing/integration/Cargo.toml | 1 + wallet/core/Cargo.toml | 1 + wallet/keys/Cargo.toml | 1 + 8 files changed, 10 insertions(+) diff --git a/consensus/Cargo.toml b/consensus/Cargo.toml index f151e404b4..2a623edf2d 100644 --- a/consensus/Cargo.toml +++ b/consensus/Cargo.toml @@ -61,3 +61,4 @@ harness = false [features] html_reports = [] devnet-prealloc = ["kaspa-consensus-core/devnet-prealloc"] +hf = ["kaspa-txscript/hf"] diff --git a/consensus/client/Cargo.toml b/consensus/client/Cargo.toml index 38cbed9a33..24d228f80b 100644 --- a/consensus/client/Cargo.toml +++ b/consensus/client/Cargo.toml @@ -11,6 +11,7 @@ repository.workspace = true [features] wasm32-sdk = [] wasm32-types = [] +hf = ["kaspa-txscript/hf"] [dependencies] kaspa-addresses.workspace = true diff --git a/consensus/wasm/Cargo.toml b/consensus/wasm/Cargo.toml index ea211f3f94..f3d92dd13f 100644 --- a/consensus/wasm/Cargo.toml +++ b/consensus/wasm/Cargo.toml @@ -12,6 +12,7 @@ repository.workspace = true [features] wasm32-sdk = [] wasm32-types = [] +hf = ["kaspa-txscript/hf"] [dependencies] kaspa-consensus-core.workspace = true diff --git a/kaspad/Cargo.toml b/kaspad/Cargo.toml index 9f3290a51c..8699ebb33f 100644 --- a/kaspad/Cargo.toml +++ b/kaspad/Cargo.toml @@ -60,3 +60,4 @@ serde_with = "3.7.0" [features] heap = ["dhat", "kaspa-alloc/heap"] devnet-prealloc = ["kaspa-consensus/devnet-prealloc"] +hf = ["kaspa-txscript/hf"] diff --git a/mining/Cargo.toml b/mining/Cargo.toml index facd45d6a4..a0db5619bf 100644 --- a/mining/Cargo.toml +++ b/mining/Cargo.toml @@ -38,3 +38,6 @@ secp256k1.workspace = true [[bench]] name = "bench" harness = false + +[features] +hf = ["kaspa-txscript/hf"] diff --git a/testing/integration/Cargo.toml b/testing/integration/Cargo.toml index 7d9dd99aff..284a38e49f 100644 --- a/testing/integration/Cargo.toml +++ b/testing/integration/Cargo.toml @@ -75,3 +75,4 @@ kaspa-txscript-errors.workspace = true heap = ["dhat"] html_reports = [] devnet-prealloc = ["kaspad/devnet-prealloc"] +hf = ["kaspa-txscript/hf"] diff --git a/wallet/core/Cargo.toml b/wallet/core/Cargo.toml index fb31afb310..f46ed3a2af 100644 --- a/wallet/core/Cargo.toml +++ b/wallet/core/Cargo.toml @@ -27,6 +27,7 @@ wasm32-sdk = [ ] default = ["wasm32-sdk"] # default = [] +hf = ["kaspa-txscript/hf"] [lib] crate-type = ["cdylib", "lib"] diff --git a/wallet/keys/Cargo.toml b/wallet/keys/Cargo.toml index 7300c1de57..062b1a575f 100644 --- a/wallet/keys/Cargo.toml +++ b/wallet/keys/Cargo.toml @@ -11,6 +11,7 @@ repository.workspace = true [features] default = [] +hf = ["kaspa-txscript/hf"] [lib] crate-type = ["cdylib", "lib"]