Skip to content

Commit 699dc86

Browse files
Merge pull request #97 from dashpay/feat/mempool-bloom-filters-reexport
feat: re-export common dashcore types through spv
2 parents 23696ce + 28f6c46 commit 699dc86

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

dash-spv/src/lib.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,20 @@ pub use wallet::{
7171
};
7272

7373
// Re-export commonly used dashcore types
74-
pub use dashcore::{Address, BlockHash, Network, OutPoint, ScriptBuf};
74+
pub use dashcore::{Address, BlockHash, Network, OutPoint, QuorumHash, ScriptBuf};
75+
76+
// Re-export hash trait
77+
pub use dashcore::hashes::Hash;
7578

7679
// Re-export MasternodeListEngine and related types
7780
pub use dashcore::sml::masternode_list_engine::{
7881
MasternodeListEngine, MasternodeListEngineBTreeMapBlockContainer,
7982
MasternodeListEngineBlockContainer,
8083
};
8184

85+
// Re-export LLMQ types
86+
pub use dashcore::sml::llmq_type::LLMQType;
87+
8288
/// Current version of the dash-spv library.
8389
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
8490

0 commit comments

Comments
 (0)