From 47e6604524787f18e2b0804b7957015a3e8dfdc4 Mon Sep 17 00:00:00 2001 From: pankcuf Date: Fri, 10 Nov 2023 17:55:20 +0700 Subject: [PATCH 1/2] chore: disable debug, enhance log msg, disable java test generation --- Cargo.toml | 2 +- dash-spv-masternode-processor/Cargo.toml | 2 +- dash-spv-masternode-processor/src/processing/processor.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d10d1e67..cc945f3a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,4 +18,4 @@ keywords = ["crypto", "dash", "spv"] [profile.release] lto = "thin" opt-level = 3 -debug = true +#debug = true diff --git a/dash-spv-masternode-processor/Cargo.toml b/dash-spv-masternode-processor/Cargo.toml index f67a1811..24de490d 100644 --- a/dash-spv-masternode-processor/Cargo.toml +++ b/dash-spv-masternode-processor/Cargo.toml @@ -8,7 +8,7 @@ build = "build.rs" publish = false [features] -default = ["std", "secp-recovery", "generate-dashj-tests"] +default = ["std", "secp-recovery"] unstable = [] rand = ["secp256k1/rand-std"] secp-lowmemory = ["secp256k1/lowmemory"] diff --git a/dash-spv-masternode-processor/src/processing/processor.rs b/dash-spv-masternode-processor/src/processing/processor.rs index 9f2d4b3f..d82091eb 100644 --- a/dash-spv-masternode-processor/src/processing/processor.rs +++ b/dash-spv-masternode-processor/src/processing/processor.rs @@ -375,10 +375,10 @@ impl MasternodeProcessor { signatures.insert(llmq_hash_minus_8, signature.clone()); cache.cl_signatures.insert(llmq_hash_minus_8, signature.clone()); } else { - println!("unknown hash for {}", llmq_height - 8); + println!("WARN: unknown hash for {}", llmq_height - 8); } } else { - println!("unknown height for {}", quorum.llmq_hash); + println!("WARN: unknown height for {}", quorum.llmq_hash); } } if verification_context.should_validate_quorum_of_type(quorum.llmq_type, self.chain_type) { From 14ad2371cf0d39ff80bc7953ca31fbefc57de94b Mon Sep 17 00:00:00 2001 From: pankcuf Date: Fri, 10 Nov 2023 20:18:10 +0700 Subject: [PATCH 2/2] chore: bump up version 0.4.15 --- Cargo.lock | 4 ++-- DashSharedCore.podspec | 2 +- dash-spv-apple-bindings/Cargo.toml | 2 +- dash-spv-masternode-processor/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b579de43..78dbf1ef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -511,7 +511,7 @@ version = "0.1.0" [[package]] name = "dash-spv-masternode-processor" -version = "0.4.13" +version = "0.4.14" dependencies = [ "base64", "bip38", @@ -537,7 +537,7 @@ dependencies = [ [[package]] name = "dash_spv_apple_bindings" -version = "0.4.13" +version = "0.4.14" dependencies = [ "cbindgen 0.24.5", "dash-spv-masternode-processor", diff --git a/DashSharedCore.podspec b/DashSharedCore.podspec index 696ac3e3..a3db1e7e 100644 --- a/DashSharedCore.podspec +++ b/DashSharedCore.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'DashSharedCore' - s.version = '0.4.14' + s.version = '0.4.15' s.summary = 'Dash Core SPV written in Rust' s.author = 'Dash' s.description = "C-bindings for Dash Core SPV that can be used in projects for Apple platform" diff --git a/dash-spv-apple-bindings/Cargo.toml b/dash-spv-apple-bindings/Cargo.toml index d68f34a0..f795f52a 100644 --- a/dash-spv-apple-bindings/Cargo.toml +++ b/dash-spv-apple-bindings/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dash_spv_apple_bindings" -version = "0.4.14" +version = "0.4.15" description = "C-bindings for using and interoperating with Dash SPV" readme = "README.md" edition = "2021" diff --git a/dash-spv-masternode-processor/Cargo.toml b/dash-spv-masternode-processor/Cargo.toml index 24de490d..7554da0d 100644 --- a/dash-spv-masternode-processor/Cargo.toml +++ b/dash-spv-masternode-processor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dash-spv-masternode-processor" -version = "0.4.14" +version = "0.4.15" description = "Library for processing masternodes and quorums (SPV)" edition = "2021"