Skip to content

Commit

Permalink
chore: Bump bls signatures 1.3.3 (#97)
Browse files Browse the repository at this point in the history
* chore: bump bls to 1.3.3

* chore: bump version to 4.0.18
  • Loading branch information
ogabrielides authored Oct 10, 2024
1 parent b424aa0 commit 7dda948
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 18 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion DashSharedCore.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'DashSharedCore'
s.version = '0.4.17'
s.version = '0.4.18'
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"
Expand Down
2 changes: 1 addition & 1 deletion dash-spv-apple-bindings/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dash_spv_apple_bindings"
version = "0.4.17"
version = "0.4.18"
description = "C-bindings for using and interoperating with Dash SPV"
readme = "README.md"
edition = "2021"
Expand Down
4 changes: 2 additions & 2 deletions dash-spv-masternode-processor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dash-spv-masternode-processor"
version = "0.4.16"
version = "0.4.18"
description = "Library for processing masternodes and quorums (SPV)"

edition = "2021"
Expand Down Expand Up @@ -29,7 +29,7 @@ bip38 = { git = "https://github.com/pankcuf/bip38", rev = "87abd21" }
bitcoin_hashes = { version = "0.11.0", default-features = false }
bitcoinconsensus = { version = "0.19.0-3", optional = true }
blake3 = "1.3.2"
bls-signatures = { git = "https://github.com/dashpay/bls-signatures", rev = "3ffa7fa2b62aecf3943c142508de4b7ec6005bb5", features = ["legacy", "bip32", "apple", "use_serde" ] }
bls-signatures = { git = "https://github.com/dashpay/bls-signatures", rev = "4e070243aed142bc458472f8807ab77527dd879a", features = ["legacy", "bip32", "apple", "use_serde" ] }
byte = "0.2"
core2 = { version = "0.4.0", optional = true, default-features = false }
dirs-next = "2.0.0"
Expand Down
2 changes: 0 additions & 2 deletions dash-spv-masternode-processor/src/bindings/keys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ use crate::processing::keys_cache::KeysCache;
use crate::types::opaque_key::{AsCStringPtr, AsOpaqueKey, OpaqueKey, KeyWithUniqueId, OpaqueKeys, OpaqueSerializedKeys};
use crate::util::address::address;
use crate::util::sec_vec::SecVec;
#[cfg(feature = "use_serde")]
use serde::{Deserialize, Deserializer, Serialize, Serializer};

/// Destroys
/// # Safety
Expand Down
5 changes: 1 addition & 4 deletions dash-spv-masternode-processor/src/keys/bls_key.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
use bls_signatures::bip32::{ChainCode, ExtendedPrivateKey, ExtendedPublicKey};
use bls_signatures::{BasicSchemeMPL, BlsError, G1Element, G2Element, LegacySchemeMPL, PrivateKey, Scheme};
use hashes::{Hash, hex::FromHex, sha256, sha256d, hex};
use hashes::hex::ToHex;
use hashes::{Hash, hex::FromHex, sha256, sha256d};
use crate::chain::{derivation::IIndexPath, ScriptMap};
use crate::consensus::Encodable;
use crate::crypto::{UInt256, UInt384, UInt768, byte_util::{AsBytes, BytesDecodable, Zeroable}, UInt160};
use crate::keys::{IKey, KeyKind, dip14::{IChildKeyDerivation, SignKey}};
use crate::keys::crypto_data::{CryptoData, DHKey};
use crate::models::OperatorPublicKey;
use crate::util::{base58, data_ops::hex_with_data, sec_vec::SecVec};
#[cfg(feature = "use_serde")]
use serde::{Deserialize, Deserializer, Serialize, Serializer};

#[derive(Clone, Debug, Default)]
pub struct BLSKey {
Expand Down
2 changes: 0 additions & 2 deletions dash-spv-masternode-processor/src/keys/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ use crate::crypto::{UInt256, UInt384, UInt768};
use crate::keys::{BLSKey, ECDSAKey, ED25519Key, IKey};
use crate::types::opaque_key::{AsOpaqueKey, OpaqueKey};
use crate::util::sec_vec::SecVec;
#[cfg(feature = "use_serde")]
use serde::{Deserialize, Deserializer, Serialize, Serializer};

#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq)]
Expand Down
2 changes: 0 additions & 2 deletions dash-spv-masternode-processor/src/tests/bindings/keys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ use crate::crypto::{UInt256, UInt384};
use crate::ffi::IndexPathData;
use crate::keys::KeyKind;
use crate::types::opaque_key::OpaqueKey;
#[cfg(feature = "use_serde")]
use serde::{Deserialize, Deserializer, Serialize, Serializer};

#[test]
fn test_keys() {
Expand Down

0 comments on commit 7dda948

Please sign in to comment.