From 28f6c469b89e3b54261336c3233bb93ec62d8748 Mon Sep 17 00:00:00 2001 From: pauldelucia Date: Tue, 12 Aug 2025 12:14:59 +0700 Subject: [PATCH] feat: re-export common dashcore types through spv --- dash-spv/src/lib.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dash-spv/src/lib.rs b/dash-spv/src/lib.rs index 7afef57ea..d8da4f710 100644 --- a/dash-spv/src/lib.rs +++ b/dash-spv/src/lib.rs @@ -71,7 +71,10 @@ pub use wallet::{ }; // Re-export commonly used dashcore types -pub use dashcore::{Address, BlockHash, Network, OutPoint, ScriptBuf}; +pub use dashcore::{Address, BlockHash, Network, OutPoint, QuorumHash, ScriptBuf}; + +// Re-export hash trait +pub use dashcore::hashes::Hash; // Re-export MasternodeListEngine and related types pub use dashcore::sml::masternode_list_engine::{ @@ -79,6 +82,9 @@ pub use dashcore::sml::masternode_list_engine::{ MasternodeListEngineBlockContainer, }; +// Re-export LLMQ types +pub use dashcore::sml::llmq_type::LLMQType; + /// Current version of the dash-spv library. pub const VERSION: &str = env!("CARGO_PKG_VERSION");